[Asterisk-Users] codec order in SIP doesn't work

Roy Sigurd Karlsbakk roy at karlsbakk.net
Wed Dec 15 20:40:19 MST 2004


>>    Codecs       : 0x11a (gsm|alaw|g726|g729)
>>    Codec Order  : (none)
>>
>> can someone please explaing why?
>
> http://www.fnords.org/~eric/asterisk/sip.conf.shtml
> http://lists.digium.com/pipermail/asterisk-dev/2004-September/ 
> 006406.html
>
>> this is version
>>
>> Asterisk CVS-v1-0-10/08/04-17:29:04 built by root at sipgw1 on a i686
>> running Linux
>
> Try an upgrade to current stable version:
>
> http://lists.digium.com/pipermail/asterisk-users/2004-December/ 
> 076772.html

Seems this is only partially. This is from latest CVS -r v1-0

If specifying a peer/friend in sip.conf without any codec prefs, I get  
this

   Username     : 1000012
   Codecs       : 0x11a (gsm|alaw|g726|g729)
   Codec Order  : (g726|g729|gsm|alaw)

but if not specifying it in sip.conf, and rather using sipfriends from  
mysql

   Username     : 1000012
   Codecs       : 0x11a (gsm|alaw|g726|g729)
   Codec Order  : (none)

so there's something missing here, it seems

roy




More information about the asterisk-users mailing list