outgoing call duration counter

Share and discuss your flows and ideas with other users.

Moderator: Martin

Post Reply
vamzicool
Posts: 67
Joined: 29 Dec 2014 17:47

outgoing call duration counter

Post by vamzicool » 25 May 2015 14:04

http://automagic4android.com/flow.php?i ... 6450021fc9

The two flows tracks the call duration of the outgoing calls and displays them in the widget. This maybe inaccurate because automagic doesn't have a call duration variable and thus I have to use the outgoing call offhook and idle triggers to measure the time. The problem lies in the offhook event which triggers the instant the call is made rather than when the other party takes the call. Suggestions are welcome.

Lucy
Posts: 225
Joined: 10 Aug 2019 11:24

Re: outgoing call duration counter

Post by Lucy » 18 Nov 2019 05:57

Hey... the flow errors on the end call?!....


Log:

18.11.2019 16:54:29.010 [End call duration counter] End executing action 'Script: global_call_end_time = getDurationMillis(triggertime); global_talktime = global_talktime + (global_call_end_time - global_call_start_time); global_talktime_str = getDurationString(global_talktime);' and exception can not convert value 'global_talktime + (global_call_end_time - global_call_start_time)34463335823170701433479326165' to number (Expression: getDurationString(global_talktime)[line 2])
18.11.2019 16:54:29.029 [End call duration counter] Flow ends execution due to errors
18.11.2019 16:54:29.030 [End call duration counter] Error:

akhileshg1988
Posts: 109
Joined: 16 Apr 2014 04:57

Re: outgoing call duration counter

Post by akhileshg1988 » 27 Jan 2020 14:53

For recognising the exact off-hook time of an outgoing call, please refer to

viewtopic.php?f=3&t=8551

akhileshg1988
Posts: 109
Joined: 16 Apr 2014 04:57

Re: outgoing call duration counter

Post by akhileshg1988 » 27 Jan 2020 15:09

Here's a flow that tells the exact duration of both incoming and outgoing calls.

viewtopic.php?f=3&t=8552

Post Reply