Commit Graph

37 Commits

Author SHA1 Message Date
marian 4741b54d0a Added constructor and method allowing to copy an XML element from/to a NamedList.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1944 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-24 08:30:42 +00:00
marian 4d75a65c54 Now a resource is updating its info list when built from an XML element.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1942 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-23 15:13:21 +00:00
marian 1a65279268 Now a resource may keep additional XML elements to be sent with presence.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1940 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-23 14:31:56 +00:00
marian 51256f0498 Fixed memory leak: getting a child from an XML element is creating a new object. Release it after use.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1936 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-21 11:18:17 +00:00
marian bf8608ca30 Remove jid from roster on server notification.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1934 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-18 11:59:48 +00:00
marian 5c9ec2d0f5 Fixed roster update received from server.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1933 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-18 11:32:48 +00:00
marian 0f86f74f85 Fixed remote resource removal when not broadcast.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1931 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 15:19:41 +00:00
marian faed8f2076 Fixed removal of remote user's resource when unavailable. Added debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1929 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 15:06:57 +00:00
marian ec07bec285 Avoid trying to connect while connecting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1928 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 15:05:43 +00:00
marian 01aae9e121 Now an user is removing an unavailable resource if no presence service.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1927 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 14:12:11 +00:00
marian 5fdd6d1d29 Changed the way client streams are created.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1926 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 14:08:22 +00:00
marian a010637ee1 Fixed jingle error response session id match.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1922 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 10:30:54 +00:00
marian 24bfe8625a Fixed bug: terminate session on timeout to notify the upper layer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1921 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 10:26:20 +00:00
marian 6ab41f28ac Changed the behaviour on stanza timeout: try to hangup before destroying the session.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1920 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 09:53:24 +00:00
marian 603359b279 Fixed iq result decoding.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1919 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 09:33:46 +00:00
marian 1b00fcf7f4 Fixed stream iq stanza decoding. Increased jingle stanza timeout. Changed debug and comments.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1918 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 09:24:04 +00:00
marian 6f3ba69cb3 Fixed comments.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1915 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-16 10:05:37 +00:00
marian 1f3f6803cd Added option to presence service to respond only if the destination user exists in roster.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1913 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-16 09:43:43 +00:00
marian 1209c0e81d Changed presence service's add probe/subscribe/presence options: they are now keeping incoming and outgoing flags used to automatically add users to roster.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1911 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-15 15:59:07 +00:00
marian c989ab343a Moved subscribe values from user to new class holding a mask of flags.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1910 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-15 14:58:42 +00:00
marian 62fae1d225 Set debug level only if the parameter is present.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1905 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-15 10:22:49 +00:00
marian 193e6c8bf9 Removed commented code.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1904 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-15 10:21:36 +00:00
marian 59e9a8f673 Look for server parameter when creating a client stream.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1900 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-14 13:11:58 +00:00
marian 2e63334faf Use jid's domain when creating client streams and destination address is missing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1899 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-14 10:56:32 +00:00
paulc 2a4e5d69f7 Added a proper method for changing the name of an identity.
Fixes random but relatively frequent crashes.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1885 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-09 20:29:48 +00:00
marian 89fd8d58c5 Avoid building socket data member with pointer to unconstructed stream.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1881 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-09 09:21:59 +00:00
marian 5dd19760f9 Avoid building base class with unconstructed pointer to derived class.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1880 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-09 09:09:45 +00:00
marian 20b2efae8a Implemented jabber client stream. Major library changes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1877 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-03 15:25:15 +00:00
marian bb20508be6 Removed stream cleanup stream. Now the engine is using an iterator to terminate all streams at cleanup.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1729 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-14 13:11:14 +00:00
marian c81b9884d2 Extended JID features. Use them when authenticating component streams.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1727 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-14 12:37:40 +00:00
marian f87630067c Removed client stream useless class. Added more stanza types and namespaces.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1726 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-14 11:52:26 +00:00
marian 426b955629 Changed jabber library layout. Specialized services can be attached to the engine to process specific stream events.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1721 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-12 13:54:29 +00:00
marian 25cb7002fc Fixed string length check when assigning to boolean to avoid compiler warning.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1687 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-28 13:20:26 +00:00
paulc 85a2f72b07 Silenced several benign warnings.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1600 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-08 13:05:34 +00:00
paulc 48089e74da Fixed comparation of JIDs regarding case sensitivity.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1546 acf43c95-373e-0410-b603-e72c3f656dc1
2007-12-13 20:49:17 +00:00
paulc b42a894ddc Directory reorder #3
git-svn-id: http://yate.null.ro/svn/yate/trunk@1476 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-15 23:06:36 +00:00
paulc bccee6022e Directory reorder #1
git-svn-id: http://yate.null.ro/svn/yate/trunk@1474 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-15 22:08:39 +00:00