Hello,<div><br></div><div>I'm trying to use bind_meta_app together with variables defined by me in the original dial plan.</div><div>The problem is that they doesn't seem to follow the channel into the dial plan when the meta application is running.</div>
<div><br></div><div>i.e.</div><div><br></div><div>Dialing from an external number:</div><div><div><document type="freeswitch/xml"></div><div> <section name="dialplan" description="ModCurlDialplan"></div>
<div> <context name="public"></div><div> <extension name="dynamic"></div><div> <condition field="destination_number" expression="0500650662"></div>
<div> <action application="set" data="hangup_after_bridge=true"/></div><div> <action application="set" data="continue_on_fail=true"/></div>
<div> <action application="set" data="gate_caller_site_id=3"/></div><div> <action application="bind_meta_app" data="1 b s execute_extension::dx XML default"/></div>
<div> <action application="bind_meta_app" data="3 b s execute_extension::cf XML default"/></div><div> <action application="set" data="gate_bill_extension=95" /></div>
<div> <action application="set" data="gate_destination_user=6" /></div><div> <action application="ring_ready"/></div>
<div> <action application="bridge" data="[leg_timeout=5]sofia/internal/u1000006" /></div><div> <action application="set" data="gate_ivr=voicemail" /></div>
<div> <action application="javascript" data="voicemail.js customer 3 6" /></div><div> <action application="hangup" data="NO_ANSWER"/></div>
<div><br></div><div> </condition></div><div> </extension></div><div> </context></div><div></section></div><div></document></div></div><div><br></div>
<div>Destination user pressed *1</div><div><br></div><div>Freeswitch sends second request through mod_curl to my server. My variable_gate_XXXXX variables is not defined.</div><div><br></div><div>Regards,</div><div> Jonas</div>