Does anyone know if it's possible to set the codecs for a number via an Asterisk command? Ie, yes you can set the codecs in sip.conf for a user, but I'd like to have a command that can set the same thing so that it can be done without having to change sip.conf. Essentially I want the user to be able to prefix a code to their dialled number to set their preferred codec for that call. Possible? Doug.
Douglas Garstang wrote:> Does anyone know if it's possible to set the codecs for a number via an Asterisk command? > > Ie, yes you can set the codecs in sip.conf for a user, but I'd like to have a command that can set the same thing so that it can be done without having to change sip.conf. > > Essentially I want the user to be able to prefix a code to their dialled number to set their preferred codec for that call. > > Possible?Humm..I wonder if what google returned for: "asterisk set codec on a call" http://www.voip-info.org/wiki-Asterisk+variables Would help...Seeems that in fact, google is my friend: "${SIP_CODEC}: Used to set the SIP codec for a call"
Ahhh a variable. I was looking for a command. Thanks, I'll try it out.> -----Original Message----- > From: Julio Arruda [mailto:jarruda-asterisk@jarruda.com] > Sent: Wednesday, April 12, 2006 10:42 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] Setting Codecs on the Fly > > > Douglas Garstang wrote: > > Does anyone know if it's possible to set the codecs for a > number via an Asterisk command? > > > > Ie, yes you can set the codecs in sip.conf for a user, but > I'd like to have a command that can set the same thing so > that it can be done without having to change sip.conf. > > > > Essentially I want the user to be able to prefix a code to > their dialled number to set their preferred codec for that call. > > > > Possible? > > Humm..I wonder if what google returned for: > > "asterisk set codec on a call" > > http://www.voip-info.org/wiki-Asterisk+variables > > Would help...Seeems that in fact, google is my friend: > > "${SIP_CODEC}: Used to set the SIP codec for a call" > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Simply check out the READMEs in asterisk/doc/ in your source directory.> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of > Julio Arruda > Sent: Wednesday, April 12, 2006 12:42 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] Setting Codecs on the Fly > > Douglas Garstang wrote: > > Does anyone know if it's possible to set the codecs for a > number via an Asterisk command? > > > > Ie, yes you can set the codecs in sip.conf for a user, but > I'd like to have a command that can set the same thing so > that it can be done without having to change sip.conf. > > > > Essentially I want the user to be able to prefix a code to > their dialled number to set their preferred codec for that call. > > > > Possible? > > Humm..I wonder if what google returned for: > > "asterisk set codec on a call" > > http://www.voip-info.org/wiki-Asterisk+variables > > Would help...Seeems that in fact, google is my friend: > > "${SIP_CODEC}: Used to set the SIP codec for a call" > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >