Commit Graph

88 Commits

Author SHA1 Message Date
marian 5432a414aa Added support to enable REFER handling per call leg. Added configurable support (default:disabled) to send a call.update message with operation=transfer before internal handling on REFER.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6527 acf43c95-373e-0410-b603-e72c3f656dc1
2021-11-15 14:19:43 +00:00
marian 0b8f9b48cc Added SDP support for stereo slin/alaw/mulaw.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6483 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-19 10:02:58 +00:00
marian c3c5036944 Fixed documentation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6413 acf43c95-373e-0410-b603-e72c3f656dc1
2020-07-10 08:20:08 +00:00
marian ed89e03628 Added configurable option to put all headers received in initial SIP requests in yate message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6385 acf43c95-373e-0410-b603-e72c3f656dc1
2020-02-26 13:08:04 +00:00
marian 4ed607b0c6 Always update dialog uri from Contact header when handling 2xx answer to INVITE. Added option (default: disable) to also change party if autochangeparty is enabled.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6369 acf43c95-373e-0410-b603-e72c3f656dc1
2019-11-13 11:18:31 +00:00
paulc 2130ea0404 Added support for following forked transactions' 1xx provisional messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6318 acf43c95-373e-0410-b603-e72c3f656dc1
2018-07-03 12:19:25 +00:00
paulc 74d08d409a Added support for late SDP in ACK for reINVITE transactions.
Allow SDP forwarding when the media address is 0.0.0.0 or :: (muted).


git-svn-id: http://yate.null.ro/svn/yate/trunk@6287 acf43c95-373e-0410-b603-e72c3f656dc1
2017-12-18 15:48:17 +00:00
paulc 500e2633b5 Add a Retry-After header to the 503 generated in case of Engine congestion.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6286 acf43c95-373e-0410-b603-e72c3f656dc1
2017-12-14 14:02:51 +00:00
marian 79afeb1178 Automatic remote party change can now be configured per channel from routing. A remote party (transport) can now be configured for an incoming call from pre-routing. Ignore VIA can now be configured per listener.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6230 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-14 09:14:20 +00:00
paulc 09ff4188b9 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://yate.null.ro/svn/yate/trunk@6151 acf43c95-373e-0410-b603-e72c3f656dc1
2016-11-25 15:45:34 +00:00
marian 4590f53dc7 Documented tcp idle/keeplive intervals.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6136 acf43c95-373e-0410-b603-e72c3f656dc1
2016-09-15 10:35:31 +00:00
marian a16b32b009 Listener: default 'ipv6' parameter to true if bind address contains ':'.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6119 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-24 14:01:04 +00:00
marian d8b25337a9 Added listener role parameter. Set it in messages sent by connections using the listener.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6118 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-24 13:33:14 +00:00
marian cc58ef73dd Added option to copy message headers in user.auth messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6117 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-23 14:43:33 +00:00
paulc f9e6470a90 Added optional message to verify reINVITE in media proxying mode.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5915 acf43c95-373e-0410-b603-e72c3f656dc1
2014-09-19 11:36:28 +00:00
paulc 37a72e4bc1 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://yate.null.ro/svn/yate/trunk@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
marian 0c55017c41 Added SIP IPv6 support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5673 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-18 18:30:41 +00:00
paulc 21aced388e 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://yate.null.ro/svn/yate/trunk@5629 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-23 11:52:11 +00:00
marian 9fab20a109 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://yate.null.ro/svn/yate/trunk@5619 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-13 08:31:33 +00:00
paulc a5bac6672b Added settings for the SIP T1 and T4 timers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5533 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-07 15:18:42 +00:00
paulc 11b90dae77 Added support (default enabled) to run generic SIP messages in their own thread.
Fixed the raw text body encoding.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5453 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 13:34:50 +00:00
paulc e08e529ecf Allow specifying the encoding for binary MIME bodies in SIP.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5442 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 12:51:38 +00:00
paulc b19a205aa1 Added configuration to disable the preventive BYE when CANCELing an early dialog.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5420 acf43c95-373e-0410-b603-e72c3f656dc1
2013-03-15 16:24:14 +00:00
marian 451cf8fa69 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://yate.null.ro/svn/yate/trunk@5310 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-29 15:41:51 +00:00
marian ec97de2487 Honor detected method when sending DTMFs.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5277 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-20 09:29:28 +00:00
marian 08654d5b53 Override channel dtmf methods in chan.dtmf only if explicitly requested.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5276 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-19 14:11:11 +00:00
marian 2030126a5f Allow send dtmf method(s) to be configurable. Detect remote party INFO support from 'Allow' header.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5264 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-18 08:40:29 +00:00
marian a77586a7a9 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://yate.null.ro/svn/yate/trunk@5250 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-03 09:41:46 +00:00
oana 4b096a8081 Added separate setting for activating the SIP flood protection mechanism.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5234 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-20 11:06:06 +00:00
oana ca3528c6e2 Set allowed number of simultaneous calls from configuration files. If not set, default to the maxchans setting in yate.conf.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5227 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-17 13:29:31 +00:00
oana 9ad504a992 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://yate.null.ro/svn/yate/trunk@5226 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-17 12:31:07 +00:00
paulc 063adacfce Added support for updating remote dialog and party on reINVITE.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5216 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-03 21:20:10 +00:00
paulc 4789bdc327 Added example for accepting custom SIP methods.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5103 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-08 14:20:39 +00:00
paulc e7c7b6ceba Allow setting the external address of a NAT in the SDP sent by SIP.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5058 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-11 21:33:21 +00:00
paulc ab2222ef67 Changed the way SIP authentication is performed by UAS.
This allows implementing custom authentication schemes.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4975 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-26 00:25:00 +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
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 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 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 d0d092e6ec Fixed ssl context parameter name for tls listeners.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4524 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-26 12:49:00 +00:00
marian c53aaed81f Commented section to avoid conflicts with older configuration.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4497 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 15:25:34 +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 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 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 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 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 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 71e471907f Made clear that the default setting of "ignorevia" violates RFC 3261 but is required to make UDP work through NAT.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2479 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-09 11:37:09 +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