Commit Graph

108 Commits

Author SHA1 Message Date
paulc efab81c1f2 Accept session type "reject" for terminating Jingle version 0 sessions.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2769 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-24 11:38:42 +00:00
paulc 1546f9fbf7 Made XMPP stream terminate if the host address could not be resolved.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2768 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-24 11:07:23 +00:00
paulc ebd41dfaec Use the platform idle time in various sleeps in SIP and Jabber.
Fixed a compiler warning about the copy constructor of Mutex and 
Semaphore.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2763 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-22 15:41:28 +00:00
paulc 5499650213 Changed thread names to be uniform and easily readable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2733 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 14:48:26 +00:00
paulc ddcb309e01 Two more warning fixes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2725 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 11:28:25 +00:00
paulc 65fa4adbd4 Fixed warnings and a few minor bugs when compiling on a different architecture.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2724 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 11:19:20 +00:00
marian 2f76d754bf Keep the stream alive while connecting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2708 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-13 18:47:20 +00:00
marian 73937c8588 Don't resolve the remote domain in constructor: avoid blocking the thread creating the stream. Don't try to connect if failed to resolve the remote domain.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2707 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-13 18:46:00 +00:00
paulc ca829d943a Made some dangerous constructors explicit, fix potential problems exposed by this.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2705 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-12 15:15:36 +00:00
marian 647859a94a Fixed bug: avoid calling tinyxml's SetAttribute() with NULL char pointer parameter(s) (leads to crash).
git-svn-id: http://yate.null.ro/svn/yate/trunk@2687 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-04 16:26:01 +00:00
paulc 6ad1605ad6 Reserve $LIBS and @LIBS@ for the system libraries that can be passed to
the configure script.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2678 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 19:17:54 +00:00
paulc 2c03a9624d Use the system detected CFLAGS instead of hardcoding -O2
git-svn-id: http://yate.null.ro/svn/yate/trunk@2673 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 16:06:14 +00:00
paulc c069997056 Link the libraries using the C++ linker so it properly links against libstdc++ and compiler support.
Not required on ELF systems as libyate.so would pull in the required libraries but was confusing and could cause problems on other platforms.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2667 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-31 18:58:25 +00:00
marian cf5d0b1168 Implemented old jingle protocol support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2666 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-31 15:22:08 +00:00
marian ebb5c68092 Added base abstract class for jingle sessions.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2662 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-29 08:39:33 +00:00
marian 3ba3376068 The client stream is now allowing disco info/items responses to be received by the upper layer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2656 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-28 07:28:11 +00:00
marian 525634921b Added jabber:iq:private namespace.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2647 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-22 13:23:58 +00:00
marian 3389395dae From now on the stanza_timeout value is expected to be given in milliseconds.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2631 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-19 12:57:20 +00:00
marian a1573f9bb7 Implemented jingle session ping (check session existence at remote party).
git-svn-id: http://yate.null.ro/svn/yate/trunk@2630 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-19 12:27:39 +00:00
paulc 2c3d47c29c Added mutex names to most Yate libraries.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2612 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-05 12:37:55 +00:00
marian f9f7a3ab86 Fixed conversion of an XML element to an output string.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2503 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-02 16:30:43 +00:00
marian 4223b1e0f7 The resource list is now keeping its items ordered by their priority (higher priority first).
git-svn-id: http://yate.null.ro/svn/yate/trunk@2501 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-02 09:44:05 +00:00
marian 4a7b118ede Added more features to be advertised in disco info.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2487 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-19 08:33:23 +00:00
marian 3ffd31c62d Added RTP audio namespace.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2486 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-19 08:31:50 +00:00
marian 040b082afe Fixed bug: set base when converting date/time to avoid failure when date/time components start with 0.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2459 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-30 08:15:09 +00:00
marian 71b8ea2e62 Fixed bug: avoid keeping extra stream reference for incoming sessions.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2440 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-15 14:38:11 +00:00
marian f517fbb4ea Added jingle file transfer support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2417 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-09 14:32:48 +00:00
paulc c1fc35e3ee Fixed several documentation generating comments.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2405 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-19 14:37:19 +00:00
marian 6cc79b8ba9 Changed comments. Removed old, not used, session-transfer check.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2395 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-05 14:21:21 +00:00
marian cbefcfd39a Added utility method used to build a vcard xml element.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2390 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-03 14:11:01 +00:00
paulc 70331e9efe Build and use dynamic versions of MGCP and Jingle libraries.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2389 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-03 13:51:52 +00:00
marian 6a28081b7e Implemented the new Jingle specifications.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2382 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-01 00:37:18 +00:00
marian 9a185e6bfe Fixed stanza id check when sending info.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2340 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-13 13:16:38 +00:00
marian 8abdfb94af The jingle session is now handling transfer and rtp session info stanzas. The channel is handling ringing and deny transfer/hold/active/mute requests.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2332 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-12 10:54:49 +00:00
marian b995f7dedb Fixed jingle session negotiation. Added reason to terminate stanza. The module can now handle presence broadcast when the component is keeping the roster. Additional presence stanza can now be added to presence command.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2330 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-12 09:33:17 +00:00
marian aa4336fbcd Implemented getObject() for JBStream descendants.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2324 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-11 08:53:02 +00:00
marian 0817977dd4 A message stanza can now have a arbitrary type. Added feature list to resource.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2323 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-11 08:51:26 +00:00
marian cf065ff976 Added XML element type enums.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2322 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-11 08:44:45 +00:00
marian cf5e394c24 JID feature list can now be built from received stanza. Added some namespace enums.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2321 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-11 08:41:03 +00:00
marian ba4ff6c39a Now the stream setup timeout can be configured. Changed its default value.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2282 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-22 14:11:52 +00:00
marian 842aac15db Reset setup timer only when state is Running. Destroy the stream if setup timer expired.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2281 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-22 13:46:31 +00:00
marian 1a95c86897 Create a client session when requested by server. Ignore presence from the same resource.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2279 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-22 12:46:45 +00:00
marian 528ad83535 Fixed incorrect implementation of SASL MD5 authentication.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2278 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-22 11:10:20 +00:00
marian f0ea3aeb91 Drop mutex lock before resolving the domain when connecting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2276 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-21 14:43:02 +00:00
marian 795dfd6905 Roster's user list is now public.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2275 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-21 14:41:44 +00:00
marian 9d3e59590a Added priority data to resource object.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2238 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-23 12:33:06 +00:00
marian c7d2605904 Destroy client stream if authentication fails.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2235 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-22 08:08:05 +00:00
marian d62bd94d37 Show buffer content or info in parser error debug message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2234 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-22 07:13:32 +00:00
marian d3ef8225fa Use 'to' and 'from' attribute also to match a session for received elements.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2194 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-10 15:09:23 +00:00
marian 52e6b8ccaf Removed Pending state check for incoming sessions. Removed useless check when a sent stanza failed to be written to stream.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2191 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-08 16:36:49 +00:00