set the var failed_xml_cdr_prefix=foo before you call bridge
and the failed calls will have a complete xml cdr saved in foo_X where X is an incrementing number from 1 upwards.
>oops, that set line should have been:
> 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}"/>
<action application="set" data="my_var=${sip_hangup_phrase}"/>
That "nolocal:" was extraneous from a lazy copy & paste
The most elegant solution is the one Brian gave:
> <action application="export" data="my_var" />
>
> see if my_var is populated on the new b-leg.
> -MC
>
<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