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: 183
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:

Post Reply