OH But it is just that simple.
You also have:
-= Info about application 'ImportVar' =-
[Synopsis]:
Set variable to value
[Description]:
ImportVar(#n=channel|variable): Sets variable n to variable as evaluated
on
the specified channel (instead of current). If prefixed with _, single
Brian West wrote:
OH But it is just that simple.
You also have:
-= Info about application 'ImportVar' =-
[Synopsis]:
Set variable to value
[Description]:
ImportVar(#n=channel|variable): Sets variable n to variable as evaluated
on
the specified channel (instead of current). If prefixed with
is it possible, from an agi script or directly in extensions.conf,
to override the DTMF and codec settings?
to answer my own question
SetVar(SIP_CODEC=g726)
allowed me to force g726, but only on outgoing calls.
when dialling in from the iax server, I do the same, setting the
codec etc, but this
On Sat, 27 Nov 2004, Roy Sigurd Karlsbakk wrote:
Change this into SetVar(_SIP_CODEC=g726) and it will work.
you sure?
sipgw1:/usr/src/asterisk # grep -r _SIP_CODEC .
sipgw1:/usr/src/asterisk #
The leading underscore means the variable will be inherited by the
outgoing channel. Did you
Roy Sigurd Karlsbakk wrote:
Change this into SetVar(_SIP_CODEC=g726) and it will work.
you sure?
sipgw1:/usr/src/asterisk # grep -r _SIP_CODEC .
sipgw1:/usr/src/asterisk #
I don't think the leading underscore is part of the source. . and it's
defined in the channels dir:
is it possible, from an agi script or directly in extensions.conf, to
override the DTMF and codec settings?
to answer my own question
SetVar(SIP_CODEC=g726)
allowed me to force g726, but only on outgoing calls.
when dialling in from the iax server, I do the same, setting the codec
etc, but this
Roy Sigurd Karlsbakk wrote:
is it possible, from an agi script or directly in extensions.conf, to
override the DTMF and codec settings?
to answer my own question
SetVar(SIP_CODEC=g726)
allowed me to force g726, but only on outgoing calls.
when dialling in from the iax server, I do the same,