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

Roy Sigurd Karlsbakk roy at karlsbakk.net
Wed Dec 15 07:21:41 MST 2004


hi

using the following in sip.conf, codec preferences aren't set, and 
asterisk uses alaw whatever I do, except force it to one specific in 
the [user]

[general]
disallow=all
allow=g726
allow=g729
allow=gsm
allow=alaw

then, from 'sip show peer something' it tells me

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

can someone please explaing why?

this is version

Asterisk CVS-v1-0-10/08/04-17:29:04 built by root at sipgw1 on a i686 
running Linux

roy




More information about the asterisk-users mailing list