[Asterisk-Users] Setting Codecs on the Fly

Julio Arruda jarruda-asterisk at jarruda.com
Wed Apr 12 09:41:33 MST 2006


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"



More information about the asterisk-users mailing list