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
All variables set on the session appear in the CDR. /b On Aug 25, 2010, at 9:49 AM, Tim St. Pierre 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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Brian West
-
Steven Ayre
-
Tim St. Pierre