July 2017
Intermediate to advanced
434 pages
12h 59m
English
You may want to set or override variables in dialplan, earlier, instead of resorting to last moment dialstring.
When you want to set a variable in both the current (A-leg) call and any future originated B-legs (typically originated later with one or more bridge applications) you "export" a variable (note: no single quotes to escape the variable's value string):
<extension name="bridge_test_03">
<condition field="destination_number" expression="^2910$">
<action application="export" data="absolute_codec_string=PCMA,PCMU"/>
<action application="bridge" data="user/1011"/>
</condition>
</extension>
In this specific case, we made a subtle impropriety: we exported the variable to both A-leg ...
Read now
Unlock full access