Page 1 of 1

Outgoing Call bug?

Posted: 19 Feb 2014 12:02
by colabi
Case1
Trigger: Outgoing Call - All - Off-Hook >
Condition: Call State - Off-Hook > true >
Actiun: Vibrate
-allways return value false

Case2
Trigger: Outgoing Call - All - Off-Hook >
Action: Sleep - 1s
Condition: Call State - Off-Hook > true >
Actiun: Vibrate
-allways return value false

Case3
Trigger: Outgoing Call - All - Off-Hook >
Action: Sleep - 2s
Condition: Call State - Off-Hook > true >
Actiun: Vibrate
-return value true

Re: Outgoing Call bug?

Posted: 19 Feb 2014 17:52
by Martin
That's an interesting finding. The Android API used to query the call state seems not to be consistent with the telephony events but needs some time until it recognizes the new call state.
I could probably add a setting to wait some seconds until 'Off-hook' is checked, but I'm not sure if this could cause unwanted side effects in some other cases. I have to check if there's a better solution to this.