]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Add some documentation about codec negotiation to sip.conf
authorTerry Wilson <twilson@digium.com>
Thu, 19 Aug 2010 02:12:55 +0000 (02:12 +0000)
committerTerry Wilson <twilson@digium.com>
Thu, 19 Aug 2010 02:12:55 +0000 (02:12 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@282729 65c4cc65-6c06-0410-ace0-fbb531ad65f3

configs/sip.conf.sample

index 9a420f76863c9731c20ba88c9ecee156c931188f..deb40781eb4e814446e5927d9d532bdb3f66dba0 100644 (file)
@@ -91,6 +91,19 @@ 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"
+
+; Codec negotiation
+;
+; When Asterisk is receiving a call, the codec will initially be set to the
+; first codec in the allowed codecs defined for the user receiving the call
+; that the caller also indicates that it supports. But, after the caller
+; starts sending RTP, Asterisk will switch to using whatever codec the caller
+; is sending.
+;
+; When Asterisk is placing a call, the codec used will be the first codec in
+; the allowed codecs that the callee indicates that it supports. Asterisk will
+; *not* switch to whatever codec the callee is sending.
+;
 ;disallow=all                   ; First disallow all codecs
 ;allow=ulaw                     ; Allow codecs in order of preference
 ;allow=ilbc                     ; see doc/rtp-packetization for framing options