Hello,
I would like to setup a flow that automatically forwards calls based on the number calling. I didn't find any predefined actions for this. How would I accomplish this? Thanks.
Call Forwarding Based On Number Calling
Moderator: Martin
Re: Call Forwarding Based On Number Calling
There is no predefined action, as this is carrier's feature, not phone's. Depends on your carrier, most operator need you to dial *72 + number to forward, to enable the call forwarding. And *720 to cancel all forwarding.
So you can use trigger Incoming call : Ringing, check the number using expression. If it falls within the list you defined, use Action Call number, *72 + number to forward. You can log this to a global list variable when it happens. Try to see my index at the Variable logger flow.
Then another flow using trigger Incoming Call : ended, sleep for about 5-10 second and call number *720 to cancel all forwarding.
I don't know if using this feature will charge you during the activation/deactivation of call forwarding. But most carrier charge you when the call is successfully forwarded, based on usual tariff. Check with your operator first before trying this, as it might cost you an arm and a leg if they charge you per activation/deactivation.
So you can use trigger Incoming call : Ringing, check the number using expression. If it falls within the list you defined, use Action Call number, *72 + number to forward. You can log this to a global list variable when it happens. Try to see my index at the Variable logger flow.
Then another flow using trigger Incoming Call : ended, sleep for about 5-10 second and call number *720 to cancel all forwarding.
I don't know if using this feature will charge you during the activation/deactivation of call forwarding. But most carrier charge you when the call is successfully forwarded, based on usual tariff. Check with your operator first before trying this, as it might cost you an arm and a leg if they charge you per activation/deactivation.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.