Thread
:
Google voice auto forwarding?
View Single Post
rosh
2010-12-12 , 17:08
Posts: 93 | Thanked: 13 times | Joined on Nov 2010
#
1
I use google voice alot to ring my n900. However as a prepaid tmo customer i need to save my minutes as much as possible. So i need GV to forward the call to my SIP # on N900 whenever im in Wifi and sip is up otherwise i need GV to forward the call to my TMO #.
With the current system i can not do that (i.e. check the SIP first and if its down try the TMO # via GV). So i have the following idea. Not sure if its worth to try. However i have no knowledge writing scripts in N900.
Here are the steps.
1. N900 should send a HTTP GET or POST request to a given address whenever SIP/IM account is getting up or down. (or within regular intervals). Ex.
www.myserver.php?sip=1
(when sip is up) or sip=0 when its down.
2. I can write a program in PHP to get the request and change my GV forwarding option according to the sip=1/0 status.
Ex. Say im in WiFi an my Sip is up. Then my N900 should send
www.myserver.php?sip=1
and my PHP script on the server grab it and set the GV to farward the call to my SIP no and vise versa.
------------------
I can manage to write the PHP scrip to manage GV forwarding option according to the GET/POST request.
If somebody can help to write a script to send the SIP/IM status (plus WiFi name if possible to check where you are, home or office additionally) via HTTP request it would be great.
Hope the story is clear and any idea appreciated.
Quote & Reply
|
rosh
View Public Profile
Send a private message to rosh
Find all posts by rosh