[Asterisk-Dev] Re: [Asterisk-cvs] asterisk/configs
extensions.conf.sample,1.34,1.35
Florian Overkamp
florian at obsimref.com
Fri Oct 29 10:59:36 MST 2004
Hi,
On Sun, 2004-10-24 at 05:49, markster at lists.digium.com wrote:
> ; switch => IAX2/user:password at bigserver/local
> +;
> +; An "lswitch" is like a switch but is literal, in that
> +; variable substitution is not performed at load time
> +; but is passed to the switch directly (presumably to
> +; be substituted in the switch routine itself)
> +;
> +; lswitch => Loopback/12${EXTEN}@othercontext
>
Could we make one variable parsed and one literal ?
I'm thinking of using this for SIP SRV virtual hosting:
lswitch = Loopback/${EXTEN}*${SIPDOMAIN}@in-guest
However, inside the local channel ${SIPDOMAIN} is empty, therefore the
${SIPDOMAIN} should really be expanded before going into the switch. Can
that be done ?
Florian
More information about the asterisk-dev
mailing list