[asterisk-dev] [Code Review] chan_sip: Make the session-timers 'require: timer' header an option
Darren Sessions
dmsessions at gmail.com
Tue Jun 15 08:25:42 CDT 2010
So, just to review and make sure we're all on the same page, here is
what I think we've all come up with before I get to coding the changes
. .
Modes:
refuse:
Do not run session-timers in any case
accept:
Run session-timers only when requested by other user agent.
Adds supported-header to inbound and outbound calls.
originate:
Request and run session-timers if UA supports them.
Adds supported-header to inbound and outbound calls.
require:
Basically the existing 'originate' mode.
Request and run session-timers always
Adds supported-header and require-header to inbound and outbound
calls even if supported-header is not received.
On Jun 10, 2010, at 7:52 AM, Nick Lewis wrote:
For 'accept' modevon an outgoing call,
the 'timer' option should be listed in
the Supported header, but there should
*not* be a Session-Expires header or a
refresher listed. If the other end
responds with a Session-Expires header
in its, then Asterisk would accept the
activation of the timer option.
Yes I see that this is more honest and achieves a softer reluctance to
use session timers
-- N_L
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Control Centre.
_____________________________________________________________________
Disclaimer of Liability
ATL Telecom Ltd shall not be held liable for any improper or incorrect
use of the information described and/or contained herein and assumes
no responsibility for anyones use of the information. In no event
shall ATL Telecom Ltd be liable for any direct, indirect, incidental,
special, exemplary, or consequential damages (including, but not
limited to, procurement or substitute goods or services; loss of use,
data, or profits; or business interruption) however caused and on any
theory of liability, whether in contract, strict liability, or tort
(including negligence or otherwise) arising in any way out of the use
of this system, even if advised of the possibility of such damage.
Registered Office: ATL Telecom Ltd, Fountain Lane, St. Mellons Cardiff, CF3 0FB
Registered in Wales Number 4335781
All goods and services supplied by ATL Telecom Ltd are supplied
subject to ATL Telecom Ltd standard terms and conditions, available
upon request.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev
More information about the asterisk-dev
mailing list