Commit graph

235 commits

Author SHA1 Message Date
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
marian
f640e55a86 Added support to send multipart bodies (with isup messages).
git-svn-id: http://voip.null.ro/svn/yate@1658 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-23 16:01:51 +00:00
marian
faf1d02d92 Use a NamedPointer to request isup buffer decoding.
git-svn-id: http://voip.null.ro/svn/yate@1645 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-17 15:54:56 +00:00
paulc
25dbed9cde 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://voip.null.ro/svn/yate@1631 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-15 15:15:44 +00:00
marian
55357d52d9 Added support to decode ISUP messages received in application/isup bodies
git-svn-id: http://voip.null.ro/svn/yate@1628 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-14 15:53:52 +00:00
marian
ea0d8dc407 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://voip.null.ro/svn/yate@1624 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-14 12:06:08 +00:00
marian
648b9c82b1 Moved header classes and some utilities from SIP to MIME. Updated SIP module and library to reflect the changes.
git-svn-id: http://voip.null.ro/svn/yate@1599 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-08 12:29:12 +00:00
paulc
e83cee0e28 Added capability to disable RFC 2833 telephone-event offering.
git-svn-id: http://voip.null.ro/svn/yate@1529 acf43c95-373e-0410-b603-e72c3f656dc1
2007-12-10 22:07:21 +00:00
paulc
c4eecf9846 Fixed Remote-Party-ID generation, allow creating From without user part by unsetting the caller parameter.
git-svn-id: http://voip.null.ro/svn/yate@1481 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-21 01:08:14 +00:00
paulc
6b652ea470 Allow routing full URIs to registered accounts.
git-svn-id: http://voip.null.ro/svn/yate@1472 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-07 17:58:15 +00:00
paulc
1b7bb99176 Raw SIP message display is now filtered by the same rules as the channels.
git-svn-id: http://voip.null.ro/svn/yate@1469 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-06 00:11:17 +00:00
marian
1bdfc45e46 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://voip.null.ro/svn/yate@1452 acf43c95-373e-0410-b603-e72c3f656dc1
2007-09-20 08:56:02 +00:00
paulc
b525719ea6 Handle only 1xx responses with higher RSeq numbers than last PRACK sent.
Fixes bug report 0000070.


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


git-svn-id: http://voip.null.ro/svn/yate@1413 acf43c95-373e-0410-b603-e72c3f656dc1
2007-07-31 11:44:52 +00:00
paulc
6a96997584 Removed SIP MIME classes, use engine provided ones.
git-svn-id: http://voip.null.ro/svn/yate@1411 acf43c95-373e-0410-b603-e72c3f656dc1
2007-07-26 23:47:29 +00:00
paulc
06cbc5e8cf Provide description in REGISTER Contact only if explicitely configured.
git-svn-id: http://voip.null.ro/svn/yate@1407 acf43c95-373e-0410-b603-e72c3f656dc1
2007-07-23 17:55:52 +00:00