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

Roy Sigurd Karlsbakk
Wed, 15 Dec 2004 07:21:41 -0000

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@sipgw1 on a i686
running Linux

roy