>
> to make sure that there is indeed a value and that it gets exported to
> the second b-leg try this:
> <action application="set" data="my_var=${nolocal:sip_hangup_phrase}"/>

oops, that set line should have been:
<action application="set" data="my_var=${sip_hangup_phrase}"/>
That "nolocal:" was extraneous from a lazy copy & paste

> <action application="export" data="my_var" />
>
> see if my_var is populated on the new b-leg.
> -MC
>

The most elegant solution is the one Brian gave:
<action application="set" data=""export_vars=sip_hangup_phrase"/>

So use it, please, and forget what I wrote. :)
-MC

_______________________________________________
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

Reply via email to