Page 1 of 1

Call ended trigger

Posted: 14 Oct 2015 21:38
by eldron
Hi,
I am using a flow that starts when i answer or start a call and ends when the call ends.
The flow works fine, but when I call my provider to check my balance the flow starts but does not stop.
It´s not a real call, but a ussd code that´s sent and I then get an on screen message with my balance.
The trouble is that this "call" does not really end, so the flow does not end.
Is there any way to solve this by either not registering the call as a call or by ending it when the on screen message pops up?
I tried the "notification on screen" trigger, but that did not seem to work.

Re: Call ended trigger

Posted: 16 Oct 2015 19:11
by Martin
Hi,

You could use a condition Call State to check if the call is still in state Off-hook immediately after the trigger or after an action Sleep: 1s.
Alternatively you could use a condition to check if it's a special number that needs not to be handled by the call flow, something like condition Expression: startsWith(called_number, "#") could work.

Regards,
Martin

Re: Call ended trigger

Posted: 17 Oct 2015 16:32
by eldron
Went for the "call state" condition and it works like a charm.
Thanks again for your help.