Commit graph

252 commits

Author SHA1 Message Date
paulc
2f86089c56 Add the sip: protocol on outgoing calls if none is specified.
git-svn-id: http://voip.null.ro/svn/yate@2648 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-22 18:15:48 +00:00
paulc
054a622c4d 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://voip.null.ro/svn/yate@2621 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-10 11:50:00 +00:00
paulc
ce39c88d1f Fixed parsing of non-RTP transports in SDP as those don't use payload codes or format maps.
git-svn-id: http://voip.null.ro/svn/yate@2606 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-30 12:32:39 +00:00
paulc
b7d71871e3 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://voip.null.ro/svn/yate@2604 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-29 22:07:44 +00:00
paulc
589d7a9bef Support for RFC 4568 (SRTP security descriptors in SIP/SDP).
git-svn-id: http://voip.null.ro/svn/yate@2557 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-01 20:16:36 +00:00
paulc
46d19513de Support for RFC 3323 SIP Privacy header in addition to Remote-Party-ID.
git-svn-id: http://voip.null.ro/svn/yate@2555 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-31 20:23:46 +00:00
paulc
893d7a00be Made generation of outgoing INVITE Diversion header more flexible.
git-svn-id: http://voip.null.ro/svn/yate@2553 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-30 10:29:29 +00:00
paulc
535a559422 Added an explicit boolean redirect parameter to simplify detecting a redirection or diversion.
git-svn-id: http://voip.null.ro/svn/yate@2551 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-29 18:37:32 +00:00
paulc
59261b3b58 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://voip.null.ro/svn/yate@2550 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-29 18:20:41 +00:00
marian
97384644fb Route attended transfer when requested dialog is unknown.
git-svn-id: http://voip.null.ro/svn/yate@2521 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-11 12:22:52 +00:00
paulc
654958077e In call dialog messages can be sent with xsip.generate by specifying an "id" parameter matching the channel id.
git-svn-id: http://voip.null.ro/svn/yate@2510 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-04 16:53:26 +00:00
marian
21563437d9 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://voip.null.ro/svn/yate@2508 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-03 12:35:06 +00:00
paulc
21efcd84f6 Receive buffer size for SIP UDP packets is now configurable.
git-svn-id: http://voip.null.ro/svn/yate@2468 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-02 16:09:02 +00:00
paulc
11be667dae Trigger NAT detection if registration port changes
git-svn-id: http://voip.null.ro/svn/yate@2425 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-12 20:24:50 +00:00
paulc
6e12892f68 Deref "no answer requested" message after handing it to the SIP engine.
git-svn-id: http://voip.null.ro/svn/yate@2414 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-06 18:09:41 +00:00
paulc
39d434193f Remove any spaces around signal code for INFO with type application/dtmf.
git-svn-id: http://voip.null.ro/svn/yate@2404 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-19 14:21:01 +00:00
paulc
1d8ec17dab Unquote received termination reason text.
git-svn-id: http://voip.null.ro/svn/yate@2362 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-24 18:35:56 +00:00
paulc
df4cb7b6a9 Use the MIME quoting method instead of blindly adding quotes around strings.
git-svn-id: http://voip.null.ro/svn/yate@2344 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-17 12:38:17 +00:00
paulc
eb3e14ef92 Get the "username" parameter from Contact if REGISTER is not authenticated.
git-svn-id: http://voip.null.ro/svn/yate@2277 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-21 16:21:51 +00:00
paulc
acd46e9494 Process SIP REGISTER (user.auth, user.[un]register) in a separate thread.
git-svn-id: http://voip.null.ro/svn/yate@2164 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-15 12:15:02 +00:00
paulc
e2320a8e98 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://voip.null.ro/svn/yate@2152 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-11 13:50:37 +00:00
paulc
4d8ec63ac6 Added capability to skip the initial "100 Trying" for non-INVITE transactions.
git-svn-id: http://voip.null.ro/svn/yate@2146 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-06 17:16:34 +00:00
paulc
0205f0b6da Add the text body of generic requests to the Yate message.
Check for looping in generic requests and generated messages.


git-svn-id: http://voip.null.ro/svn/yate@2095 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-24 14:22:19 +00:00
paulc
5028b01139 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://voip.null.ro/svn/yate@2073 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-16 09:48:49 +00:00
paulc
78a636c49c Support for octet aligned AMR-NB RTP payload.
git-svn-id: http://voip.null.ro/svn/yate@2028 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-16 08:03:54 +00:00
paulc
6f0a39a674 Added "privacy_..." parameters to get/set the URI in Remote-Party-ID.
git-svn-id: http://voip.null.ro/svn/yate@2014 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-04 15:29:53 +00:00
paulc
115f88d2eb Allow early media (SDP in 1xx messages) to change the formats list.
git-svn-id: http://voip.null.ro/svn/yate@1979 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-10 17:17:11 +00:00
paulc
bc74eefad4 Recognize G729a as an alias of G729 (invalid but used by Sipura / Linksys).
git-svn-id: http://voip.null.ro/svn/yate@1978 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-10 17:07:01 +00:00
paulc
d3408a2531 Added missing NULL checks for SDP parameters spotted by Alex Vostrikov.
git-svn-id: http://voip.null.ro/svn/yate@1957 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-29 14:09:55 +00:00
paulc
f04087500c Added capability to mark or block duplicate DTMFs detected by different methods.
git-svn-id: http://voip.null.ro/svn/yate@1954 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-25 13:11:49 +00:00
paulc
874f5f7fbb Provide RFC 2833 payload code information in messages.
git-svn-id: http://voip.null.ro/svn/yate@1953 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-25 10:39:32 +00:00
paulc
40e991bbfa Decide the media format once we start RTP, even if early.
git-svn-id: http://voip.null.ro/svn/yate@1951 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-24 15:03:24 +00:00
paulc
5b1af73590 Added DTMF detection method to chan.dtmf messages.
git-svn-id: http://voip.null.ro/svn/yate@1943 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-23 22:50:20 +00:00
paulc
82b2b6b2aa Preserve media (RTP) sessions across reINVITEs if remote offer is unchanged.
git-svn-id: http://voip.null.ro/svn/yate@1938 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-22 17:33:48 +00:00
paulc
3eb094f436 Arbitrary SDP parameters are kept and forwarded with media info.
git-svn-id: http://voip.null.ro/svn/yate@1935 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-18 14:31:17 +00:00
paulc
b24c34c97c Fixed bug in retriving RTP payload mappings from Yate message.
git-svn-id: http://voip.null.ro/svn/yate@1917 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-16 20:16:35 +00:00
paulc
62335f1e00 Forward call drop reason to the local call leg.
git-svn-id: http://voip.null.ro/svn/yate@1908 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-15 14:16:27 +00:00
paulc
c0e116d5eb SIP headers can be controlled in provisional or final answers.
git-svn-id: http://voip.null.ro/svn/yate@1907 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-15 12:56:52 +00:00
paulc
38334a727c Detect and drop the calls for which a proper transaction ACK was not received.
git-svn-id: http://voip.null.ro/svn/yate@1892 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-10 18:08:40 +00:00
paulc
b849aff8ff Added default payload for speex[-wb] and AMR[-[U]WB]
git-svn-id: http://voip.null.ro/svn/yate@1884 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-09 15:25:50 +00:00
paulc
acd20f6e93 Don't update to a single codec not in our offer
git-svn-id: http://voip.null.ro/svn/yate@1878 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-04 09:49:48 +00:00
paulc
e7a2a6b546 Added parantheses around conditional.
git-svn-id: http://voip.null.ro/svn/yate@1743 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-29 18:57:21 +00:00
paulc
cc9ed996f6 Append the pseudoformat g729b to indicate G.729 Annex B support.
git-svn-id: http://voip.null.ro/svn/yate@1742 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-29 18:38:51 +00:00
paulc
dc29d8392e Allow media formats to be altered when the called party answers.
git-svn-id: http://voip.null.ro/svn/yate@1741 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-29 18:19:21 +00:00
paulc
942a4c4750 Remove failed media from offer instead of dropping the SDP.
git-svn-id: http://voip.null.ro/svn/yate@1738 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-28 13:05:43 +00:00
paulc
c27fdea513 Trim off any blanks surrounding the signal name in application/dtmf-relay body.
git-svn-id: http://voip.null.ro/svn/yate@1725 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-14 10:36:27 +00:00
paulc
76594d075e Handle DTMF INFO that don't integer encode signals (reported by Dave Giffin).
git-svn-id: http://voip.null.ro/svn/yate@1724 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-14 09:41:10 +00:00
marian
6f1c08455a Add message-prefix parameter before dispatching isup.decode.
git-svn-id: http://voip.null.ro/svn/yate@1695 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-28 15:14:53 +00:00
marian
70b9e02715 Dispatch isup.encode only if message-type parameter is present.
git-svn-id: http://voip.null.ro/svn/yate@1670 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-25 12:32:08 +00:00
paulc
99e11c17bd Don't report flood during shutdown, we are tearing down lots of calls.
git-svn-id: http://voip.null.ro/svn/yate@1662 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-23 17:01:13 +00:00