Speed dial to post to url. Part of my Google voice 2014 workaround.
giqcass:
Use Speed Dial 99 to store a variable representing the Phone number you want to call. Pass that variable to a url that will initiate the call.
System Management
>>>>>>>>>>>>>>>Auto Provisioning
>>>>>>>>>>>>>>>>>>>>>>>>>>>Auto Firmware Update
Method = Periodically
Interval = 5
FirmwareURL = IF ( $UDM0 >=1 ) FWU http://www.yourdomain.com/secretkey/$UDM0
System Management
>>>>>>>>>>>>>>>Auto Provisioning
>>>>>>>>>>>>>>>>>>>>>>>>>>User Defined Macro 0
Value = $SpeedDial.99
ExpandIn = X_DeviceManagement.FirmwareUpdate.FirmwareURL
Notes: This works but I currently must reset speed dial 99 manually. I have to work on the syntax to reset Speed dial 99 to 0 or empty after the url call.
giqcass:
Thanks to azrobert for this part of the setup. I was having issues with this string. This allows you to dial *0 and the number you want to dial to initiate the callback. The Number you want to dial will be place in slot 99 of your speed dial.
Star Codes
>>>>>>>>>Star code profile A
>>>>>>>>>>>>>>>>>>>>>>Code 30 = *0(<99>), Set Speed Dial, coll($Spd[$Code])
Quote from: azrobert on March 15, 2014, 08:54:14 am
Set StarCode#30 to:
*0(<99>), Set Speed Dial, coll($Spd[$Code])
Dial *018005551212
I will have to work on the logic that resets the variables after the call now. Currently this must be done manually.
giqcass:
This is the state of my current best process for free Google Voice callback initiated via telephone. It requires a lot of setup and is not ready for everyone. I have had a lot of help from azrobert. This involves using code found here. You must install it on your own web server. I have not found a free host that is compatible yet however it can be run on a home web server and on some paid web servers. The primary requirements are that the server does not have an open base directory and PHP is not running in safe mode. I have hopes of modifying the script to work on a free web host. Speed dial 99 must be left blank to use this trick. That is where the number is stored for callback.
Once everything is set up you can dial the number you want to call. Using the *0 and then the number.
You will hear a confirmation tone then hang up.
You will receive an incoming call and when you pick up the phone the number you dialed will be connected.
One limitation is that you can not dial the exact same number twice in a row. If you wish to place a call to the last person you dialed you may redial the number with a different format then the one you used last time. If you dialed *014195551212 last time then this time you must dial *04195551212 to place the call.
http://192.168.1.100:5090 must be replaced with the address of the web server you uploaded this code to.
Modifications to the Obi.
Star Codes
>>>>>>>>>Star code profile A
>>>>>>>>>>>>>>>>>>>>>>Set star code 30 as follows
*0(1xxxxxxxxxx|[2-9]xxxxxxxxx), Set Speed Dial, set($Spd[99],$code)
System Management
>>>>>>>>>>>>>>>Auto Provisioning
>>>>>>>>>>>>>>>>>>>>>>>>>>>Set ITSP Provisioning as follows.
Method = Periodically
Interval = 5
ConfigURL = SET TPRM1 = $UDM0; @loop IF ( $TPRM1 != $UDM0 ) SYNC http://192.168.1.100:5090/gvcall.PHP?cancel=no&dialnum=$UDM0; SET TPRM1 = $UDM0; WAIT 5; GOTO loop;
System Management
>>>>>>>>>>>>>>>Auto Provisioning
>>>>>>>>>>>>>>>>>>>>>>>>>>Set User Defined Macro 0 as follows.
Value = $SpeedDial.99
ExpandIn = ALL
Thanks to azrobert for his latest help and thank you to Aaron Parecki for the Google Voice API. Hopefully setup can eventually be simplified and the last few bugs ironed out.
Quote from: azrobert on March 21, 2014, 09:50:20 pm
The following works.
ITSP Provisioning:
Method: System Start
ConfigURL:
SET TPRM1 = $UDM0; @loop IF ( $TPRM1 != $UDM0 ) SYNC http://192.168.1.100:5090/gvcall.PHP?cancel=no&dialnum=$UDM0; SET TPRM1 = $UDM0; WAIT 5; GOTO loop;
Dial *01623594100
You don't have to reset Speed Dial 99.
The dialed number must be different than the last number dialed.
If you want to redial, dial the number with/without country code so it will be different than the last number dialed.
giqcass:
azrobert has made some upgrades that I plan to test myself. I am currently running the same php code found here. I am running it on my Mac without adding any additional software. Mac has apache built in so you just need to turn on the webserver and php.
Quote from: azrobert on March 22, 2014, 08:59:58 am
I made some changes.
I didn't like *0, so I changed it to just *
I added 7 digit dialing. Change 480 in the StarCode30 to your local area code.
I added a redial feature (*00). It can only be used once after dialing a number.
StarCode30:
*(1xxxxxxxxxx|xxxxxxxxxx|<1480>xxxxxxx|00), Set Speed Dial, set($Spd[99],$code)
ITSP Provisioning:
Method: System Start
ConfigURL:
SET TPRM1 = $UDM0; @loop IF ( $UDM0 == 00 ) GOTO redial; SET TPRM2 = $UDM0; GOTO checkit; @redial SET TPRM2 = $TPRM1; @checkit IF ( $TPRM1 != $UDM0 ) SYNC http://192.168.1.100:5090/gvcall.PHP?cancel=no&dialnum=$TPRM2; SET TPRM1 = $UDM0; WAIT 5; GOTO loop;
I refined this method, but this was giqcass' idea. I would have never thought of this hack.
This is a better method than the one I was using with the Wamp Server.
Anyway, thank you giqcass.
azrobert:
giqcass,
In another thread you said you looked at Tropo.
Tropo is what I originally used to get the callback script to work. The callback script won't run under Tropo, but you can use it to bridge SIP to HTTP. I have 2 versions.
Version 1
Tropo initiates the callback via the Wamp Server.
The Tropo script waits 40 seconds.
You don't have to hang up.
When the callback arrives, you hear the Call Waiting tone.
Hit flash to connect to the call.
You can also hang up and wait for the callback to ring your phone.
Version 2
Tropo initiates the callback via the Wamp Server.
The Tropo script enters a Tropo conference.
You don't hang up.
The callback number is pointed to the same conference.
When the callback arrives you are connected without doing anything.
When you hang up the Tropo script issues a GV call cancel via Wamp.
If you didn't cancel the call and the callee didn't hang up, they would stay connected to the conference.
IMHO, the best way to run the callback script is under Asterisk. With Asterisk you can also merge the outgoing call with the callback.
Navigation
[0] Message Index
[#] Next page
[*] Previous page