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

Rich Adamson radamson at routers.com
Wed Dec 15 08:30:12 MST 2004


Better tell him that was just implemented in cvs head in the last week
or so. He's running older code where that wasn't true.

------------------------
> 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
> 
> _______________________________________________
> 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

---------------End of Original Message-----------------





More information about the asterisk-users mailing list