Commit Graph

495 Commits

Author SHA1 Message Date
oana 5a1837a521 Fixed checking if a engine.status module is indeed intended for that module. Fixed bug: don't print for a second time the status message for IAX module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4221 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-28 12:40:44 +00:00
paulc edf28bc0c7 Sanitize the custom SIP cause codes, must be >= 300.
Allow altering the SIP code in the chan.disconnected message.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4195 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-18 14:03:42 +00:00
paulc 5278f71b7f Leave the tel: URIs untouched when sent on an outbound SIP call.
Also don't add sip: in front of sip:number URIs (we turned to sip:sip:number).


git-svn-id: http://yate.null.ro/svn/yate/trunk@4194 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-18 13:14:36 +00:00
paulc c9a2c40f32 Moved the post-disconnect hooking code from ysigchan to the Channel class.
Added capability of sending arbitrary SIP headers on call disconnect.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4193 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-17 20:57:34 +00:00
paulc 6a09c86bad Added flags that control how SIP message components are automatically completed.
These flags can be configured per engine and can be overridden in some messages by setting an "xsip_flags" parameter.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4161 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-07 13:50:59 +00:00
paulc 11e1b27e83 Added capability to set response code and additional parameters when redirecting a SIP call as UAS.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4149 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-02 16:58:22 +00:00
paulc 3c724527a4 Copy SIP headers and decode ISUP (SIP-T/SIP-I) body to disconnect parameters.
Parameters are put in local chan.hangup and peer's chan.disconnected messages.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4142 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-01 16:08:52 +00:00
paulc 0ff37e944c Translate between SIP Remote-Party-ID fields "party" and "id-type" and Yate parameters "remote_party" and "remote_id_type".
git-svn-id: http://yate.null.ro/svn/yate/trunk@4083 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-28 13:53:30 +00:00
paulc 7c4801873f Automatically copy disconnect parameters to the chan.hangup message.
Provide those parameters to the peer call endpoint when disconnecting it.
Add numeric cause_q931 to disconnect params of h323chan.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4052 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-21 10:21:01 +00:00
oana 8fc205bb13 Changed the format of the accounts, links and interfaces status reported through engine.status. Added accountUsername OID. Modified the monitoring module to deal with the status change and the need to handle the accountUsername OID information.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3938 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-09 14:30:47 +00:00
oana cda9ed670f Added SNMP support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3776 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-03 16:27:30 +00:00
paulc 7b3500fa58 Added thread priority setting for the SIP module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3753 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-25 13:13:35 +00:00
paulc b36f9c8848 Made several Regexps static const so they are compiled only once, speeds up processing.
One instance spotted by Allan Sandfeld Jensen, others by grep.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3389 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-17 11:08:00 +00:00
paulc f84dfdba95 Check the line before using it to alter the domain.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3245 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-26 21:30:28 +00:00
paulc 8ccfc1641c Added support for detecting the domain of incoming SIP requests, gets copied to the generic "domain" parameter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3242 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-26 13:38:03 +00:00
paulc 551731cd33 Allow setting the outbound SIP proxy as host:port
git-svn-id: http://yate.null.ro/svn/yate/trunk@3209 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-19 13:25:08 +00:00
paulc aaeed9c8be Emit a BYE only if we have a SIP dialog - either early or established.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3175 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-08 22:49:58 +00:00
paulc 8145b0fe96 Store initially guessed local address, re-register only if it changed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3172 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-07 11:27:30 +00:00
paulc ebaec41257 Lock the module while accessing or changing SIP dialog information.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3125 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-12 16:25:37 +00:00
paulc 6e3c0407d0 Copy RTP stats in SIP to the CDR and to BYE or 200 message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3106 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-03 19:05:01 +00:00
paulc ccdfe0c691 Preserve the Call-ID across REGISTER messages in a single login session.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3096 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-23 18:22:59 +00:00
paulc b6885511ef Add the REGISTER request URI and Call-ID to the user.(un)register messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3063 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-02 23:59:54 +00:00
paulc 6eeb68bb1a Added Channel::initChan() method to add the channel to the driver explicitely, after the object is fully constructed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3033 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-26 10:31:32 +00:00
paulc 5cde9ef2be Automatically reset the maxcall timer when entering "answered" status.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2991 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-18 19:08:41 +00:00
paulc 05fa7aca7c Copy by default some parameters from call.execute to chan.startup of outgoing calls.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2964 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-25 18:34:54 +00:00
paulc b0c8da2dc0 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://yate.null.ro/svn/yate/trunk@2874 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-21 14:10:47 +00:00
paulc 75b98358a7 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://yate.null.ro/svn/yate/trunk@2873 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-20 22:54:56 +00:00
paulc ea0b4867a7 Chain the debugging of the SIP engine to the SIP channels plugin.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2867 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-16 12:04:32 +00:00
paulc aa143b4e34 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://yate.null.ro/svn/yate/trunk@2845 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-18 11:17:50 +00:00
paulc d2418f656d 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://yate.null.ro/svn/yate/trunk@2839 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-14 18:52:53 +00:00
paulc 381bb557b6 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://yate.null.ro/svn/yate/trunk@2832 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-14 09:06:16 +00:00
paulc 4f0c854312 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://yate.null.ro/svn/yate/trunk@2824 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-06 15:00:22 +00:00
paulc 22cf311a50 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://yate.null.ro/svn/yate/trunk@2818 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-01 15:18:21 +00:00
paulc 063f155ef1 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://yate.null.ro/svn/yate/trunk@2805 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-24 12:09:34 +00:00
paulc 88543f0ef0 Process a 2xx answer to a forked SIP call after changing the disalog tag to match.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2792 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-14 12:52:40 +00:00
paulc 8020ea08ab In the outbound SIP call legs put the generated Call-ID in chan.startup to be available for CDR building.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2788 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-13 11:39:44 +00:00
paulc e9aafe7511 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://yate.null.ro/svn/yate/trunk@2786 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-12 15:18:36 +00:00
paulc ebd41dfaec Use the platform idle time in various sleeps in SIP and Jabber.
Fixed a compiler warning about the copy constructor of Mutex and 
Semaphore.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2763 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-22 15:41:28 +00:00
paulc aae55c9a65 Obey expires interval enforced by the SIP registrar.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2749 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-07 10:29:32 +00:00
paulc 70445d56b6 New parameter "rtp_localip" overrides configured local RTP address for outbound SIP call legs.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2740 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-26 15:33:22 +00:00
paulc 5499650213 Changed thread names to be uniform and easily readable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2733 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 14:48:26 +00:00
paulc 65fa4adbd4 Fixed warnings and a few minor bugs when compiling on a different architecture.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2724 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 11:19:20 +00:00
paulc 6c62be3718 Fixed filtering of SDP parameters in case of using RTP forward.
The local RTP case was fixed in Rev. 2606.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2654 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-27 14:34:35 +00:00
paulc a5ba174c12 Add the sip: protocol on outgoing calls if none is specified.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2648 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-22 18:15:48 +00:00
paulc 207ce16736 Deal better with SIP transaction timeouts, map 408 to "noconn" but add raw cause code to disconnect() and chan.hangup message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2621 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-10 11:50:00 +00:00
paulc 419bbb3123 Fixed parsing of non-RTP transports in SDP as those don't use payload codes or format maps.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2606 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-30 12:32:39 +00:00
paulc ff612b95d4 If an early RTP start is requested but media list is unknown build a best guess.
Patch by Peter Olsson - support for 3Com NBX PBX.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2604 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-29 22:07:44 +00:00
paulc c9cdebef36 Support for RFC 4568 (SRTP security descriptors in SIP/SDP).
git-svn-id: http://yate.null.ro/svn/yate/trunk@2557 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-01 20:16:36 +00:00
paulc 5d0ad3e90b Support for RFC 3323 SIP Privacy header in addition to Remote-Party-ID.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2555 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-31 20:23:46 +00:00
paulc 57ca222b94 Made generation of outgoing INVITE Diversion header more flexible.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2553 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-30 10:29:29 +00:00
paulc 9417c5bc30 Added an explicit boolean redirect parameter to simplify detecting a redirection or diversion.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2551 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-29 18:37:32 +00:00
paulc f1fbe9d358 Handle the Diversion header and its most important parameters.
If a 3xx answer is received copy the relevant info in the chan.disconnected message so the redirect can be followed.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2550 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-29 18:20:41 +00:00
marian b6cca5c6ba Route attended transfer when requested dialog is unknown.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2521 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-11 12:22:52 +00:00
paulc b74dbc4717 In call dialog messages can be sent with xsip.generate by specifying an "id" parameter matching the channel id.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2510 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-04 16:53:26 +00:00
marian d01535f75c The module is now handling the REFER method with attended transfer requests. The connection maps the 'diverter' parameter to/from 'Referred-By' header.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2508 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-03 12:35:06 +00:00
paulc 5ff2e4fe80 Receive buffer size for SIP UDP packets is now configurable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2468 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-02 16:09:02 +00:00
paulc 7f6ea8e69a Trigger NAT detection if registration port changes
git-svn-id: http://yate.null.ro/svn/yate/trunk@2425 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-12 20:24:50 +00:00
paulc 0b0392d026 Deref "no answer requested" message after handing it to the SIP engine.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2414 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-06 18:09:41 +00:00
paulc 8b18ba5e61 Remove any spaces around signal code for INFO with type application/dtmf.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2404 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-19 14:21:01 +00:00
paulc 58107b1329 Unquote received termination reason text.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2362 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-24 18:35:56 +00:00
paulc 05e9f1bbb7 Use the MIME quoting method instead of blindly adding quotes around strings.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2344 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-17 12:38:17 +00:00
paulc c2fe9d35a1 Get the "username" parameter from Contact if REGISTER is not authenticated.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2277 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-21 16:21:51 +00:00
paulc a148389a43 Process SIP REGISTER (user.auth, user.[un]register) in a separate thread.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2164 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-15 12:15:02 +00:00
paulc da3086e4d4 Do not send DTMF as RFC 2833 if the other party did not indicate a payload.
Fall back to INFO if the RTP is not local and active.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2152 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-11 13:50:37 +00:00
paulc 4b8483ca1c Added capability to skip the initial "100 Trying" for non-INVITE transactions.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2146 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-06 17:16:34 +00:00
paulc 4d726b012c Add the text body of generic requests to the Yate message.
Check for looping in generic requests and generated messages.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2095 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-24 14:22:19 +00:00
paulc 43b9cf0f81 Added capability to route to "line/..." no matter what protocol it uses.
Added driver method to query the existence of a line, use it in routing.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2073 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-16 09:48:49 +00:00
paulc 4b0415fe3e Support for octet aligned AMR-NB RTP payload.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2028 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-16 08:03:54 +00:00
paulc 75a40e7180 Added "privacy_..." parameters to get/set the URI in Remote-Party-ID.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2014 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-04 15:29:53 +00:00
paulc 7eca48b56b Allow early media (SDP in 1xx messages) to change the formats list.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1979 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-10 17:17:11 +00:00
paulc 2f6a034653 Recognize G729a as an alias of G729 (invalid but used by Sipura / Linksys).
git-svn-id: http://yate.null.ro/svn/yate/trunk@1978 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-10 17:07:01 +00:00
paulc 317b887270 Added missing NULL checks for SDP parameters spotted by Alex Vostrikov.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1957 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-29 14:09:55 +00:00
paulc 0f630bd627 Added capability to mark or block duplicate DTMFs detected by different methods.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1954 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-25 13:11:49 +00:00
paulc 49ef252006 Provide RFC 2833 payload code information in messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1953 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-25 10:39:32 +00:00
paulc 9a6853a2ab Decide the media format once we start RTP, even if early.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1951 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-24 15:03:24 +00:00
paulc b5f010dfc3 Added DTMF detection method to chan.dtmf messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1943 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-23 22:50:20 +00:00
paulc 5c8b999fee Preserve media (RTP) sessions across reINVITEs if remote offer is unchanged.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1938 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-22 17:33:48 +00:00
paulc af1145bb24 Arbitrary SDP parameters are kept and forwarded with media info.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1935 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-18 14:31:17 +00:00
paulc eaad179c28 Fixed bug in retriving RTP payload mappings from Yate message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1917 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-16 20:16:35 +00:00
paulc d524c6a060 Forward call drop reason to the local call leg.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1908 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-15 14:16:27 +00:00
paulc 6184218227 SIP headers can be controlled in provisional or final answers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1907 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-15 12:56:52 +00:00
paulc 587b1edc89 Detect and drop the calls for which a proper transaction ACK was not received.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1892 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-10 18:08:40 +00:00
paulc 6c76c622e1 Added default payload for speex[-wb] and AMR[-[U]WB]
git-svn-id: http://yate.null.ro/svn/yate/trunk@1884 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-09 15:25:50 +00:00
paulc 69bec18f47 Don't update to a single codec not in our offer
git-svn-id: http://yate.null.ro/svn/yate/trunk@1878 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-04 09:49:48 +00:00
paulc 2d170e3839 Added parantheses around conditional.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1743 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-29 18:57:21 +00:00
paulc 03ba6c9247 Append the pseudoformat g729b to indicate G.729 Annex B support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1742 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-29 18:38:51 +00:00
paulc 796218a198 Allow media formats to be altered when the called party answers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1741 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-29 18:19:21 +00:00
paulc 0f1aee832f Remove failed media from offer instead of dropping the SDP.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1738 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-28 13:05:43 +00:00
paulc 73a496ae0b Trim off any blanks surrounding the signal name in application/dtmf-relay body.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1725 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-14 10:36:27 +00:00
paulc 26e9636ac0 Handle DTMF INFO that don't integer encode signals (reported by Dave Giffin).
git-svn-id: http://yate.null.ro/svn/yate/trunk@1724 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-14 09:41:10 +00:00
marian cb76ac9bba Add message-prefix parameter before dispatching isup.decode.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1695 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-28 15:14:53 +00:00
marian 326a2f1c49 Dispatch isup.encode only if message-type parameter is present.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1670 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-25 12:32:08 +00:00
paulc 0e8e3f6842 Don't report flood during shutdown, we are tearing down lots of calls.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1662 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-23 17:01:13 +00:00
marian 05af672b1d Added support to send multipart bodies (with isup messages).
git-svn-id: http://yate.null.ro/svn/yate/trunk@1658 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-23 16:01:51 +00:00
marian cd77b5a8c6 Use a NamedPointer to request isup buffer decoding.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1645 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-17 15:54:56 +00:00
paulc 3fc8d46810 Performance improvments suggested by Allan Sandfeld:
Change order of transaction to match most recent ones first.
Don't wait in select in SIP channel if we had events last loop.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1631 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-15 15:15:44 +00:00
marian a4e0fc9344 Added support to decode ISUP messages received in application/isup bodies
git-svn-id: http://yate.null.ro/svn/yate/trunk@1628 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-14 15:53:52 +00:00
marian 07f19e4fdb Now the module is handling the SDP received in a multipart body (only the first SDP body, regardless the multipart subtype).
git-svn-id: http://yate.null.ro/svn/yate/trunk@1624 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-14 12:06:08 +00:00
marian dabd23216d Moved header classes and some utilities from SIP to MIME. Updated SIP module and library to reflect the changes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1599 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-08 12:29:12 +00:00
paulc a42d1e87a9 Added capability to disable RFC 2833 telephone-event offering.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1529 acf43c95-373e-0410-b603-e72c3f656dc1
2007-12-10 22:07:21 +00:00
paulc 033837f45c Fixed Remote-Party-ID generation, allow creating From without user part by unsetting the caller parameter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1481 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-21 01:08:14 +00:00
paulc 19eae5602b Allow routing full URIs to registered accounts.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1472 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-07 17:58:15 +00:00
paulc ce6ffcc407 Raw SIP message display is now filtered by the same rules as the channels.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1469 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-06 00:11:17 +00:00
marian f4f3cdce7e Called's party username can be set on outgoing calls. Fixed bug: incoming REFER requests are now corectly responded if failed to be routed
git-svn-id: http://yate.null.ro/svn/yate/trunk@1452 acf43c95-373e-0410-b603-e72c3f656dc1
2007-09-20 08:56:02 +00:00
paulc d035f2d079 Handle only 1xx responses with higher RSeq numbers than last PRACK sent.
Fixes bug report 0000070.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1436 acf43c95-373e-0410-b603-e72c3f656dc1
2007-08-25 00:03:42 +00:00
paulc ee637c73f7 Allow answering to session refreshes without a SDP offer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1435 acf43c95-373e-0410-b603-e72c3f656dc1
2007-08-24 23:26:40 +00:00
paulc 0361ca65e4 Exclude from SDP media with no supported formats.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1416 acf43c95-373e-0410-b603-e72c3f656dc1
2007-08-03 12:58:08 +00:00
paulc c5c09d3cd7 Added setting for the local address included in the chan.rtp message instead
of always allowing the RTP to guess.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1413 acf43c95-373e-0410-b603-e72c3f656dc1
2007-07-31 11:44:52 +00:00
paulc 0d606b59ef Removed SIP MIME classes, use engine provided ones.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1411 acf43c95-373e-0410-b603-e72c3f656dc1
2007-07-26 23:47:29 +00:00
paulc f970b7ba7e Provide description in REGISTER Contact only if explicitely configured.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1407 acf43c95-373e-0410-b603-e72c3f656dc1
2007-07-23 17:55:52 +00:00
paulc 7e1a5dc1ff Added billid to the transfer call.route message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1393 acf43c95-373e-0410-b603-e72c3f656dc1
2007-07-18 11:43:17 +00:00
paulc 56e5b2a022 Generic handlers can alter the answer, not only the return code.
The CANCEL for a "pickup" reason will carry a Reason cause 200 to signal
the call as not being missed.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1372 acf43c95-373e-0410-b603-e72c3f656dc1
2007-06-27 11:02:46 +00:00
paulc db0c52d1fa From and To are now copied to generic messages. Answer code can be returned
as a reason keyword.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1368 acf43c95-373e-0410-b603-e72c3f656dc1
2007-06-20 20:45:39 +00:00
paulc a1c1e2cf62 Bodyless INFO messages can be handled generically. Return code of generic
transactions can be picked from Yate message.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1362 acf43c95-373e-0410-b603-e72c3f656dc1
2007-06-11 17:34:50 +00:00
paulc e39385fdd5 Use TelEngine::destruct(obj) or GenObject::destruct() wherever applicable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1325 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-15 15:40:50 +00:00
paulc 096bdfa3e8 Keep found connection referenced during processing, fixed crashings on SIP
messages received during hangups caused by other channels.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1320 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-15 10:41:56 +00:00
paulc 6a6a34c21b Allow to override DTMF sending method from the chan.dtmf "method" parameter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1315 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-13 21:55:14 +00:00
paulc 93ed28b997 Added "newcall"="true" in user.auth for requests that can create a new call.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1305 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-09 20:22:33 +00:00
paulc 514ac1d787 Added setting to limit the SIP socket receiver buffer size.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1292 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-03 17:02:04 +00:00
paulc bb164993c0 Made the default of some settings depend on running in client or server mode.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1242 acf43c95-373e-0410-b603-e72c3f656dc1
2007-04-02 12:51:23 +00:00
paulc 11aaeeffb8 Media formats lists are updated with information from routing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1240 acf43c95-373e-0410-b603-e72c3f656dc1
2007-03-28 23:22:54 +00:00
paulc 86dea55cfe Fixed Call-Info parsing bug found by Yuri Gushin from Radware Inc.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1228 acf43c95-373e-0410-b603-e72c3f656dc1
2007-03-26 11:00:29 +00:00
paulc 65ecf8d11e Added setting to enforce the iLBC packetization.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1226 acf43c95-373e-0410-b603-e72c3f656dc1
2007-03-21 03:01:54 +00:00
paulc ff674c90f1 Non-default RTP payload mappings are forwarded using call messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1224 acf43c95-373e-0410-b603-e72c3f656dc1
2007-03-20 22:58:28 +00:00
paulc fc2ca1eadb Detect that RTP forwarding is not desired just after routing finished.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1216 acf43c95-373e-0410-b603-e72c3f656dc1
2007-03-12 19:51:10 +00:00
paulc d8ea3ee769 Added capability to request a RTP forward reINVITE from routing by setting
to true the "autoreinvite" parameter.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1202 acf43c95-373e-0410-b603-e72c3f656dc1
2007-02-27 21:16:21 +00:00
paulc 4fcb303046 Unchanged (not NAT fixed) location is returned in registration Contact.
P-NAT-Refresh can be set (default to 25s) if NAT is detected.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1190 acf43c95-373e-0410-b603-e72c3f656dc1
2007-02-09 00:52:47 +00:00
paulc f9caa0999d Added Contact header to 200 of REGISTER, also handle expires tag in
incoming Contact if a global Expires header is not available.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1189 acf43c95-373e-0410-b603-e72c3f656dc1
2007-02-08 04:31:21 +00:00
paulc cd38569483 Fixed NAT in registration when port is missing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1185 acf43c95-373e-0410-b603-e72c3f656dc1
2007-01-31 01:29:38 +00:00
paulc a9749fb2eb Option to forward provisional messages even after getting an 180 Ringing.
Detection and generation of the special 181 and 182 progressing messages.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1180 acf43c95-373e-0410-b603-e72c3f656dc1
2007-01-28 18:32:02 +00:00
paulc 6b562ead96 Added capability to copy parameters from call.execute to outgoing channel's
chan.startup (and from there to call.cdr).


git-svn-id: http://yate.null.ro/svn/yate/trunk@1174 acf43c95-373e-0410-b603-e72c3f656dc1
2007-01-23 00:17:11 +00:00
paulc 231b4cfba4 Fixed the building of local IP address when a specific binding is used and
no line is selected.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1163 acf43c95-373e-0410-b603-e72c3f656dc1
2007-01-13 01:46:10 +00:00
paulc 16e433c737 Added option to start RTP when sending the 200 answer instead of waiting an
ACK on incoming calls.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1156 acf43c95-373e-0410-b603-e72c3f656dc1
2007-01-03 23:06:01 +00:00
paulc 1f2091c368 Added support for initiating RTP forwarding by reINVITE.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1155 acf43c95-373e-0410-b603-e72c3f656dc1
2007-01-02 21:18:27 +00:00
paulc 159991d2f7 Added some extra debugging for event processing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1148 acf43c95-373e-0410-b603-e72c3f656dc1
2006-12-22 13:58:01 +00:00
paulc b5569f32e1 Can change state of RTP forwarding from update message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1134 acf43c95-373e-0410-b603-e72c3f656dc1
2006-12-17 19:25:35 +00:00
paulc fd4bf97a78 The default audio codec list is built from enabled codecs.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1126 acf43c95-373e-0410-b603-e72c3f656dc1
2006-12-15 17:42:44 +00:00
paulc 494f17ef64 Unified all registration retry paths.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1121 acf43c95-373e-0410-b603-e72c3f656dc1
2006-12-05 19:29:54 +00:00
paulc 93719a4fcc Character mode telnet server allows for interactive line edit.
Support for line completion on TAB key.
The Windows telnet client should be happy with line endings.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1076 acf43c95-373e-0410-b603-e72c3f656dc1
2006-10-17 20:40:01 +00:00
paulc 6ddad0a013 Client support for the most trivial call forking with only one 2xx answer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1067 acf43c95-373e-0410-b603-e72c3f656dc1
2006-10-05 22:37:36 +00:00
paulc 98fdadeb00 Added support for multiple data sniffers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1021 acf43c95-373e-0410-b603-e72c3f656dc1
2006-09-08 09:50:19 +00:00
paulc f19ec1c878 Added support for handling different media transports.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1011 acf43c95-373e-0410-b603-e72c3f656dc1
2006-08-31 18:03:12 +00:00
paulc 4c77f6e109 Added client account tracking by user.notify messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@994 acf43c95-373e-0410-b603-e72c3f656dc1
2006-08-12 16:49:02 +00:00
paulc fc54adbd25 Fixed URI of NOTIFY message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@984 acf43c95-373e-0410-b603-e72c3f656dc1
2006-08-02 16:24:12 +00:00
paulc 516d59c4f3 Implementation of REFER by Marian Podgoreanu.
git-svn-id: http://yate.null.ro/svn/yate/trunk@983 acf43c95-373e-0410-b603-e72c3f656dc1
2006-08-02 15:45:49 +00:00
paulc 6125b4f51d The REGISTER and OPTIONS methods are enabled by default.
git-svn-id: http://yate.null.ro/svn/yate/trunk@953 acf43c95-373e-0410-b603-e72c3f656dc1
2006-07-06 13:53:59 +00:00
paulc 97334b551e Added INFO support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@923 acf43c95-373e-0410-b603-e72c3f656dc1
2006-07-02 22:29:36 +00:00
paulc 5d3cf4ac7f Suppressed some spurious CANCELs and BYEs Jerry Jacobsen complained about.
git-svn-id: http://yate.null.ro/svn/yate/trunk@916 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-30 15:54:20 +00:00
paulc 7f7e69541a After sending 2xx change remote URI based on INVITE's Contact: header.
git-svn-id: http://yate.null.ro/svn/yate/trunk@914 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-30 10:00:33 +00:00
paulc a954cfa980 Suppressed spurious Contact: headers - problem found by G.Jacobsen
git-svn-id: http://yate.null.ro/svn/yate/trunk@907 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-28 07:54:59 +00:00
paulc 0a4fbe19f6 Added missing mutex locks.
git-svn-id: http://yate.null.ro/svn/yate/trunk@903 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-26 08:30:49 +00:00
paulc b99fcd8710 External address is picked even from rejected registration requests allowing
a post-406 retry to succeed. This allows interoperation with many providers
using SER.


git-svn-id: http://yate.null.ro/svn/yate/trunk@841 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-07 10:30:42 +00:00
paulc 8f91ffa97f Improved behaviour for unregistered calls from behind NAT.
git-svn-id: http://yate.null.ro/svn/yate/trunk@840 acf43c95-373e-0410-b603-e72c3f656dc1
2006-06-06 21:14:56 +00:00
paulc cda2d9f1c2 Updated copyright and FSF address.
git-svn-id: http://yate.null.ro/svn/yate/trunk@815 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-27 15:08:43 +00:00
paulc 4a292bd06b Moved all classes in all modules in anonymous namespaces.
Added RTLD_GLOBAL dlopen()ing so symbols exported by libraries loaded by
modules will be available.


git-svn-id: http://yate.null.ro/svn/yate/trunk@813 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-27 14:53:18 +00:00
paulc 0475be3103 Added many SIP standards compliance checks - none of practical relevance.
git-svn-id: http://yate.null.ro/svn/yate/trunk@804 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-23 17:47:24 +00:00
paulc 0b94ad411c Fixed bug 0000029 - if SIP socket is bound to specific address it is used
as local address.
Also fixed handling of missing caller and callername.


git-svn-id: http://yate.null.ro/svn/yate/trunk@800 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-20 19:52:39 +00:00
paulc 21cdd36271 Added routing based on known accounts/lines.
git-svn-id: http://yate.null.ro/svn/yate/trunk@782 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-12 18:02:39 +00:00
paulc 8028e82d16 Improved the way caller ID and name are generated from account.
git-svn-id: http://yate.null.ro/svn/yate/trunk@777 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-09 13:21:37 +00:00
paulc 3b6a67d53f Realm is kept in a variable. Improved some debug messages and levels.
git-svn-id: http://yate.null.ro/svn/yate/trunk@774 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-05 18:01:12 +00:00
paulc 76ac8652cb Applied authentication realm patch by Olaf Conradi.
git-svn-id: http://yate.null.ro/svn/yate/trunk@770 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-03 14:20:01 +00:00
paulc b849422edd Moved URI in base classes, added support for Call-Info in SIP and client.
git-svn-id: http://yate.null.ro/svn/yate/trunk@748 acf43c95-373e-0410-b603-e72c3f656dc1
2006-04-12 12:37:25 +00:00
paulc f9170e35e2 Authentication and RADIUS/PortaOne related changes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@740 acf43c95-373e-0410-b603-e72c3f656dc1
2006-04-04 19:06:02 +00:00
paulc be257bb756 Added more workarounds for RADIUS accounting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@719 acf43c95-373e-0410-b603-e72c3f656dc1
2006-03-23 03:23:23 +00:00
paulc c44947b6a1 Added RADIUS client module.
Applied various related and unrelated changes and fixes.


git-svn-id: http://yate.null.ro/svn/yate/trunk@714 acf43c95-373e-0410-b603-e72c3f656dc1
2006-03-22 18:22:34 +00:00
paulc 0787185738 SDP formats are compared case insensitive as suggested by Olaf Conradi.
Added extra user.auth parameters to identify auth style.


git-svn-id: http://yate.null.ro/svn/yate/trunk@712 acf43c95-373e-0410-b603-e72c3f656dc1
2006-03-15 16:39:04 +00:00
paulc 20eacad589 Added missing check that caused segfault when routing rejected an already
terminated server INVITE transaction.


git-svn-id: http://yate.null.ro/svn/yate/trunk@710 acf43c95-373e-0410-b603-e72c3f656dc1
2006-03-13 09:37:56 +00:00
paulc 7101843794 Added reINVITE forwarding in RTP and SDP forwarding modes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@695 acf43c95-373e-0410-b603-e72c3f656dc1
2006-02-21 14:00:56 +00:00
paulc 036444fe9d Fixed minor problem - made Channel::statusParams protected.
git-svn-id: http://yate.null.ro/svn/yate/trunk@692 acf43c95-373e-0410-b603-e72c3f656dc1
2006-02-17 16:57:22 +00:00
paulc 421e4468ee Added per channel status information retrieval.
git-svn-id: http://yate.null.ro/svn/yate/trunk@691 acf43c95-373e-0410-b603-e72c3f656dc1
2006-02-17 15:39:36 +00:00
paulc aa79982a7e Added some newer SIP response codes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@687 acf43c95-373e-0410-b603-e72c3f656dc1
2006-02-15 11:07:44 +00:00
paulc c448294475 Fixed a problem with formats declaration in SDP.
git-svn-id: http://yate.null.ro/svn/yate/trunk@685 acf43c95-373e-0410-b603-e72c3f656dc1
2006-02-14 16:40:14 +00:00
paulc 0d3dc35b83 Registration requests can be allowed without authentication.
A default answer to OPTIONS can be optionally returned.


git-svn-id: http://yate.null.ro/svn/yate/trunk@683 acf43c95-373e-0410-b603-e72c3f656dc1
2006-02-13 15:15:38 +00:00
paulc 41e0489d65 Increased some buffers to accomodate large text elements.
SDP can be forwarded as-is instead of the parsed version.


git-svn-id: http://yate.null.ro/svn/yate/trunk@681 acf43c95-373e-0410-b603-e72c3f656dc1
2006-02-08 16:53:08 +00:00
paulc 2c7b5734df Added a generic privacy mode in SIP. Auto RTP address can be disabled.
git-svn-id: http://yate.null.ro/svn/yate/trunk@668 acf43c95-373e-0410-b603-e72c3f656dc1
2006-01-27 19:51:03 +00:00
paulc 7e20857218 ip_host and ip_port added to user.register message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@663 acf43c95-373e-0410-b603-e72c3f656dc1
2006-01-23 16:35:29 +00:00
paulc 73e01366aa Reference counters are strictly enforced.
git-svn-id: http://yate.null.ro/svn/yate/trunk@651 acf43c95-373e-0410-b603-e72c3f656dc1
2006-01-18 16:06:05 +00:00
paulc 7bf746e26d Added some needed File and Socket methods. Added answered flag in Channel.
git-svn-id: http://yate.null.ro/svn/yate/trunk@631 acf43c95-373e-0410-b603-e72c3f656dc1
2006-01-05 21:33:15 +00:00
paulc 9ca330e9ef Made outbound setting override server's address in all but REGISTER.
git-svn-id: http://yate.null.ro/svn/yate/trunk@625 acf43c95-373e-0410-b603-e72c3f656dc1
2005-12-30 02:38:39 +00:00
paulc 8fb497b230 Fixed a race condition setting the result code in YateSIPGenerate.
git-svn-id: http://yate.null.ro/svn/yate/trunk@612 acf43c95-373e-0410-b603-e72c3f656dc1
2005-12-20 12:43:30 +00:00
paulc 485642968d Early media can be disabled even if the peer has a DataSource.
git-svn-id: http://yate.null.ro/svn/yate/trunk@609 acf43c95-373e-0410-b603-e72c3f656dc1
2005-12-15 20:51:42 +00:00
paulc 112f8cc624 Fixed a bug in Regexp match.
Channel IDs are reported in debug messages.
A debug filter can be set on channels.


git-svn-id: http://yate.null.ro/svn/yate/trunk@596 acf43c95-373e-0410-b603-e72c3f656dc1
2005-12-09 21:33:10 +00:00
paulc 111e3b2d0f Added back the call.preroute message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@590 acf43c95-373e-0410-b603-e72c3f656dc1
2005-11-28 00:07:24 +00:00
paulc 8c8af3dad4 Added default initialization of billid so it can track calls.
git-svn-id: http://yate.null.ro/svn/yate/trunk@589 acf43c95-373e-0410-b603-e72c3f656dc1
2005-11-26 18:26:46 +00:00
paulc 7f490b5366 Allow calledname change on redirect.
git-svn-id: http://yate.null.ro/svn/yate/trunk@588 acf43c95-373e-0410-b603-e72c3f656dc1
2005-11-24 21:49:47 +00:00
paulc 88523aa333 Caller name support in SIP - both incoming and outgoing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@586 acf43c95-373e-0410-b603-e72c3f656dc1
2005-11-24 16:17:32 +00:00
paulc aa499a181c Added common inband DTMF sending support, not just in ISDN.
git-svn-id: http://yate.null.ro/svn/yate/trunk@574 acf43c95-373e-0410-b603-e72c3f656dc1
2005-11-09 22:12:28 +00:00
paulc 394005eeaa Added control of registration expiration.
git-svn-id: http://yate.null.ro/svn/yate/trunk@573 acf43c95-373e-0410-b603-e72c3f656dc1
2005-11-08 21:28:44 +00:00
paulc 3f3ee98b94 Oops! Now sending keepalives from the correct socket.
git-svn-id: http://yate.null.ro/svn/yate/trunk@572 acf43c95-373e-0410-b603-e72c3f656dc1
2005-11-08 15:11:57 +00:00
paulc d62519f6c0 Added support for sending UDP keepalives to keep NAT mappings in place.
git-svn-id: http://yate.null.ro/svn/yate/trunk@571 acf43c95-373e-0410-b603-e72c3f656dc1
2005-11-08 14:52:37 +00:00
paulc 68263e0317 Improved chances of properly detecting public IP address from behind NAT.
git-svn-id: http://yate.null.ro/svn/yate/trunk@569 acf43c95-373e-0410-b603-e72c3f656dc1
2005-11-08 13:52:50 +00:00
paulc 2b8f1b35b5 Added default registration expires.
git-svn-id: http://yate.null.ro/svn/yate/trunk@567 acf43c95-373e-0410-b603-e72c3f656dc1
2005-11-08 10:58:14 +00:00
paulc d4bfd991ed SIP client can forcibly log in.
git-svn-id: http://yate.null.ro/svn/yate/trunk@565 acf43c95-373e-0410-b603-e72c3f656dc1
2005-11-07 03:25:42 +00:00
paulc 2081baa8ef Fixed NAT alteration of contact address to also adjust the port.
git-svn-id: http://yate.null.ro/svn/yate/trunk@560 acf43c95-373e-0410-b603-e72c3f656dc1
2005-11-07 01:23:39 +00:00
paulc d8c52bc7bc Added common pre-answer timeout in class Channel.
Fixed bugs in disconnecting wave sources.
Added option settings for external modules.


git-svn-id: http://yate.null.ro/svn/yate/trunk@559 acf43c95-373e-0410-b603-e72c3f656dc1
2005-11-04 19:30:47 +00:00
paulc 7e49a25efb More NAT support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@552 acf43c95-373e-0410-b603-e72c3f656dc1
2005-10-28 04:42:53 +00:00
paulc 6b3f653266 Added auto authorization of transactions and some client NAT support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@551 acf43c95-373e-0410-b603-e72c3f656dc1
2005-10-28 03:10:32 +00:00
paulc b9703fb8da Fixed bug in audio media parameter passing in SIP calls.
Worked around problem with 3rd array_walk parameter passed by reference in PHP.


git-svn-id: http://yate.null.ro/svn/yate/trunk@543 acf43c95-373e-0410-b603-e72c3f656dc1
2005-10-19 19:45:14 +00:00
diana faf170f60f Added support for iLBC codec.
git-svn-id: http://yate.null.ro/svn/yate/trunk@537 acf43c95-373e-0410-b603-e72c3f656dc1
2005-10-09 23:05:47 +00:00
paulc 13ce01f16a Preparation for iLBC support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@532 acf43c95-373e-0410-b603-e72c3f656dc1
2005-09-30 22:46:16 +00:00
paulc 39e6ae4ecb Added support for overrides (local announcements).
Added some extra info to PRI messages and status.


git-svn-id: http://yate.null.ro/svn/yate/trunk@527 acf43c95-373e-0410-b603-e72c3f656dc1
2005-09-28 17:41:31 +00:00
paulc dbf2899e42 Added separate timeout for stages involving user interaction.
git-svn-id: http://yate.null.ro/svn/yate/trunk@522 acf43c95-373e-0410-b603-e72c3f656dc1
2005-09-19 22:13:22 +00:00
paulc 181d0e51e1 Added Remote-Party-ID: header, privacy, screening.
git-svn-id: http://yate.null.ro/svn/yate/trunk@518 acf43c95-373e-0410-b603-e72c3f656dc1
2005-09-19 01:13:41 +00:00
paulc 96bb3ceb92 Improvments in registration and generic handlers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@512 acf43c95-373e-0410-b603-e72c3f656dc1
2005-09-13 18:50:34 +00:00
paulc 8ad4bd1b78 Changed escaping of message strings to always escape colon.
Proper passing of SIP dialog tags to custom handlers.


git-svn-id: http://yate.null.ro/svn/yate/trunk@511 acf43c95-373e-0410-b603-e72c3f656dc1
2005-09-13 16:11:30 +00:00
paulc 061da98211 Changed the way SIP is authenticated to accomodate computation of the URI with or without parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@510 acf43c95-373e-0410-b603-e72c3f656dc1
2005-09-12 13:23:01 +00:00
paulc 471d344952 Can add body for outgoing custom SIP messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@508 acf43c95-373e-0410-b603-e72c3f656dc1
2005-09-10 18:45:20 +00:00
paulc 41c180c01e Fixed return of query values and cdr building
git-svn-id: http://yate.null.ro/svn/yate/trunk@506 acf43c95-373e-0410-b603-e72c3f656dc1
2005-09-09 16:43:34 +00:00
paulc a78063526c Video and other media support in SIP, removed PosgreSQL modules.
git-svn-id: http://yate.null.ro/svn/yate/trunk@493 acf43c95-373e-0410-b603-e72c3f656dc1
2005-09-06 02:51:09 +00:00
paulc e88f37919c Multiple media channels related changes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@492 acf43c95-373e-0410-b603-e72c3f656dc1
2005-09-02 16:39:00 +00:00
paulc 8c2c166d11 Fixed memory leak found by Andrew McDonald.
git-svn-id: http://yate.null.ro/svn/yate/trunk@490 acf43c95-373e-0410-b603-e72c3f656dc1
2005-08-19 20:30:12 +00:00
paulc a4c24b5bd2 Early 183 can be disabled from config file or routing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@487 acf43c95-373e-0410-b603-e72c3f656dc1
2005-08-18 22:06:45 +00:00
paulc d91f08256f Suppressed auth headers from generic methods message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@486 acf43c95-373e-0410-b603-e72c3f656dc1
2005-08-18 14:32:42 +00:00
paulc 7a556b9548 Improved passing of generic SIP message parameters
git-svn-id: http://yate.null.ro/svn/yate/trunk@485 acf43c95-373e-0410-b603-e72c3f656dc1
2005-08-18 14:16:59 +00:00
paulc 82f0c2bcee Added server handling of arbitrary methods
git-svn-id: http://yate.null.ro/svn/yate/trunk@476 acf43c95-373e-0410-b603-e72c3f656dc1
2005-08-14 02:36:28 +00:00
paulc 8135f0ce50 Fixed an exit leak - usefull just for valgrind.
git-svn-id: http://yate.null.ro/svn/yate/trunk@460 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-20 11:55:46 +00:00
paulc a75fb3d534 No longer calling disconnected() for locally initiated disconnects.
git-svn-id: http://yate.null.ro/svn/yate/trunk@457 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-20 00:42:10 +00:00
paulc e60e799e1b *** empty log message ***
git-svn-id: http://yate.null.ro/svn/yate/trunk@452 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-17 00:03:39 +00:00
paulc 89ce064cb4 Check if a failure message could be set before cleaning the BYE flag.
git-svn-id: http://yate.null.ro/svn/yate/trunk@451 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-16 23:55:05 +00:00
paulc d5701ac52e Fixed some message parameter naming.
git-svn-id: http://yate.null.ro/svn/yate/trunk@450 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-16 22:06:35 +00:00
paulc 244b07051e Fixed segfault in registering to a non-resolvable address.
git-svn-id: http://yate.null.ro/svn/yate/trunk@449 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-15 22:53:03 +00:00
paulc 403eb7cd5a Proper forwarding of provisional responses with media.
RTP receiver SSRC changes can be detected.


git-svn-id: http://yate.null.ro/svn/yate/trunk@445 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-13 23:45:26 +00:00
paulc d91bd889ed *** empty log message ***
git-svn-id: http://yate.null.ro/svn/yate/trunk@443 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-12 20:51:47 +00:00
paulc cfb8e26ce4 Call progress support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@442 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-12 16:05:29 +00:00
paulc c4ceefa928 Added sending PRACK support. Fixed generation of in-dialog messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@436 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-07 05:41:04 +00:00
paulc ac953d0819 Added Reason header.
git-svn-id: http://yate.null.ro/svn/yate/trunk@426 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-03 10:56:16 +00:00
paulc be59653ab3 *** empty log message ***
git-svn-id: http://yate.null.ro/svn/yate/trunk@424 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-01 23:09:22 +00:00
paulc 22841026b4 Improved readability of debug messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@422 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-01 22:35:06 +00:00
paulc f015a3446e *** empty log message ***
git-svn-id: http://yate.null.ro/svn/yate/trunk@421 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-01 21:12:16 +00:00
paulc 6615770a88 Fixed generation of Contact header.
git-svn-id: http://yate.null.ro/svn/yate/trunk@420 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-01 20:31:43 +00:00
paulc d826bd65af User agent settable from config file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@414 acf43c95-373e-0410-b603-e72c3f656dc1
2005-06-24 23:18:08 +00:00
paulc 7c0aee7be9 *** empty log message ***
git-svn-id: http://yate.null.ro/svn/yate/trunk@405 acf43c95-373e-0410-b603-e72c3f656dc1
2005-06-14 20:53:20 +00:00
paulc 1ba919d70b Added setting of "peerid" in call.execute to most modules.
git-svn-id: http://yate.null.ro/svn/yate/trunk@404 acf43c95-373e-0410-b603-e72c3f656dc1
2005-06-14 12:36:03 +00:00
paulc 87b5bcd9ac *** empty log message ***
git-svn-id: http://yate.null.ro/svn/yate/trunk@403 acf43c95-373e-0410-b603-e72c3f656dc1
2005-06-13 15:30:19 +00:00
paulc 1812ffb55b Added record routing support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@402 acf43c95-373e-0410-b603-e72c3f656dc1
2005-06-13 15:01:15 +00:00
paulc 9176ddf7c7 *** empty log message ***
git-svn-id: http://yate.null.ro/svn/yate/trunk@401 acf43c95-373e-0410-b603-e72c3f656dc1
2005-06-13 12:27:19 +00:00
paulc d37e424d39 Estetic changes, option to display program version.
git-svn-id: http://yate.null.ro/svn/yate/trunk@400 acf43c95-373e-0410-b603-e72c3f656dc1
2005-06-13 12:08:56 +00:00
paulc be181f6ae6 Implemented authenticated outgoing SIP calls.
git-svn-id: http://yate.null.ro/svn/yate/trunk@399 acf43c95-373e-0410-b603-e72c3f656dc1
2005-06-12 18:58:17 +00:00
paulc 2d13e91d52 *** empty log message ***
git-svn-id: http://yate.null.ro/svn/yate/trunk@396 acf43c95-373e-0410-b603-e72c3f656dc1
2005-06-09 18:31:45 +00:00
paulc 2d1142e667 DTMF send/forward support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@393 acf43c95-373e-0410-b603-e72c3f656dc1
2005-06-08 15:09:27 +00:00
paulc ca27e56eff no message
git-svn-id: http://yate.null.ro/svn/yate/trunk@388 acf43c95-373e-0410-b603-e72c3f656dc1
2005-06-04 00:17:04 +00:00
paulc 0644fc3d34 Fixed authentication issues.
git-svn-id: http://yate.null.ro/svn/yate/trunk@387 acf43c95-373e-0410-b603-e72c3f656dc1
2005-06-04 00:06:59 +00:00
paulc e6fd87f0a6 SIP authentication
git-svn-id: http://yate.null.ro/svn/yate/trunk@386 acf43c95-373e-0410-b603-e72c3f656dc1
2005-06-03 12:23:12 +00:00
paulc 1785af5a21 More NAT handling
git-svn-id: http://yate.null.ro/svn/yate/trunk@382 acf43c95-373e-0410-b603-e72c3f656dc1
2005-06-01 01:33:53 +00:00
paulc 43df0c9e42 Simple NAT suport for SIP on the server side
git-svn-id: http://yate.null.ro/svn/yate/trunk@381 acf43c95-373e-0410-b603-e72c3f656dc1
2005-05-31 22:18:38 +00:00
paulc 755820d540 Added translator check function.
git-svn-id: http://yate.null.ro/svn/yate/trunk@380 acf43c95-373e-0410-b603-e72c3f656dc1
2005-05-31 19:42:44 +00:00
paulc 96f27e181f Better forwarding of error reasons.
git-svn-id: http://yate.null.ro/svn/yate/trunk@356 acf43c95-373e-0410-b603-e72c3f656dc1
2005-05-14 22:31:13 +00:00
paulc 4aefb1597d Added anti-looping code.
git-svn-id: http://yate.null.ro/svn/yate/trunk@355 acf43c95-373e-0410-b603-e72c3f656dc1
2005-05-14 21:59:07 +00:00
paulc 958a9e8a85 Added support for redirecting calls from routing - SIP for now.
git-svn-id: http://yate.null.ro/svn/yate/trunk@354 acf43c95-373e-0410-b603-e72c3f656dc1
2005-05-14 20:03:38 +00:00
paulc 2381f6cd81 Fixed CANCELing an outgoing call in state Ringing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@350 acf43c95-373e-0410-b603-e72c3f656dc1
2005-05-14 10:52:17 +00:00