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

Brian West
Wed, 15 Dec 2004 08:16:30 -0000

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@lists.digium.com [mailto:asterisk-users-
> bounces@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@sipgw1 on a i686
> running Linux
>
> roy
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users@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