Commit Graph

1538 Commits

Author SHA1 Message Date
marian 8036f128d3 Fixed driver lock without unlock bug in msg.execute handler.
git-svn-id: http://voip.null.ro/svn/yate@2983 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-14 15:10:35 +00:00
marian f83008379a Route presence stanzas with type error.
git-svn-id: http://voip.null.ro/svn/yate@2981 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-09 14:53:39 +00:00
marian fc0bbccc96 Use configuration section name as default debug name for a span.
git-svn-id: http://voip.null.ro/svn/yate@2977 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-03 11:25:10 +00:00
marian 15812c43a6 Add stream type prefix to stream name. Added account to client streams. A client stream can now be retrieved by account from the jabber client engine.
git-svn-id: http://voip.null.ro/svn/yate@2976 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-27 12:17:17 +00:00
marian b561088b3b Implemented 'online' operation in resource.notify handler.
git-svn-id: http://voip.null.ro/svn/yate@2975 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-27 10:01:04 +00:00
marian f0177d8650 Use local ip returned by 'jabber.account' message for RTP setup.
git-svn-id: http://voip.null.ro/svn/yate@2974 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-27 08:49:10 +00:00
marian 917bafa4a4 Add stream local ip when handling jabber.account messages.
git-svn-id: http://voip.null.ro/svn/yate@2973 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-27 08:47:43 +00:00
marian ff16bf8438 Add line/account to jabber.iq messages.
git-svn-id: http://voip.null.ro/svn/yate@2972 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-26 16:06:00 +00:00
marian 47ce975c68 Explicitely terminate the SSL socket.
git-svn-id: http://voip.null.ro/svn/yate@2970 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-26 15:22:38 +00:00
marian 256f06d80d Avoid adding empty name attribute to roster items. Fixed some comments.
git-svn-id: http://voip.null.ro/svn/yate@2967 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-26 13:35:55 +00:00
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
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
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
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
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 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
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
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 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 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
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 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
paulc 5864092eea Actually return the built iq message.
git-svn-id: http://voip.null.ro/svn/yate@2902 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-07 11:52:14 +00:00
marian bdb2bd4ec3 Fixed message parameter name. Add iq namespace to message only for set/get type.
git-svn-id: http://voip.null.ro/svn/yate@2900 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-05 15:40:49 +00:00
marian 73b051b6f5 Route iq stanzas. Implemented chat message handler. Implemented account contact/instance query.
git-svn-id: http://voip.null.ro/svn/yate@2899 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-05 15:39:12 +00:00
marian 49d7c524c4 Added line (account) to jingle session and connection. Fixed jingle channel stanza send. Request resource caps when making an outgoing call.
git-svn-id: http://voip.null.ro/svn/yate@2898 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-05 15:25:33 +00:00
paulc b2239bb8d9 Added next=... and drop=... timer modifiers to fork separators.
git-svn-id: http://voip.null.ro/svn/yate@2896 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-04 17:14:56 +00:00
marian c3612224e9 Fixed protocol check in user.login handler.
git-svn-id: http://voip.null.ro/svn/yate@2894 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-04 15:55:04 +00:00
marian a5a3672ead Added external component support to jabber server.
git-svn-id: http://voip.null.ro/svn/yate@2893 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-04 14:29:28 +00:00
marian d6fceae1dc Fixed mutex lock.
git-svn-id: http://voip.null.ro/svn/yate@2892 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-04 13:52:25 +00:00
marian 9a3703f078 Fixed xdebug compile error.
git-svn-id: http://voip.null.ro/svn/yate@2891 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-04 09:17:44 +00:00
paulc 37213c7aac Removed qualifier from some OpenSSL calls that are sometimes macros.
git-svn-id: http://voip.null.ro/svn/yate@2888 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-03 12:39:28 +00:00
paulc 1c6e7c9a7c Added support for T.38 fax terminal.
Added UDPTL transport in libyrtp and RTP channel.


git-svn-id: http://voip.null.ro/svn/yate@2885 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-03 10:49:12 +00:00
marian 76c182e440 Implemented jabber server. Changed jingle channel to support the new jabber library. Replaced tinyxml with yate own XML library. Added openssl support for server. Work in progress in jabber client support.
git-svn-id: http://voip.null.ro/svn/yate@2882 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-02 16:05:39 +00:00
paulc 36696c0105 Added module that counts calls per user specified cathegory, usually context.
git-svn-id: http://voip.null.ro/svn/yate@2875 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-28 16:59:25 +00:00
paulc 84b7cefe3d Emit call.update only when the SIP dialog tags have changed.
Avoids flooding the system with useless call.update and call.cdr messages.


git-svn-id: http://voip.null.ro/svn/yate@2874 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-21 14:10:47 +00:00
paulc 3624562f55 Added an extra parameter to SDPSession::updateFormats() allowing it to add or remove media.
Use the SDPSession::updateFormats() method in SIP instead of reimplementing it.


git-svn-id: http://voip.null.ro/svn/yate@2873 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-20 22:54:56 +00:00
paulc f1db0be716 Handling of user.register and call.cdr can be disabled in the clustering module.
Usefull while reverting a clustered server to standalone operation.


git-svn-id: http://voip.null.ro/svn/yate@2871 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-20 15:04:28 +00:00
paulc 67a48e6e55 Handle more error codes of gateway generated DLCX.
Try to delete all connections on the endpoint if there are insufficient resources, the error may be caused by having an old connection open.


git-svn-id: http://voip.null.ro/svn/yate@2869 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-16 16:52:16 +00:00
paulc 6620daff86 Chain the debugging of the SIP engine to the SIP channels plugin.
git-svn-id: http://voip.null.ro/svn/yate@2867 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-16 12:04:32 +00:00
paulc b11b08b097 Convert RTP telephone-event 36 (CNG) to a call.fax message, indicate detection method.
git-svn-id: http://voip.null.ro/svn/yate@2866 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-05 14:50:37 +00:00
paulc c229b73948 It is possible to configure --with-spandsp=static to avoid runtime version trouble.
git-svn-id: http://voip.null.ro/svn/yate@2865 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-05 10:36:37 +00:00
paulc c9b481c5ba Support for newer versions of spandsp with separate RX and TX pages stats.
git-svn-id: http://voip.null.ro/svn/yate@2864 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-05 08:53:43 +00:00
paulc b2a0f337d4 Accept some spandsp versions older than 0.0.6, provide wrappers around incompatible member access methods.
git-svn-id: http://voip.null.ro/svn/yate@2861 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-02 13:13:45 +00:00
paulc cc722c33d0 Added format info for G.729/G.729A.
Wavefile module can play or record raw G.729 files with extension .g729


git-svn-id: http://voip.null.ro/svn/yate@2856 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-23 15:07:50 +00:00
paulc 2371fd409d Mark the RTP session invalid on reception of a termination request.
This allows connected sources to detach early.


git-svn-id: http://voip.null.ro/svn/yate@2855 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-23 14:53:54 +00:00
paulc 3569826129 Unlock the session mutex while attempting to push the data to the session user.
git-svn-id: http://voip.null.ro/svn/yate@2851 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-22 11:57:04 +00:00
marian c7780f1165 Always reset I/O blocking on listener and accepted sockets. Added more debug.
git-svn-id: http://voip.null.ro/svn/yate@2847 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-21 12:41:01 +00:00
paulc f9e2c83d85 Fixed the way the SIP transaction answer code is returned to xsip.generate, it wasn't dealing well with timeouts.
While waiting for the arbitrary transaction to finish call Thread::idle() instead of yield().


git-svn-id: http://voip.null.ro/svn/yate@2845 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-18 11:17:50 +00:00
paulc e02915eeff Moved all code in the Cisco SM module to an anonymous namespace where it belongs.
git-svn-id: http://voip.null.ro/svn/yate@2844 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-18 10:36:41 +00:00
paulc 95738f5dbf Explicitely join all reflector components to the RTPGroup.
git-svn-id: http://voip.null.ro/svn/yate@2843 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-16 11:06:17 +00:00
paulc 90f8e2e022 Added a RTP reflector (dumb proxy) that can be used with SDP forwarding to implement a codec transparent SIP ALG.
git-svn-id: http://voip.null.ro/svn/yate@2842 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-15 16:14:28 +00:00
paulc 60cf47186b Detect and report malformed function calls that caused a forever loop.
git-svn-id: http://voip.null.ro/svn/yate@2841 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-15 14:18:23 +00:00
paulc fd3ef5f616 Removed superfluous warning when the RTP module receives an unmatched termination message.
git-svn-id: http://voip.null.ro/svn/yate@2840 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-14 19:05:28 +00:00
paulc 657c2fef63 Dispatch a chan.rtp with terminate=true when a SIP media is removed or replaced.
Added several channel parameters to the chan.rtp message.


git-svn-id: http://voip.null.ro/svn/yate@2839 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-14 18:52:53 +00:00
paulc 8e4d850d42 Added default RTP payloads for MPEG media types.
git-svn-id: http://voip.null.ro/svn/yate@2838 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-14 18:49:04 +00:00
paulc 2d0f41a0e4 Added parameter to ThreadedSource::looping() so it can keep running while it has consumers.
Fixed behavior of wave and tone "override" and "replace" methods.


git-svn-id: http://voip.null.ro/svn/yate@2835 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-14 11:02:27 +00:00
paulc 257e026bb3 Display consumer construction and destruction when compiled for debugging.
git-svn-id: http://voip.null.ro/svn/yate@2834 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-14 10:43:26 +00:00
paulc cea5f52b61 Provide the entire SDPMedia to the mediaChanged() mthod, not only the name of the media.
Add the "rtpid" parameter to the chan.rtp message if the media id() is available.


git-svn-id: http://voip.null.ro/svn/yate@2832 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-14 09:06:16 +00:00
paulc 402b2f7a03 Call the ThreadedSource::cleanup() from reimplemented method in descendants.
Spaced and moved together the class methods in source code (aestethic).


git-svn-id: http://voip.null.ro/svn/yate@2829 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-08 13:19:22 +00:00
paulc 2ebf04b2a3 The worker thread of ThreadedSource now keeps it referenced.
New methods of DataEndpoint, CallEndpoint and ThreadedSource allow easier handling of concurrent operations.
Modules using ThreadedSource were modified to use the new API.


git-svn-id: http://voip.null.ro/svn/yate@2827 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-07 23:49:12 +00:00
paulc e03add590b Key ^O provides handy cycling of output and debug modes in rmanager.
git-svn-id: http://voip.null.ro/svn/yate@2826 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-07 22:15:42 +00:00
paulc 58ea5179a6 Print the count of forcibly finalized records before doing it as it may take a long time to complete.
git-svn-id: http://voip.null.ro/svn/yate@2825 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-07 21:22:33 +00:00
paulc 6857c9b34b Use the newly added SIPDialog methods.
Identify the dialogs RFC 3261 style (only by Call-ID, From-tag, To-tag) ignoring the From-URI and To-URI.


git-svn-id: http://voip.null.ro/svn/yate@2824 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-06 15:00:22 +00:00
oana e6dbb33d71 MySQL connection pool implemented per database account. The "database" message parameter "results" has changed its meaning. For this, please check documentation.
git-svn-id: http://voip.null.ro/svn/yate@2821 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-03 14:58:57 +00:00
paulc 555f945213 Fixed a few bugs introduced by Rev. 2805: Clear the data endpoints when the transport info changes, use the proper default audio formats when none specified.
git-svn-id: http://voip.null.ro/svn/yate@2818 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-01 15:18:21 +00:00
paulc c04525cc9a Merge the parent provided parameters to the config file section.
Display parameters used to create the SLT if compiled in DEBUG mode.


git-svn-id: http://voip.null.ro/svn/yate@2813 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-31 14:44:39 +00:00
paulc 37059faf58 Added configuration parameter "autostart" so MTP2, MTP3 and Cisco SLT may be inhibited at startup.
Fixed the way Cisco SLT notifies the MTP3 about alignment status changes.


git-svn-id: http://voip.null.ro/svn/yate@2810 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-26 15:58:50 +00:00
andrei 6e28715dea Used Socket::invalidHandle() in tdm device constructor
git-svn-id: http://voip.null.ro/svn/yate@2809 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-26 10:45:38 +00:00
andrei e2bfb1efaf Fixed bug: close tdm device when destroyed. Use Socket::invalidHandle() for invalid device handle. Changed debug.
git-svn-id: http://voip.null.ro/svn/yate@2808 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-26 09:35:32 +00:00
paulc aaa1c2048d Use the new SDP library in SIP and MGCP.
The PSTN channel can negotiate RTP forwarding if the circuits are terminated on a MGCP gateway.


git-svn-id: http://voip.null.ro/svn/yate@2805 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-24 12:09:34 +00:00
paulc d6a1a30987 Create and populate the call.preroute message in the call constructor, use saved message to start routing.
git-svn-id: http://voip.null.ro/svn/yate@2800 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-20 14:25:24 +00:00
paulc 6c2f3f9fd4 Copy the packet data and append extra zeros for CRC before sending to Zaptel.
Altering a const buffer is a serious violation of the calling convention.


git-svn-id: http://voip.null.ro/svn/yate@2799 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-20 12:40:58 +00:00
paulc ff4e000005 Once a thread was started for an external module let it do the destruction in its cleanup, only unuse() if thread failed to start.
Bug report and solution by Allan.


git-svn-id: http://voip.null.ro/svn/yate@2797 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-19 13:55:22 +00:00
paulc 97313228d6 Added parameter "queuetime" for the CDR builder to know how long a call waited in a queue.
All calls in a queue can be dropped by specifying queuename/* as id.
A call to a "single" type queue is dropped when its operator call fails.


git-svn-id: http://voip.null.ro/svn/yate@2795 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-18 14:55:25 +00:00
paulc aeba470ab8 Fixed the way the remote MTP2 is disconnected.
git-svn-id: http://voip.null.ro/svn/yate@2794 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-14 18:15:04 +00:00
paulc 492bf3ac57 Added new setting "prerouteall" to bypass context and caller check.
Documented the other global settings in section [priorities].


git-svn-id: http://voip.null.ro/svn/yate@2793 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-14 16:27:46 +00:00
paulc 645a72b5d7 Process a 2xx answer to a forked SIP call after changing the disalog tag to match.
git-svn-id: http://voip.null.ro/svn/yate@2792 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-14 12:52:40 +00:00
paulc e2c68cb573 Copy the "maxlen" and "notify" parameters to the conference recording call leg.
git-svn-id: http://voip.null.ro/svn/yate@2789 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-13 11:57:24 +00:00
paulc 07daf0aa54 In the outbound SIP call legs put the generated Call-ID in chan.startup to be available for CDR building.
git-svn-id: http://voip.null.ro/svn/yate@2788 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-13 11:39:44 +00:00
paulc 71f34fd5cf Added code and setting to prevent rebuilding the RTP when only the remote port has changed in the SDP offer.
This can prevent a neverending sequence of reINVITEs, each end trying to adjust to the changes of the other.


git-svn-id: http://voip.null.ro/svn/yate@2786 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-12 15:18:36 +00:00
paulc 4e9abe5c08 Remember the WaveConsumer that must be disconnected, remove it from the proper consumer, call record or peer record.
git-svn-id: http://voip.null.ro/svn/yate@2785 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-12 14:09:32 +00:00
paulc 764fcf62c2 The rmanager control message can have an arbitrary number of parameters.
git-svn-id: http://voip.null.ro/svn/yate@2782 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-11 14:29:07 +00:00