because you are executing the app on the B leg.<br>you need to set the vars on *that* channel if you want to see them.<br><br><br><div class="gmail_quote">On Thu, Feb 25, 2010 at 10:36 AM, Jonas Gauffin <span dir="ltr">&lt;<a href="mailto:jonas.gauffin@gmail.com">jonas.gauffin@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<div><br></div><div>I&#39;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&#39;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>&lt;document type=&quot;freeswitch/xml&quot;&gt;</div><div>        &lt;section name=&quot;dialplan&quot; description=&quot;ModCurlDialplan&quot;&gt;</div>

<div>                &lt;context name=&quot;public&quot;&gt;</div><div>                        &lt;extension name=&quot;dynamic&quot;&gt;</div><div>                                &lt;condition field=&quot;destination_number&quot; expression=&quot;0500650662&quot;&gt;</div>

<div>                                        &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;</div><div>                                        &lt;action application=&quot;set&quot; data=&quot;continue_on_fail=true&quot;/&gt;</div>

<div>                                        &lt;action application=&quot;set&quot; data=&quot;gate_caller_site_id=3&quot;/&gt;</div><div>                                        &lt;action application=&quot;bind_meta_app&quot; data=&quot;1 b s execute_extension::dx XML default&quot;/&gt;</div>

<div>                                        &lt;action application=&quot;bind_meta_app&quot; data=&quot;3 b s execute_extension::cf XML default&quot;/&gt;</div><div>                                        &lt;action application=&quot;set&quot; data=&quot;gate_bill_extension=95&quot; /&gt;</div>

<div>                                        &lt;action application=&quot;set&quot; data=&quot;gate_destination_user=6&quot; /&gt;</div><div>                                        &lt;action application=&quot;ring_ready&quot;/&gt;</div>

<div>                                        &lt;action application=&quot;bridge&quot; data=&quot;[leg_timeout=5]sofia/internal/u1000006&quot; /&gt;</div><div>                                        &lt;action application=&quot;set&quot; data=&quot;gate_ivr=voicemail&quot; /&gt;</div>

<div>                                        &lt;action application=&quot;javascript&quot; data=&quot;voicemail.js customer 3 6&quot; /&gt;</div><div>                                &lt;action application=&quot;hangup&quot; data=&quot;NO_ANSWER&quot;/&gt;</div>

<div><br></div><div>                        &lt;/condition&gt;</div><div>                &lt;/extension&gt;</div><div>        &lt;/context&gt;</div><div>&lt;/section&gt;</div><div>&lt;/document&gt;</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>

<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:+19193869900<br>