Roy Sigurd Karlsbakk
2004-Dec-15 07:21 UTC
[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
On Wednesday 15 December 2004 14:21, Roy Sigurd Karlsbakk wrote:> 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?http://www.fnords.org/~eric/asterisk/sip.conf.shtml http://lists.digium.com/pipermail/asterisk-dev/2004-September/006406.html> this is version > > Asterisk CVS-v1-0-10/08/04-17:29:04 built by root@sipgw1 on a i686 > running LinuxTry an upgrade to current stable version: http://lists.digium.com/pipermail/asterisk-users/2004-December/076772.html Regards, Antony. -- This email was created using 100% recycled electrons. Please reply to the list; please don't CC me.
What codecs is the sip client configured to use and in which order?> -----Original Message----- > From: Roy Sigurd Karlsbakk [mailto:roy@karlsbakk.net] > Sent: Wednesday, December 15, 2004 4:22 PM > 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 > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > MailScanner thanks transtec Computers for their support.
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