[Freeswitch-users] dialplan variables in XML cdr

Steven Ayre steveayre at gmail.com
Wed Aug 25 13:35:22 PDT 2010


Are you setting them on the A-leg and looking for them on the b-leg cdr? If
so, look at the export app:
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_export

Or are you setting it on the B-leg and looking for it on the A-leg? If so,
look at setting the import variable:
http://wiki.freeswitch.org/wiki/Variable_import

Apart from that, as brian said the xml cdr will contain every variable. If
it's not there, it's not set.

-Steve

On 25 August 2010 15:49, Tim St. Pierre <fs-list at communicatefreely.net>wrote:

> Hello,
>
> Is there a way to have some custom dialplan variables appear in the XML cdr
> output?  We want to log
> some things about the call, such as what option was chosen, which carrier
> route, etc.  I want to be
> able to set a value in the dialplan and then figure out what it was in the
> CDR so we can do reports
> on it later.  The variables I set aren't in the <variables> section.  Is
> there any way to enable
> this, or am I missing something?
>
> Thanks!
>
> -Tim
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100825/15016ec5/attachment.html 


More information about the FreeSWITCH-users mailing list