Page 1 of 1

Call State

Posted: 22 May 2013 11:03
by berliozz
Dear experts.
Can you help me, how to get End of Call condition?
Now, we have a condition Call state with next variants:
- Ringing;
- Idle;
- Off-hook.

But I can't check end of call. That state include in trigger, but not in conditions.

I can create second flow for it, but this solution doesn't beautifull.

My point of interest, create a flow which swith phone to silent mode when it droped face down.
Rule must to do:
- swith to silent mode;
- back to previous state after call ending (Restore Volume);

Re: Call State

Posted: 22 May 2013 21:01
by plm
I'm not sure I have understood your needs ... in any case, the flow attached do the following things:
If the phone is PLACED FACE DOWN...
DURING a call, the microphone is muted and you can speak freely without the other person can hear what you say
WAITING a call, the ringer volume is set to 0 then the phone will not ring if someone will call
If the phone is placed in ANY OTHER POSITION, the phone will operate normally: the caller can hear what you say and your phone will ring if someone calls.
Hope this can help.

Re: Call State

Posted: 23 May 2013 08:16
by inReinbek
Hi berliozz,

try it like this:
condition "call state" = idle

-> no: wait 5s and go back to condition above

-> yes: do next ...

Re: Call State

Posted: 23 May 2013 09:44
by berliozz
I create two flow for this case.
You can find it in next topic: http://automagic4android.com/forum/view ... 2850#p2850
Please, comment, how to make it better.

P.S.
What mean phone idle state? I think that pause mode when I off-hook and get second line incoming call.

Re: Call State

Posted: 23 May 2013 12:32
by inReinbek
The phone idle state means that your device is NOT used as a phone.