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.
outgoing call duration counter
Moderator: Martin
Re: outgoing call duration counter
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:
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:
-
- Posts: 109
- Joined: 16 Apr 2014 04:57
Re: outgoing call duration counter
For recognising the exact off-hook time of an outgoing call, please refer to
viewtopic.php?f=3&t=8551
viewtopic.php?f=3&t=8551
-
- Posts: 109
- Joined: 16 Apr 2014 04:57
Re: outgoing call duration counter
Here's a flow that tells the exact duration of both incoming and outgoing calls.
viewtopic.php?f=3&t=8552
viewtopic.php?f=3&t=8552