Correct progress time variable in CDR
In my setup when Invite comes to freeswitch dialplan plays a sound file and then Bridge the call to destination. I am using csv CDR and trying to get timestamp when there is either 180 or 183 from end destination (After bridge). What variables should I use the correct progress timestamp. I printed variables in two extensions .. Extension 1 (where sound file is being played) ------------------------------------------------------------------ Caller-Profile-Created-Time: [1422696316256090] Caller-Channel-Created-Time: [1422696316256090] Caller-Channel-Answered-Time: [0] Caller-Channel-Progress-Time: [0] Caller-Channel-Progress-Media-Time: [0] Extension 2 (where call is being bridged transferred from Extension 1) ---------------------------------------------------------------------------------------------------- Caller-Profile-Created-Time: [1422696320776083] Caller-Channel-Created-Time: [1422696316256090] Caller-Channel-Answered-Time: [0] Caller-Channel-Progress-Time: [0] Caller-Channel-Progress-Media-Time: [1422696316256090]
From this log I think progress timestamp is the one generated when sound file plays but I need the progress time when 180/183 received after bridge.
You'll want to look at the timestamps set on the b-leg. On 31 January 2015 at 14:28, John Nash <john.nash778@gmail.com> wrote:
In my setup when Invite comes to freeswitch dialplan plays a sound file and then Bridge the call to destination. I am using csv CDR and trying to get timestamp when there is either 180 or 183 from end destination (After bridge). What variables should I use the correct progress timestamp.
I printed variables in two extensions ..
Extension 1 (where sound file is being played) ------------------------------------------------------------------ Caller-Profile-Created-Time: [1422696316256090] Caller-Channel-Created-Time: [1422696316256090] Caller-Channel-Answered-Time: [0] Caller-Channel-Progress-Time: [0] Caller-Channel-Progress-Media-Time: [0]
Extension 2 (where call is being bridged transferred from Extension 1)
---------------------------------------------------------------------------------------------------- Caller-Profile-Created-Time: [1422696320776083] Caller-Channel-Created-Time: [1422696316256090] Caller-Channel-Answered-Time: [0] Caller-Channel-Progress-Time: [0] Caller-Channel-Progress-Media-Time: [1422696316256090]
From this log I think progress timestamp is the one generated when sound file plays but I need the progress time when 180/183 received after bridge.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
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
Yes in B leg CDR I can see B leg Invite created time and from that I can get but the issue is .But if I use bleg CDR (and ignore a leg) I miss UUID of aleg. (In aleg CDR I get both UUID) any suggestion? On Sun, Feb 1, 2015 at 7:36 PM, Steven Ayre <steveayre@gmail.com> wrote:
You'll want to look at the timestamps set on the b-leg.
On 31 January 2015 at 14:28, John Nash <john.nash778@gmail.com> wrote:
In my setup when Invite comes to freeswitch dialplan plays a sound file and then Bridge the call to destination. I am using csv CDR and trying to get timestamp when there is either 180 or 183 from end destination (After bridge). What variables should I use the correct progress timestamp.
I printed variables in two extensions ..
Extension 1 (where sound file is being played) ------------------------------------------------------------------ Caller-Profile-Created-Time: [1422696316256090] Caller-Channel-Created-Time: [1422696316256090] Caller-Channel-Answered-Time: [0] Caller-Channel-Progress-Time: [0] Caller-Channel-Progress-Media-Time: [0]
Extension 2 (where call is being bridged transferred from Extension 1)
---------------------------------------------------------------------------------------------------- Caller-Profile-Created-Time: [1422696320776083] Caller-Channel-Created-Time: [1422696316256090] Caller-Channel-Answered-Time: [0] Caller-Channel-Progress-Time: [0] Caller-Channel-Progress-Media-Time: [1422696316256090]
From this log I think progress timestamp is the one generated when sound file plays but I need the progress time when 180/183 received after bridge.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
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 (2)
-
John Nash
-
Steven Ayre