Call State

Post your questions and help other users.

Moderator: Martin

Post Reply
berliozz
Posts: 9
Joined: 21 May 2013 09:51

Call State

Post by berliozz » 22 May 2013 11:03

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);

plm
Posts: 19
Joined: 06 May 2013 22:27

Re: Call State

Post by plm » 22 May 2013 21:01

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.
Attachments
MuteNoRingFaceDown.xml
(3.49 KiB) Downloaded 904 times

inReinbek
Posts: 95
Joined: 02 Feb 2013 22:04

Re: Call State

Post by inReinbek » 23 May 2013 08:16

Hi berliozz,

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

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

-> yes: do next ...

berliozz
Posts: 9
Joined: 21 May 2013 09:51

Re: Call State

Post by berliozz » 23 May 2013 09:44

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.

inReinbek
Posts: 95
Joined: 02 Feb 2013 22:04

Re: Call State

Post by inReinbek » 23 May 2013 12:32

The phone idle state means that your device is NOT used as a phone.

Post Reply