[Freeswitch-users] Variables from failed call to be exported to a a new B leg

Anthony Minessale anthony.minessale at gmail.com
Thu Feb 26 14:34:53 PST 2009


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.



On Thu, Feb 26, 2009 at 4:03 PM, Michael Collins <msc at freeswitch.org> wrote:

> >
> > 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090226/a9b5c3d1/attachment-0002.html 


More information about the FreeSWITCH-users mailing list