[Asterisk-Users] Codec Order / Preference
Hi, I wish my IAX connection negotiates codecs in the following order: 1) speex 2) gsm 3) alaw Is it possible? I tried and I detected * selects gsm prior to speex no matter the order I write my iax.conf allow command. Daniel ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Codec Order / Preference
You cannot specify the order of codec selection with Asterisk On Mon, 2004-02-23 at 13:03, Daniel Bichara wrote: > Hi, > > I wish my IAX connection negotiates codecs in the following order: > > 1) speex > 2) gsm > 3) alaw > > Is it possible? I tried and I detected * selects gsm prior to speex no > matter the order I write my iax.conf allow command. > > Daniel > > ___ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users -- For Asterisk PBX related documentation go to http://www.digium.com/index.php?menu=documentation and look at the "Unofficial Links" section also see http://www.voip-info.org/wiki-Asterisk also see my site at http://www.fnords.org/~eric/asterisk/ BTEL Consulting ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Codec Order / Preference
Really? Did you try disallow=all Allow=speex Allow=gsm Allow=alaw ? T -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Wieling Sent: Monday, February 23, 2004 2:21 PM To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] Codec Order / Preference You cannot specify the order of codec selection with Asterisk On Mon, 2004-02-23 at 13:03, Daniel Bichara wrote: > Hi, > > I wish my IAX connection negotiates codecs in the following order: > > 1) speex > 2) gsm > 3) alaw > > Is it possible? I tried and I detected * selects gsm prior to speex no > matter the order I write my iax.conf allow command. > > Daniel > > ___ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users -- For Asterisk PBX related documentation go to http://www.digium.com/index.php?menu=documentation and look at the "Unofficial Links" section also see http://www.voip-info.org/wiki-Asterisk also see my site at http://www.fnords.org/~eric/asterisk/ BTEL Consulting ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu) that may be confidential, proprietary copyrighted and/or legally privileged. It is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please notify us immediately by reply e-mail and then delete it from your system. -- ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Codec Order / Preference
Regovich, Timothy wrote: Really? Did you try disallow=all Allow=speex Allow=gsm Allow=alaw Yes and it did no work. ? T -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Wieling Sent: Monday, February 23, 2004 2:21 PM To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] Codec Order / Preference You cannot specify the order of codec selection with Asterisk On Mon, 2004-02-23 at 13:03, Daniel Bichara wrote: Hi, I wish my IAX connection negotiates codecs in the following order: 1) speex 2) gsm 3) alaw Is it possible? I tried and I detected * selects gsm prior to speex no matter the order I write my iax.conf allow command. Daniel ___ Asterisk-Users mailing list [EMAIL PROTECTED] 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 [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Codec Order / Preference
That still does not tell Asterisk the ORDER of the codec selection. On Mon, 2004-02-23 at 13:28, Regovich, Timothy wrote: > Really? > Did you try > > disallow=all > Allow=speex > Allow=gsm > Allow=alaw > > ? > > T > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Eric Wieling > Sent: Monday, February 23, 2004 2:21 PM > To: [EMAIL PROTECTED] > Subject: Re: [Asterisk-Users] Codec Order / Preference > > > You cannot specify the order of codec selection with Asterisk > > On Mon, 2004-02-23 at 13:03, Daniel Bichara wrote: > > Hi, > > > > I wish my IAX connection negotiates codecs in the following order: > > > > 1) speex > > 2) gsm > > 3) alaw > > > > Is it possible? I tried and I detected * selects gsm prior to speex no > > matter the order I write my iax.conf allow command. > > > > Daniel > > > > ___ > > Asterisk-Users mailing list > > [EMAIL PROTECTED] > > http://lists.digium.com/mailman/listinfo/asterisk-users > > To UNSUBSCRIBE or update options visit: > >http://lists.digium.com/mailman/listinfo/asterisk-users -- For Asterisk PBX related documentation go to http://www.digium.com/index.php?menu=documentation and look at the "Unofficial Links" section also see http://www.voip-info.org/wiki-Asterisk also see my site at http://www.fnords.org/~eric/asterisk/ BTEL Consulting ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Codec Order / Preference
Unless you hack the code and change the order of the codec selection, I don't think there is another way to do it. Take a look at channel.c, frame.c & rtp.c. -Heison On Mon, Feb 23, 2004 at 01:21:12PM -0600, Eric Wieling wrote: > You cannot specify the order of codec selection with Asterisk > > On Mon, 2004-02-23 at 13:03, Daniel Bichara wrote: > > Hi, > > > > I wish my IAX connection negotiates codecs in the following order: > > > > 1) speex > > 2) gsm > > 3) alaw > > > > Is it possible? I tried and I detected * selects gsm prior to speex no > > matter the order I write my iax.conf allow command. > > > > Daniel > > > > ___ > > Asterisk-Users mailing list > > [EMAIL PROTECTED] > > http://lists.digium.com/mailman/listinfo/asterisk-users > > To UNSUBSCRIBE or update options visit: > >http://lists.digium.com/mailman/listinfo/asterisk-users > -- > For Asterisk PBX related documentation go to > http://www.digium.com/index.php?menu=documentation and look at the > "Unofficial Links" section also see > http://www.voip-info.org/wiki-Asterisk also see my site at > http://www.fnords.org/~eric/asterisk/ > > BTEL Consulting > > ___ > Asterisk-Users mailing list > [EMAIL PROTECTED] > 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 [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Codec Order / Preference
Eric Wieling wrote: You cannot specify the order of codec selection with Asterisk My understanding is that when using SIP, the order within the [general] section does affect priority. This has been confirmed by my own testing. However the order within individual user/peer settings, don't. I see this is on the wishlist for chan_sip2. I don't have so much experience with other channel types. F ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users