mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Add ability to configure the Max-Forwards header in the dialplan, as well as in
sip.conf configuration for the channel and for devices. The Max-Forwards header is used to prevent loops in a SIP network. Each intermediary, like SIP proxys and SBCs, decrement this counter and detects when it reaches zero, at which point the SIP request is nicely killed in a SIP-friendly way. Review: https://reviewboard.asterisk.org/r/778/ Thanks to dvossel for the review and good advice. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@276951 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -933,6 +933,7 @@ ${SIPDOMAIN} * SIP destination domain of an inbound call (if appropriate
|
||||
${SIPFROMDOMAIN} Set SIP domain on outbound calls
|
||||
${SIPUSERAGENT} * SIP user agent (deprecated)
|
||||
${SIPURI} * SIP uri
|
||||
${SIP_MAX_FORWARDS} Set the value of the Max-Forwards header for outbound call
|
||||
${SIP_CODEC} Set the SIP codec for an inbound call
|
||||
${SIP_CODEC_INBOUND} Set the SIP codec for an inbound call
|
||||
${SIP_CODEC_OUTBOUND} Set the SIP codec for an outbound call
|
||||
|
Reference in New Issue
Block a user