- If I'm at home, ring my home phone
- If I'm at work, ring my desk phone and cellphone
- If I'm somewhere else, just ring my cellphone
I don't see an obvious way to tackle this without using external resources like a database or HTTP server to hold state persistently that is queried from the dialplan. That's fine, I am expecting to write some code behind an HTTP server for some of the other stuff I'd like to do.
The IFTTT mobile apps support notifications on entry/exit of a geofence and can forward that notification to the PushBullet service, so it's easier to do than it might first appear.
Not sure what I'm specifically asking for, exactly. Perhaps a PushBullet destination for notifications which persistently stores the last received notification that matches a pattern, that I can query from my dialplan? There must be multiple ways to solve this, I'm not particularly wedded to any particular one.