[Freeswitch-users] Call Variable not available when call hangup

Ken Rice krice at freeswitch.org
Mon Feb 2 04:11:28 PST 2009


As I told you on IRC, the call is not completed at that stage... So there is
no hangup time...  You must post process the call or figure out your own
start answer and stop times....


> From: shehzad p <pmhshz at gmail.com>
> Reply-To: <freeswitch-users at lists.freeswitch.org>
> Date: Mon, 2 Feb 2009 04:07:57 -0800 (PST)
> To: <freeswitch-users at lists.freeswitch.org>
> Subject: [Freeswitch-users]  Call Variable not available when call hangup
> 
> 
> Hi all,
> 
> I need to process some CDR variables in Dialplan, like call duration,
> Answered time etc.
> but when I place info application after bridge, it is not listing them
> properly as below:
> ===========================================
> Caller-Channel-Created-Time: [1233573341672157]
> Caller-Channel-Answered-Time: [1233573342712939]
> Caller-Channel-Hangup-Time: [0]
> ==========================================
> Here Hangup time is 0, So how can I find actual values?
> 
> --I know that we can use xml_cdr or cdr_csv, but my current need is to get
> those values from dialplan itself so that can be passed to some script...
> 
> 
> thanks,
> msp
> -- 
> View this message in context:
> http://www.nabble.com/Call-Variable-not-available-when-call-hangup-tp21788550p
> 21788550.html
> Sent from the Freeswitch-users mailing list archive at Nabble.com.
> 
> 
> _______________________________________________
> 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






More information about the FreeSWITCH-users mailing list