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.

<action application="set" data="export_vars=myvar,myvar2,foo,bar"/>


On Wed, Oct 14, 2015 at 12:59 PM, Victor Chukalovskiy <victor.chukalovskiy@gmail.com> wrote:
Good day, wondering if there is a one-liner method to export all
user-specific variables to the b-leg of the call. I'm referring to all
the vars I set within <variables> section of <user> in the directory.

I could've done it in the dialplan, but then I need to do it once for
each var:
<action application="export" data="foo1=${foo1}"/>
.....
<action application="export" data="fooN=${fooN}"/>

Many thanks!
-Victor

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org