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

Brian West brian at bkw.org
Wed Dec 15 08:16:30 MST 2004


Yes it does.... the global codecs pref is used if you don't have a per peer
codec pref.  Please define the codec pref under the peer you wish to have
the ordering.

bkw

> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] On Behalf Of Roy Sigurd Karlsbakk
> Sent: Wednesday, December 15, 2004 8:22 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [Asterisk-Users] codec order in SIP doesn't work
> 
> 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
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list