Commit Graph

1936 Commits

Author SHA1 Message Date
paulc 6d73b5fb25 Fixes for building in FreeBSD.
git-svn-id: http://voip.null.ro/svn/yate@1946 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-24 10:10:01 +00:00
marian 3b98b21430 Client: copy parameters from received presence to resource.notify message.
git-svn-id: http://voip.null.ro/svn/yate@1945 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-24 08:34:06 +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
paulc 5b1af73590 Added DTMF detection method to chan.dtmf messages.
git-svn-id: http://voip.null.ro/svn/yate@1943 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-23 22:50:20 +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 e5be881699 Added capability to build and send additional XML children from resource.notify message.
git-svn-id: http://voip.null.ro/svn/yate@1941 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-23 14:36:36 +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
paulc 01fc9de725 Disallow installing relays at priority zero.
git-svn-id: http://voip.null.ro/svn/yate@1939 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-23 12:54:20 +00:00
paulc 82b2b6b2aa Preserve media (RTP) sessions across reINVITEs if remote offer is unchanged.
git-svn-id: http://voip.null.ro/svn/yate@1938 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-22 17:33:48 +00:00
paulc 434c27c41d Preserve the local IP address, always set it in returning message.
git-svn-id: http://voip.null.ro/svn/yate@1937 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-22 17:21:35 +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
paulc 3eb094f436 Arbitrary SDP parameters are kept and forwarded with media info.
git-svn-id: http://voip.null.ro/svn/yate@1935 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-18 14:31: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
paulc d3ded7ff48 Added "info" subcommand to show more info about running externals.
Added command line completion for command and subcommands.


git-svn-id: http://voip.null.ro/svn/yate@1932 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 20:21:01 +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
paulc faf0d00054 Made debug messages a little more verbose and uniformized display order.
git-svn-id: http://voip.null.ro/svn/yate@1930 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 15:18:54 +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 195c98c1a3 Implemented inherited msgDrop() method.
git-svn-id: http://voip.null.ro/svn/yate@1925 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 12:43:00 +00:00
marian 9a7b732aae Use TelEngine::destruct() instead of deref().
git-svn-id: http://voip.null.ro/svn/yate@1924 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 10:44:36 +00:00
marian 1953d86ec6 Fixed resource notify/subscribe handlers: make sure we have a presence service before using it.
git-svn-id: http://voip.null.ro/svn/yate@1923 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 10:41:23 +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
paulc b24c34c97c Fixed bug in retriving RTP payload mappings from Yate message.
git-svn-id: http://voip.null.ro/svn/yate@1917 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-16 20:16:35 +00:00
marian 0a8b79176c Return false from resource notify/subscribe handlers if not processed.
git-svn-id: http://voip.null.ro/svn/yate@1916 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-16 10:34:55 +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 001c65b039 Don'r respond to subscribe requests if should ignore non-existent users.
git-svn-id: http://voip.null.ro/svn/yate@1914 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-16 09:58:05 +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
paulc b0fe7dd820 Removed extra "room" parameter from notification messages.
git-svn-id: http://voip.null.ro/svn/yate@1912 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-15 23:00:35 +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
paulc 33d8902565 Added possibility to specify call drop reason.
git-svn-id: http://voip.null.ro/svn/yate@1909 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-15 14:16:59 +00:00
paulc 62335f1e00 Forward call drop reason to the local call leg.
git-svn-id: http://voip.null.ro/svn/yate@1908 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-15 14:16:27 +00:00
paulc c0e116d5eb SIP headers can be controlled in provisional or final answers.
git-svn-id: http://voip.null.ro/svn/yate@1907 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-15 12:56:52 +00:00
paulc da21fd8bf7 Added call.update handler so CDR stored variables can be updated.
git-svn-id: http://voip.null.ro/svn/yate@1906 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-15 11:47:50 +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
paulc 93bee0350f Put the remote address in the RTP request when local is not known or set.
git-svn-id: http://voip.null.ro/svn/yate@1903 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-15 09:15:02 +00:00
marian f25eb8b4aa Look for a resource name when processing resource.notify.
git-svn-id: http://voip.null.ro/svn/yate@1902 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-14 14:47:15 +00:00
marian ac6dc5cde3 Added signalling call pointer to debug message.
git-svn-id: http://voip.null.ro/svn/yate@1901 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-14 14:12:46 +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
marian 255ae379cc Set outgoing call timeout from call.execute message.
git-svn-id: http://voip.null.ro/svn/yate@1898 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-14 09:59:31 +00:00
paulc 2fb90309a6 Apply the "timeout" parameter if available.
git-svn-id: http://voip.null.ro/svn/yate@1897 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-14 09:40:48 +00:00