Commit Graph

79 Commits

Author SHA1 Message Date
paulc 8c0fe9852d Added support for setting AMR and other codecs' parameters in SDP.
Build and package separately the AMR-NB and GSM-EFR codecs.


git-svn-id: http://voip.null.ro/svn/yate@6151 acf43c95-373e-0410-b603-e72c3f656dc1
2016-11-25 15:45:34 +00:00
marian 70d1a31eb7 Documented tcp idle/keeplive intervals.
git-svn-id: http://voip.null.ro/svn/yate@6136 acf43c95-373e-0410-b603-e72c3f656dc1
2016-09-15 10:35:31 +00:00
marian bf2390f6e9 Listener: default 'ipv6' parameter to true if bind address contains ':'.
git-svn-id: http://voip.null.ro/svn/yate@6119 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-24 14:01:04 +00:00
marian 803aab756e Added listener role parameter. Set it in messages sent by connections using the listener.
git-svn-id: http://voip.null.ro/svn/yate@6118 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-24 13:33:14 +00:00
marian 2b26a219a7 Added option to copy message headers in user.auth messages.
git-svn-id: http://voip.null.ro/svn/yate@6117 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-23 14:43:33 +00:00
paulc e13b4b1a7b Added optional message to verify reINVITE in media proxying mode.
git-svn-id: http://voip.null.ro/svn/yate@5915 acf43c95-373e-0410-b603-e72c3f656dc1
2014-09-19 11:36:28 +00:00
paulc d56cecb40e Added copyright notices to sources and scripts missing them.
Updated copyright notices for 2014.
Fixed end of lines in many files.


git-svn-id: http://voip.null.ro/svn/yate@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
marian 5878e5b393 Added SIP IPv6 support.
git-svn-id: http://voip.null.ro/svn/yate@5673 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-18 18:30:41 +00:00
paulc bbb4fccc91 Added separate config sections for SIP MESSAGE and OPTIONS.
Made the routed MESSAGE advertising and processing disabled by default.
Removed separate in-dialog authetication for MESSAGE, follow same rule as BYE.


git-svn-id: http://voip.null.ro/svn/yate@5629 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-23 11:52:11 +00:00
marian 5dda0433d1 Always handle MESSAGE method. Route incoming MESSAGE received outside INVITE dialog using call.route and send it using msg.execute. Forward MESSAGE received inside INVITE dialogs to channel peer using chan.text.
git-svn-id: http://voip.null.ro/svn/yate@5619 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-13 08:31:33 +00:00
paulc 9da881eac2 Added settings for the SIP T1 and T4 timers.
git-svn-id: http://voip.null.ro/svn/yate@5533 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-07 15:18:42 +00:00
paulc cb72cd54eb Added support (default enabled) to run generic SIP messages in their own thread.
Fixed the raw text body encoding.


git-svn-id: http://voip.null.ro/svn/yate@5453 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 13:34:50 +00:00
paulc 682bf1062a Allow specifying the encoding for binary MIME bodies in SIP.
git-svn-id: http://voip.null.ro/svn/yate@5442 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 12:51:38 +00:00
paulc b88cc82b3e Added configuration to disable the preventive BYE when CANCELing an early dialog.
git-svn-id: http://voip.null.ro/svn/yate@5420 acf43c95-373e-0410-b603-e72c3f656dc1
2013-03-15 16:24:14 +00:00
marian eed19ce9a7 Moved listener general config in 'general' section. Allow it to be an udp/tcp/tls listener. Removed 'listener general' section from config.
git-svn-id: http://voip.null.ro/svn/yate@5310 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-29 15:41:51 +00:00
marian 9fe101f4cd Honor detected method when sending DTMFs.
git-svn-id: http://voip.null.ro/svn/yate@5277 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-20 09:29:28 +00:00
marian 6627caaa08 Override channel dtmf methods in chan.dtmf only if explicitly requested.
git-svn-id: http://voip.null.ro/svn/yate@5276 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-19 14:11:11 +00:00
marian de2b64b26b Allow send dtmf method(s) to be configurable. Detect remote party INFO support from 'Allow' header.
git-svn-id: http://voip.null.ro/svn/yate@5264 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-18 08:40:29 +00:00
marian 48dbd2df8b Added configurable option (defaults to disable) used to change remote party's ip/port when a channel receives a response or a new transaction from a different address.
git-svn-id: http://voip.null.ro/svn/yate@5250 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-03 09:41:46 +00:00
oana c14f9e2e31 Added separate setting for activating the SIP flood protection mechanism.
git-svn-id: http://voip.null.ro/svn/yate@5234 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-20 11:06:06 +00:00
oana afc7680016 Set allowed number of simultaneous calls from configuration files. If not set, default to the maxchans setting in yate.conf.
git-svn-id: http://voip.null.ro/svn/yate@5227 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-17 13:29:31 +00:00
oana 7a778bc084 Added mechanism to drop INVITE/REGISTER/SUBSCRIBE/OPTIONS messages when detecting a flood.
Other messages, as well as reINVITEs are still allowed.
Note: the meaning of the floodevents setting from ysipchan.conf has changed: now it sets the threshold for dropping messages.


git-svn-id: http://voip.null.ro/svn/yate@5226 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-17 12:31:07 +00:00
paulc 6225ee6901 Added support for updating remote dialog and party on reINVITE.
git-svn-id: http://voip.null.ro/svn/yate@5216 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-03 21:20:10 +00:00
paulc 107b1dbc15 Added example for accepting custom SIP methods.
git-svn-id: http://voip.null.ro/svn/yate@5103 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-08 14:20:39 +00:00
paulc 57577ceb53 Allow setting the external address of a NAT in the SDP sent by SIP.
git-svn-id: http://voip.null.ro/svn/yate@5058 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-11 21:33:21 +00:00
paulc cfe4edbc26 Changed the way SIP authentication is performed by UAS.
This allows implementing custom authentication schemes.


git-svn-id: http://voip.null.ro/svn/yate@4975 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-26 00:25:00 +00:00
paulc 2dc0283ae6 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://voip.null.ro/svn/yate@4639 acf43c95-373e-0410-b603-e72c3f656dc1
2011-10-05 20:43:25 +00:00
marian 94117426bd Double the timeout period before using it. Decreased retransmission counters default values to keep the same overall timeout.
git-svn-id: http://voip.null.ro/svn/yate@4559 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-22 15:16:26 +00:00
marian fa56ec84d8 Made configurable the number of times to transmit a request or a final response when retransmission is required.
git-svn-id: http://voip.null.ro/svn/yate@4556 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-22 14:11:51 +00:00
marian dc20a43184 Added configurable certificate file to present on outgoing TLS connections.
git-svn-id: http://voip.null.ro/svn/yate@4545 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-18 10:49:27 +00:00
marian 56c62825b1 Listener type now defaults to udp if invalid. Handle listener type change in config.
git-svn-id: http://voip.null.ro/svn/yate@4531 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-29 11:03:19 +00:00
marian 54128520bf Fixed ssl context parameter name for tls listeners.
git-svn-id: http://voip.null.ro/svn/yate@4524 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-26 12:49:00 +00:00
marian 396fe9d500 Commented section to avoid conflicts with older configuration.
git-svn-id: http://voip.null.ro/svn/yate@4497 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 15:25:34 +00:00
marian f9f3241df5 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://voip.null.ro/svn/yate@4493 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 14:55:02 +00:00
paulc 3736466398 The default RFC 2833 payload can be configured and overriden per call.
git-svn-id: http://voip.null.ro/svn/yate@4287 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-12 15:41:49 +00:00
paulc b2283a0c2e 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://voip.null.ro/svn/yate@4161 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-07 13:50:59 +00:00
paulc e8f806c950 Added thread priority setting for the SIP module.
git-svn-id: http://voip.null.ro/svn/yate@3753 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-25 13:13:35 +00:00
paulc 71f34fd5cf 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://voip.null.ro/svn/yate@2786 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-12 15:18:36 +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 a8223db1d1 Made clear that the default setting of "ignorevia" violates RFC 3261 but is required to make UDP work through NAT.
git-svn-id: http://voip.null.ro/svn/yate@2479 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-09 11:37:09 +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 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 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 2ae1514621 Updated default version values for Yate 2 (cosmetic change).
git-svn-id: http://voip.null.ro/svn/yate@2143 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-06 12:34:22 +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 a608a223cf Added more sample codecs, clarified what default means.
git-svn-id: http://voip.null.ro/svn/yate@1986 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-15 10:45:41 +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 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 92682020ca Added G.729 Annex B settings.
git-svn-id: http://voip.null.ro/svn/yate@1785 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-15 18:46:32 +00:00
marian 8c7c26ee91 Added option to enable/disable isup body encode and decode.
git-svn-id: http://voip.null.ro/svn/yate@1659 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-23 16:03:13 +00:00