Commit Graph

488 Commits

Author SHA1 Message Date
paulc a61fcc1723 Forward the SIP audio change information to the peer channel.
Change SIP media format if the peer changed.
This allows switching to T.38 when RTP is proxied.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4712 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-18 13:01:34 +00:00
marian 2c3127876c Add login/logout failure error to user.notify message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4677 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-04 15:30:55 +00:00
paulc cd83ba0fce Added new static mutex to protect channel disconnect parameters during access.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4662 acf43c95-373e-0410-b603-e72c3f656dc1
2011-10-28 18:23:26 +00:00
paulc 702c82ede6 Fixed SIP status command broken by SVN commit 3776.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4661 acf43c95-373e-0410-b603-e72c3f656dc1
2011-10-28 17:30:45 +00:00
paulc 65ee32cc00 Added hack to preserve the RTP session when just the address has changed.
Can be used together with the hack for ignoring port change.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4639 acf43c95-373e-0410-b603-e72c3f656dc1
2011-10-05 20:43:25 +00:00
paulc 42772c000d Allow global calls limits to be reloaded.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4636 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-26 14:55:42 +00:00
paulc 8c230e1d21 Fixed a few errors exposed by -Wunused-but-set-variable.
Removed some leftover variables exposed by same new compiler check.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4589 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-08 10:36:32 +00:00
paulc ca1b7c21d8 At end of routing check if the INVITE transaction still exists.
This allows proper processing of an early CANCEL while routing is in progress.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4573 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-29 09:42:30 +00:00
marian eb783b04e6 Added extra check to avoid building a sip party with invalid remote address.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4566 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-24 15:03:23 +00:00
marian 57bff41ad4 String to integer conversion can now check the result against allowed min/max values. Use it in sip module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4562 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-23 15:14:28 +00:00
marian 5845857da0 Double the timeout period before using it. Decreased retransmission counters default values to keep the same overall timeout.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4559 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-22 15:16:26 +00:00
marian df8ec5d64d Made configurable the number of times to transmit a request or a final response when retransmission is required.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4556 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-22 14:11:51 +00:00
marian fe2891e3cc Fixed bug: return proxy address when a line's domain is requested and there is no domain or registrar configured. This bug was introduced in SVN Rev. 4493.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4546 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-18 11:29:54 +00:00
marian e6b65c4014 Added configurable certificate file to present on outgoing TLS connections.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4545 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-18 10:49:27 +00:00
marian 161554d22d Always reset a line's party when logout is required in user.login message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4541 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-11 14:52:32 +00:00
marian fe5e9943fd Properly handle host and port in sip generate message handler. Use default when missing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4540 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-10 11:22:18 +00:00
marian d8b503eb25 Listener type now defaults to udp if invalid. Handle listener type change in config.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4531 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-29 11:03:19 +00:00
marian c90d715654 Build the tls listener even if context is empty. Added debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4526 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-27 09:27:01 +00:00
marian 3e40ef43a6 Return line's resolved party address/port to match it for incoming requests.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4523 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-25 13:45:43 +00:00
paulc 7afc6c6532 Added missing ISUP content to disconnection SIP messages (BYE, CANCEL, 4xx/5xx).
git-svn-id: http://yate.null.ro/svn/yate/trunk@4521 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-21 17:27:29 +00:00
marian 25a1c95224 Made virtual base class destructor.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4496 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 15:21:39 +00:00
marian 34924962aa Added support for tcp/tls sip transport. The sip module can now use (bind on) more then one address for udp.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4493 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 14:55:02 +00:00
paulc 31b8230290 Emit new message "user.authfail" for paswword mismatch for existing users.
Use that message in the ban script.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4451 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-10 13:39:24 +00:00
paulc 9ddec50e94 Optimized const String usage in the SIP module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4431 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-03 15:14:38 +00:00
paulc e2dac8d2a2 Pick up any new formats (even if not negotiated before) in RTP forward mode.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4417 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-28 12:43:15 +00:00
paulc db9d880bc1 Add the billid parameter to SIP generated user.auth messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4396 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-19 11:21:30 +00:00
paulc d0d8c101ad Added support for altering the reason and error code of SIP Registrar answers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4382 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-17 11:12:37 +00:00
paulc f214a2b733 Copy UAS SIP headers between user.register and REGISTER messages and answers.
In UAC mode copy returned headers from REGISTER answer to user.notify message.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4380 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-17 10:20:16 +00:00
paulc 34c79e5cd6 Use the proxy address if domain is not set for outbound calls.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4372 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-12 20:55:26 +00:00
paulc 09a9c34518 Allow setting arbitrary SIP headers in rejected calls.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4371 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-12 20:29:27 +00:00
paulc bba5f88ac9 Allow copying parameters starting with authfail_ from failed user.auth messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4370 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-12 19:26:15 +00:00
paulc 28eeb05ffe Added more mappings for SIP responses to improve mapping to ISUP and ISDN.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4360 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-05 12:43:40 +00:00
paulc bcc3792cfc Base64 decode and encode binary bodies in generic SIP messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4356 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-04 11:07:05 +00:00
marian 5eb536aaa4 Changed the name of the functions encoding and decoding isup bodies to fix scope related compile errors in VC++.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4355 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-04 10:47:17 +00:00
paulc afc6130d71 Renamed SIP parameter "transport" to "ip_transport" because of collision with audio media transport.
Fixed lack of media bug introduced by Rev 4349.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4353 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-04 09:01:43 +00:00
paulc 5aa046f6bb Detect generic SIP messages coming from registered accounts, set in_line and skip authentication if so.
Decode more info from the incoming generic messages.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4349 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-28 10:36:48 +00:00
paulc 9006eefd04 Fix the hangup of incoming SIP calls that didn't had the dialog tag updated.
This could happen if a call was dropped immediately after being answered.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4333 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-20 18:41:14 +00:00
paulc 3e6e71a2e3 Fixed a number of concurrency issues regarding reINVITE processing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4332 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-20 18:38:30 +00:00
paulc 26e0e1021b Terminate a SIP call for which we had a timeout on a reINVITE as media state becomes uncertain.
Bug report and patch provided by Matthew.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4310 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-18 11:17:50 +00:00
paulc c4627996d9 Clear the initiated reINVITE transaction on completion, allow further reINVITEs.
Bug report and patch provided by Matthew.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4309 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-18 11:03:23 +00:00
paulc 3c4e6a01b6 The default RFC 2833 payload can be configured and overriden per call.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4287 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-12 15:41:49 +00:00
paulc 84f04adaa9 Decode MIME type message/sipfrag as lines of text.
Allow generic processing of SIP INFO messages that are not used for DTMFs.
Properly add lines of text bodies to generic SIP messages.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4273 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-07 12:16:12 +00:00
paulc f9469cb68f Honor an earlymedia=false parameter even when using RTP forwarding.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4267 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-06 09:13:16 +00:00
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