Commit Graph

233 Commits

Author SHA1 Message Date
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