<div dir="ltr">There&#39;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>&lt;action application=&quot;set&quot; data=&quot;export_vars=myvar,myvar2,foo,bar&quot;/&gt;</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">&lt;<a href="mailto:victor.chukalovskiy@gmail.com" target="_blank">victor.chukalovskiy@gmail.com</a>&gt;</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&#39;m referring to all<br>
the vars I set within &lt;variables&gt; section of &lt;user&gt; in the directory.<br>
<br>
I could&#39;ve done it in the dialplan, but then I need to do it once for<br>
each var:<br>
&lt;action application=&quot;export&quot; data=&quot;foo1=${foo1}&quot;/&gt;<br>
.....<br>
&lt;action application=&quot;export&quot; data=&quot;fooN=${fooN}&quot;/&gt;<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>