Download Task
Download Profile
I've prepped this for the first time I leave the United States so that my phone number stays active and I don't use any international roaming.
Currently, it doesn't bother to activate Airplane mode.
It requires the following apps in addition to Tasker:
And relies upon a Google Voice account being set up in a way which forwards to your SipDroid. I use Gizmo5, a coworker uses SipGate.
I also assume that call forwarding works as follows (accurate for Verizon):
- Dialing *72 before a number activates call forwarding to that number.
- Dialing *73 deactivates call forwarding.
This consists of two tasks: one task activated by a widget which toggles call forwarding and the use of Google Voice for outgoing calls, another which displays the current call forwarding status on boot and ensures the right Voice settings. The current call forwarding state is saved into a hidden file on the SD card.
First Task - Call Fowarding Toggle:
- Variable Set %ONE to 1, If %ONE not set.
- Read Line, File: .callfwd, Line: %ONE, To Var %CALLFWD
- Variable Set: %CALLFWD, To: 1 - %CALLFWD, Do Math is Checked
- Call *724085551234, Auto Dial, If %CALLFWD = 1
- Notify, Title: Call Forwarding, Permanent, If %CALLFWD = 1
- Plugin -> Google Voice Callback: When internet is available, If %CALLFWD = 1
- Call *73, Auto Dial, If %CALLFWD = 0
- Notify Cancel, Title: Call Forwarding, If %CALLFWD = 0
- Plugin -> Google Voice Callback: Never, If %CALLFWD = 0
- Write File: .callfwd, Append: Off, Text: %CALLFWD
Profile - Call Fowarding Notification on Boot
- Variable Set %ONE to 1, If %ONE not set.
- Read Line, File: .callfwd, Line: %ONE, To Var %CALLFWD
- Notify, Title: Call Forwarding, Permanent, If %CALLFWD = 1
- Plugin -> Google Voice Callback: When internet is available, If %CALLFWD = 1
- Plugin -> Google Voice Callback: Never, If %CALLFWD = 0
Create a widget which activates the Call Fowarding Toggle task and make sure to run this before you leave your cell phone coverage area. (Oh, and test the setup.)