Commit Graph

52 Commits

Author SHA1 Message Date
marian ebf33b5d3b 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://voip.null.ro/svn/yate@2017 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-05 15:33:51 +00:00
marian d0b390f184 Destroy the stream when receiving invalid stream xml elements in non Running state
git-svn-id: http://voip.null.ro/svn/yate@2010 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-03 19:06:17 +00:00
marian cfc2fa07e9 Add support to send/receive multiple DTMFs in the same stanza.
git-svn-id: http://voip.null.ro/svn/yate@2007 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-03 15:15:54 +00:00
paulc bbc0dbea91 Add configure time LDFLAGS to linker command line.
git-svn-id: http://voip.null.ro/svn/yate@2006 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-03 10:59:16 +00:00
marian cdfe313a1e Added method to get an XML element from a NamedPointer parameter.
git-svn-id: http://voip.null.ro/svn/yate@2001 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-29 14:27:28 +00:00
marian deae641a3a Changed stream default flags.
git-svn-id: http://voip.null.ro/svn/yate@1991 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-22 22:55:16 +00:00
marian 0d3d4aa509 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://voip.null.ro/svn/yate@1983 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-14 08:03:05 +00:00
marian 4579b0b773 JBStream::streamMutex() is now public.
git-svn-id: http://voip.null.ro/svn/yate@1972 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-05 11:26:29 +00:00
marian 9656993cd8 Added method to get a client stream's resource.
git-svn-id: http://voip.null.ro/svn/yate@1971 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-05 11:13:50 +00:00
marian dfffe1c6f8 Fixed bug: XMPPUser is now checking if its owner has a presence engine before calling its method.
git-svn-id: http://voip.null.ro/svn/yate@1969 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-05 08:32:54 +00:00
marian ec9a8a8e28 Changed debug.
git-svn-id: http://voip.null.ro/svn/yate@1963 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-30 15:29:31 +00:00
marian 60ca5caaf5 Added more debug.
git-svn-id: http://voip.null.ro/svn/yate@1960 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-30 12:59:51 +00:00
marian 41b3f6f4b5 Fixed termination reason when failed to send keep alive.
git-svn-id: http://voip.null.ro/svn/yate@1959 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-30 08:10:40 +00:00
marian bd1ee329be Removed useless define.
git-svn-id: http://voip.null.ro/svn/yate@1958 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-30 08:10:10 +00:00
marian 1a40a0f830 Added stream setup and idle running timeout timers.
git-svn-id: http://voip.null.ro/svn/yate@1950 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-24 13:08:55 +00:00
marian 40ee629193 Added constructor and method allowing to copy an XML element from/to a NamedList.
git-svn-id: http://voip.null.ro/svn/yate@1944 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-24 08:30:42 +00:00
marian 4cdd745ffc Now a resource is updating its info list when built from an XML element.
git-svn-id: http://voip.null.ro/svn/yate@1942 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-23 15:13:21 +00:00
marian 29c8863963 Now a resource may keep additional XML elements to be sent with presence.
git-svn-id: http://voip.null.ro/svn/yate@1940 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-23 14:31:56 +00:00
marian 320fa3c354 Fixed memory leak: getting a child from an XML element is creating a new object. Release it after use.
git-svn-id: http://voip.null.ro/svn/yate@1936 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-21 11:18:17 +00:00
marian 2c9dc9e45a Remove jid from roster on server notification.
git-svn-id: http://voip.null.ro/svn/yate@1934 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-18 11:59:48 +00:00
marian ab43c050da Fixed roster update received from server.
git-svn-id: http://voip.null.ro/svn/yate@1933 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-18 11:32:48 +00:00
marian 465d6f06e4 Fixed remote resource removal when not broadcast.
git-svn-id: http://voip.null.ro/svn/yate@1931 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 15:19:41 +00:00
marian 4559a352e5 Fixed removal of remote user's resource when unavailable. Added debug.
git-svn-id: http://voip.null.ro/svn/yate@1929 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 15:06:57 +00:00
marian 54cffe6562 Avoid trying to connect while connecting.
git-svn-id: http://voip.null.ro/svn/yate@1928 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 15:05:43 +00:00
marian ffbe38de30 Now an user is removing an unavailable resource if no presence service.
git-svn-id: http://voip.null.ro/svn/yate@1927 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 14:12:11 +00:00
marian c49f05253a Changed the way client streams are created.
git-svn-id: http://voip.null.ro/svn/yate@1926 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 14:08:22 +00:00
marian db8cbcd49b Fixed jingle error response session id match.
git-svn-id: http://voip.null.ro/svn/yate@1922 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 10:30:54 +00:00
marian 46fd825b72 Fixed bug: terminate session on timeout to notify the upper layer.
git-svn-id: http://voip.null.ro/svn/yate@1921 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 10:26:20 +00:00
marian 72ce092311 Changed the behaviour on stanza timeout: try to hangup before destroying the session.
git-svn-id: http://voip.null.ro/svn/yate@1920 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 09:53:24 +00:00
marian 31c3555b96 Fixed iq result decoding.
git-svn-id: http://voip.null.ro/svn/yate@1919 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 09:33:46 +00:00
marian dec2c17711 Fixed stream iq stanza decoding. Increased jingle stanza timeout. Changed debug and comments.
git-svn-id: http://voip.null.ro/svn/yate@1918 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 09:24:04 +00:00
marian b5261056ed Fixed comments.
git-svn-id: http://voip.null.ro/svn/yate@1915 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-16 10:05:37 +00:00
marian c2fa94d8c4 Added option to presence service to respond only if the destination user exists in roster.
git-svn-id: http://voip.null.ro/svn/yate@1913 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-16 09:43:43 +00:00
marian 9b297af22c 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://voip.null.ro/svn/yate@1911 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-15 15:59:07 +00:00
marian ea74e1f020 Moved subscribe values from user to new class holding a mask of flags.
git-svn-id: http://voip.null.ro/svn/yate@1910 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-15 14:58:42 +00:00
marian da60bd5e3b Set debug level only if the parameter is present.
git-svn-id: http://voip.null.ro/svn/yate@1905 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-15 10:22:49 +00:00
marian 7851ef7fed Removed commented code.
git-svn-id: http://voip.null.ro/svn/yate@1904 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-15 10:21:36 +00:00
marian 1c8b437efb Look for server parameter when creating a client stream.
git-svn-id: http://voip.null.ro/svn/yate@1900 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-14 13:11:58 +00:00
marian e35d659aee Use jid's domain when creating client streams and destination address is missing.
git-svn-id: http://voip.null.ro/svn/yate@1899 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-14 10:56:32 +00:00
paulc b11438d1a7 Added a proper method for changing the name of an identity.
Fixes random but relatively frequent crashes.


git-svn-id: http://voip.null.ro/svn/yate@1885 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-09 20:29:48 +00:00
marian d203fc5194 Avoid building socket data member with pointer to unconstructed stream.
git-svn-id: http://voip.null.ro/svn/yate@1881 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-09 09:21:59 +00:00
marian 51fc0796c9 Avoid building base class with unconstructed pointer to derived class.
git-svn-id: http://voip.null.ro/svn/yate@1880 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-09 09:09:45 +00:00
marian 51a04f91ff Implemented jabber client stream. Major library changes.
git-svn-id: http://voip.null.ro/svn/yate@1877 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-03 15:25:15 +00:00
marian 1133f1238e Removed stream cleanup stream. Now the engine is using an iterator to terminate all streams at cleanup.
git-svn-id: http://voip.null.ro/svn/yate@1729 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-14 13:11:14 +00:00
marian 436d32bb5f Extended JID features. Use them when authenticating component streams.
git-svn-id: http://voip.null.ro/svn/yate@1727 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-14 12:37:40 +00:00
marian ad0b0306cb Removed client stream useless class. Added more stanza types and namespaces.
git-svn-id: http://voip.null.ro/svn/yate@1726 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-14 11:52:26 +00:00
marian f2553f398d Changed jabber library layout. Specialized services can be attached to the engine to process specific stream events.
git-svn-id: http://voip.null.ro/svn/yate@1721 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-12 13:54:29 +00:00
marian 74ec2ef63b Fixed string length check when assigning to boolean to avoid compiler warning.
git-svn-id: http://voip.null.ro/svn/yate@1687 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-28 13:20:26 +00:00
paulc 7ee435cefb Silenced several benign warnings.
git-svn-id: http://voip.null.ro/svn/yate@1600 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-08 13:05:34 +00:00
paulc 50dfcf3919 Fixed comparation of JIDs regarding case sensitivity.
git-svn-id: http://voip.null.ro/svn/yate@1546 acf43c95-373e-0410-b603-e72c3f656dc1
2007-12-13 20:49:17 +00:00