Commit Graph

108 Commits

Author SHA1 Message Date
marian 527b3892c4 Fixed error response element construction. Add received element's children, not the element itself.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2189 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-08 16:14:12 +00:00
marian 2bd1c8d20a Added methods to remove children from XML elements.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2188 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-08 16:12:13 +00:00
marian 79b86051ae Jingle session: added option for stanza senders to receive result notification (timeout, write failure, etc). Fixed error stanza detection in stream.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2184 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-08 12:54:19 +00:00
marian b7492f7bc1 Added in-band account creation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2159 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-15 07:32:40 +00:00
marian 0d7ea28700 Client stream is now updating its roster when receiving presence from another instances of the same user.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2071 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-16 09:07:28 +00:00
marian 1aa91d209f The user roster is now keeping a list of resources to be filled when receiving presence from its own jid.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2070 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-16 09:06:30 +00:00
marian bd12132380 Fixed bug that was preventing other streams to process data if the first stream in list didn't return an event.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2017 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-05 15:33:51 +00:00
marian 69ac256a13 Destroy the stream when receiving invalid stream xml elements in non Running state
git-svn-id: http://yate.null.ro/svn/yate/trunk@2010 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-03 19:06:17 +00:00
marian c80a496516 Add support to send/receive multiple DTMFs in the same stanza.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2007 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-03 15:15:54 +00:00
paulc 14bf8a5cd3 Add configure time LDFLAGS to linker command line.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2006 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-03 10:59:16 +00:00
marian 6dfd791e14 Added method to get an XML element from a NamedPointer parameter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2001 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-29 14:27:28 +00:00
marian 72c0865adf Changed stream default flags.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1991 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-22 22:55:16 +00:00
marian 8522317c39 Fixed bug: delay xml element release when decoding a jingle jabber event until transport and/or media are retrieved from it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1983 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-14 08:03:05 +00:00
marian 659f46cf47 JBStream::streamMutex() is now public.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1972 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-05 11:26:29 +00:00
marian 36715005b3 Added method to get a client stream's resource.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1971 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-05 11:13:50 +00:00
marian 88f4f968e6 Fixed bug: XMPPUser is now checking if its owner has a presence engine before calling its method.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1969 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-05 08:32:54 +00:00
marian 7c72aa9d94 Changed debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1963 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-30 15:29:31 +00:00
marian 1513e7ef79 Added more debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1960 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-30 12:59:51 +00:00
marian c332d11f19 Fixed termination reason when failed to send keep alive.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1959 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-30 08:10:40 +00:00
marian a3766a4612 Removed useless define.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1958 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-30 08:10:10 +00:00
marian 35b3ceebd1 Added stream setup and idle running timeout timers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1950 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-24 13:08:55 +00:00
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