[Freeswitch-users] variable substitutions
Brian May
brian at microcomaustralia.com.au
Sun Feb 21 18:13:01 PST 2010
In the sample dialplan, I see the syntax ${...} and the syntax
$${...}. Are both these correct? Using eval suggests that the later
simply prefix the result with a dollar sign, I am not sure if this
intended...
examples - copied from random non-sequential lines in default.xml:
<action application="set" data="ringback=${us-ring}"/>
<action application="bridge"
data="user/${dialed_extension}@${domain_name}"/>
and for the $${...} syntax:
<action application="set" data="transfer_ringback=$${hold_music}"/>
<action application="set" data="ringback=$${uk-ring}"/>
<action application="bridge" data="sofia/$${domain}/2000 at bkw.org"/>
Maybe both mean the same thing?
--
Brian May <brian at microcomaustralia.com.au>
More information about the FreeSWITCH-users
mailing list