diff options
author | David Vossel <dvossel@digium.com> | 2009-03-24 20:01:29 +0000 |
---|---|---|
committer | David Vossel <dvossel@digium.com> | 2009-03-24 20:01:29 +0000 |
commit | da2230adf081d932294ffe5f2629ad66cc338917 (patch) | |
tree | 76ae843f10f9e72bf82058904748ffcab3e15aa2 /configs | |
parent | 3fd19b3ab64059865875a5bd0f5c22563f7794f4 (diff) |
SIP preferred codec only feature
Added an option to respond to a SIP invite with only the single most preferred joint codec. This limits the options of what codecs the other side can use.
(closes issue #12485)
Reported by: bamby
Review: http://reviewboard.digium.com/r/206/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@183995 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r-- | configs/sip.conf.sample | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample index c7ae9c06f..a67a2092d 100644 --- a/configs/sip.conf.sample +++ b/configs/sip.conf.sample @@ -182,6 +182,11 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ;vmexten=voicemail ; dialplan extension to reach mailbox sets the ; Message-Account in the MWI notify message ; defaults to "asterisk" + +;preferred_codec_only=yes ; Respond to a SIP invite with the single most preferred codec + ; rather than advertising all joint codec capabilities. This + ; limits the other side's codec choice to exactly what we prefer. + ;disallow=all ; First disallow all codecs ;allow=ulaw ; Allow codecs in order of preference ;allow=ilbc ; see doc/rtp-packetization for framing options |