Commit Graph

3039 Commits

Author SHA1 Message Date
marian eb21e10663 Implemented resource.notify, resource.subscribe and user.roster handlers. Handle chat message delay child.
git-svn-id: http://voip.null.ro/svn/yate@2966 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-26 09:45:22 +00:00
paulc a13a89b4de Copy by default some parameters from call.execute to chan.startup of outgoing calls.
git-svn-id: http://voip.null.ro/svn/yate@2965 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-25 18:36:34 +00:00
paulc 6a433cfe25 Copy by default some parameters from call.execute to chan.startup of outgoing calls.
git-svn-id: http://voip.null.ro/svn/yate@2964 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-25 18:34:54 +00:00
oana e48d12b378 Skip SRV resolving on platforms that don't support it.
git-svn-id: http://voip.null.ro/svn/yate@2963 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-25 15:04:46 +00:00
paulc ca6466add2 Explicitely include arpa/nameser.h needed for *BSD.
git-svn-id: http://voip.null.ro/svn/yate@2962 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-25 14:25:50 +00:00
marian 5eba85c23f Fixed bug: don't try to update again when adding a new contact on subscription approval.
git-svn-id: http://voip.null.ro/svn/yate@2961 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-24 16:52:29 +00:00
marian 749b71764f Don't reset stream flags when updating from engine domain list. Added debug when stream flags change.
git-svn-id: http://voip.null.ro/svn/yate@2960 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-23 09:54:16 +00:00
marian ba971d995d Set default message stanza type to 'chat'.
git-svn-id: http://voip.null.ro/svn/yate@2959 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-23 09:52:16 +00:00
paulc 61481d6310 Allow Q931::IdentifiedChannelNonExistent starting with 1.15.6 (Mimas Patch 2).
git-svn-id: http://voip.null.ro/svn/yate@2957 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-19 15:35:20 +00:00
paulc 05a1e6fbb7 Ignore Q931 cause IdentifiedChannelNonExistent in OpenH323 versions older than 1.18.0 where it was not defined.
git-svn-id: http://voip.null.ro/svn/yate@2956 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-19 15:31:36 +00:00
marian f470999b27 Fixed offline messages delivering bug.
git-svn-id: http://voip.null.ro/svn/yate@2955 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-19 08:07:42 +00:00
paulc 0589439edf Added regexroute function to retrieve Engine runtime parameters.
Better error checking before assuming a regexroute variable is requested.


git-svn-id: http://voip.null.ro/svn/yate@2953 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-18 13:20:52 +00:00
paulc 6a2f995663 Properly handle binary operators if one or both operands are empty strings.
git-svn-id: http://voip.null.ro/svn/yate@2952 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-18 12:56:56 +00:00
marian 6b852b52b1 Added extra query used to fully update a contact (including subscription). Check user existence before updating the roster.
git-svn-id: http://voip.null.ro/svn/yate@2951 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-17 11:29:03 +00:00
marian 4151517eeb Print element attributes on the same line with tag.
git-svn-id: http://voip.null.ro/svn/yate@2950 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-17 08:28:46 +00:00
marian 929f79d534 Fixed ILBC payload name in rtpmap.
git-svn-id: http://voip.null.ro/svn/yate@2949 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-16 13:35:54 +00:00
paulc 403425fd81 Support for multiple rmanager listeners, each with its own settings.
Support for SSL encrypted connections (needs the openssl module).
Example of connecting with SSL activated: telnet-ssl -z ssl 10.0.0.1 5038


git-svn-id: http://voip.null.ro/svn/yate@2948 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-14 14:38:57 +00:00
paulc 1f6771971e Added setting to override the Qt style.
git-svn-id: http://voip.null.ro/svn/yate@2946 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-13 13:12:07 +00:00
marian 090fe41f26 Don't use idle timer for c2s streams.
git-svn-id: http://voip.null.ro/svn/yate@2945 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-13 12:56:05 +00:00
marian 098ba03ebc Added local/remote ip to stream detail status.
git-svn-id: http://voip.null.ro/svn/yate@2944 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-13 12:31:43 +00:00
marian aa0b6ec97d Implemented c2s non sasl authentication. Added listener for direct c2s SSL connections. Restrict client resources with the same name while authenticating using non sasl.
git-svn-id: http://voip.null.ro/svn/yate@2943 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-13 11:36:05 +00:00
paulc 5e64836656 Fixed a bug introduced in Rev. 2935 - in Windows HANDLE and SOCKET are different.
git-svn-id: http://voip.null.ro/svn/yate@2941 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-13 10:44:28 +00:00
paulc a6c98d7dbc Lock the connection list while checking if the rmanager module is busy.
git-svn-id: http://voip.null.ro/svn/yate@2938 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-12 15:03:10 +00:00
paulc 4bdb65c58c Added ability to authenticate even observer only (non-admin) connections.
Added initial timeout for non-authenticated connections, default 30s.


git-svn-id: http://voip.null.ro/svn/yate@2937 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-12 15:00:24 +00:00
paulc 1e71d664fa Fixed a bug causing incorrect result and potential crashes if a socket was terminated while in select().
git-svn-id: http://voip.null.ro/svn/yate@2935 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-12 14:49:18 +00:00
paulc c623a43b70 Fixed a missing parameter in Lock2::lock() spotted by Allan. Thanks!
git-svn-id: http://voip.null.ro/svn/yate@2933 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-11 20:37:27 +00:00
marian 25b2b8e357 Added resource to jid when sending user.unregister.
git-svn-id: http://voip.null.ro/svn/yate@2932 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-11 16:11:48 +00:00
marian fc6ed47490 Removed incorrect roster check when routing iq stanzas.
git-svn-id: http://voip.null.ro/svn/yate@2931 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-11 14:21:17 +00:00
paulc 359d49bed3 Set the "peerid" parameter in a conference "joined" notification.
git-svn-id: http://voip.null.ro/svn/yate@2929 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-11 13:52:14 +00:00
marian 1105b643ee Create a new user when requested and database query succedded. Handle user add notifications when users are loaded on startup.
git-svn-id: http://voip.null.ro/svn/yate@2928 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-11 13:47:44 +00:00
marian 576dec0fa4 Save entity caps file in user config path when in client mode. Process entity caps responses.
git-svn-id: http://voip.null.ro/svn/yate@2927 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-11 13:46:04 +00:00
paulc efc87639bb Allow reversing the pbxassist channel ID matching condition.
git-svn-id: http://voip.null.ro/svn/yate@2925 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-11 13:36:25 +00:00
marian dbc0c175ce Pop only completed child elements.
git-svn-id: http://voip.null.ro/svn/yate@2924 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-11 13:00:09 +00:00
paulc d079caaae2 Made Yate 3 build in Visual Studio, fixed some bugs discovered by the VC++ compiler.
git-svn-id: http://voip.null.ro/svn/yate@2923 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-10 18:44:44 +00:00
marian 117095ed2f Fixed xml debug string build.
git-svn-id: http://voip.null.ro/svn/yate@2922 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-10 16:17:42 +00:00
marian 92d1978bc3 Updated configuration.
git-svn-id: http://voip.null.ro/svn/yate@2921 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-10 15:56:07 +00:00
marian 1e454436f9 Add server items to serviced domains (allow s2s streams on behalf of them).
git-svn-id: http://voip.null.ro/svn/yate@2920 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-10 15:55:09 +00:00
marian b7cb726623 Removed server parameter from GTalk section.
git-svn-id: http://voip.null.ro/svn/yate@2919 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-10 15:43:57 +00:00
marian 6fa880cebb Added configurable option used to handle (un)subscribe requests and send presence. Fixed responses to disco info requests.
git-svn-id: http://voip.null.ro/svn/yate@2918 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-10 15:31:44 +00:00
marian 353032803b Added error flag used to avoid stream re-connect when terminated with error and have nothing to send. Fixed stream idle timer usage.
git-svn-id: http://voip.null.ro/svn/yate@2917 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-10 15:27:47 +00:00
paulc 494e0db1fb Fixed ISDN PRI circuit allocation bugs introduced by Rev. 2505 (BRI support).
git-svn-id: http://voip.null.ro/svn/yate@2913 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 21:38:16 +00:00
paulc 648b6900a1 Added some extra messages related to circuit allocation when compiled for debugging.
git-svn-id: http://voip.null.ro/svn/yate@2912 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 21:35:50 +00:00
paulc d390d2ff89 Added SVN and CVS ignores.
git-svn-id: http://voip.null.ro/svn/yate@2911 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 19:06:12 +00:00
paulc 3d9e8de177 Disambiguated a pair of if ... else.
git-svn-id: http://voip.null.ro/svn/yate@2910 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 19:05:44 +00:00
paulc 86bd3dd397 Fixed a doxygen comment.
git-svn-id: http://voip.null.ro/svn/yate@2909 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 19:02:31 +00:00
paulc 751a073c4d By default ignore ABORT and OVERRUN error bits as they likely are not related to current packet.
Report error bits only if they change.


git-svn-id: http://voip.null.ro/svn/yate@2908 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 18:59:56 +00:00
marian 8a20b79a24 The subscription module can now load all user rosters at startup.
git-svn-id: http://voip.null.ro/svn/yate@2907 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 14:16:04 +00:00
marian 39e58ed722 Removed user.(un)register message handlers.
git-svn-id: http://voip.null.ro/svn/yate@2906 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 14:07:43 +00:00
marian 2b326634dc The number of jabber server stanza workers is now configurable.
git-svn-id: http://voip.null.ro/svn/yate@2905 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 14:01:47 +00:00
marian 93c9fb5d62 Removed duplicate namespace value check (incorrect).
git-svn-id: http://voip.null.ro/svn/yate@2904 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 13:12:40 +00:00