<div dir="ltr">There's not a way (to my knowledge) to do this automatically for all defined variables, however you can use the export_vars variable to make a comma separated list of variables to export across legs.<br><br><pre><action application="set" data="export_vars=myvar,myvar2,foo,bar"/></pre><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 14, 2015 at 12:59 PM, Victor Chukalovskiy <span dir="ltr"><<a href="mailto:victor.chukalovskiy@gmail.com" target="_blank">victor.chukalovskiy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Good day, wondering if there is a one-liner method to export all<br>
user-specific variables to the b-leg of the call. I'm referring to all<br>
the vars I set within <variables> section of <user> in the directory.<br>
<br>
I could've done it in the dialplan, but then I need to do it once for<br>
each var:<br>
<action application="export" data="foo1=${foo1}"/><br>
.....<br>
<action application="export" data="fooN=${fooN}"/><br>
<br>
Many thanks!<br>
-Victor<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>