[asterisk-dev] Python gvoice calls now fail with Asterisk 1.8.0 and 1.8.1-rc1

Ward Mundy wardmundy at gmail.com
Wed Dec 8 00:17:09 UTC 2010


With Google's recent change requiring HTTP authentication for outbound
Gtalk/Jabber calls, a problem has appeared with Asterisk 1.8.0 and
1.8.1-rc1. The Python method for making these calls was to call a script
called gvoice which handled all of the authentication cookies to make it
through Google's security maze. The script still can be run without a
problem from the Linux CLI. However, when it is embedded in the dialplan and
called with a line like the following, ALL outbound calls fail with a time
out reporting no ringback from Google:

exten => _X.,1,System(gvoice -e username at gmail.com -p userpassword call
${EXTEN} username at gmail.com 9 &)
exten => _X.,n,Set(DB(gv_dialout_username/channel)=${CHANNEL})
exten => _X.,n,Wait(10)
exten => _X.,n,Noop(Never received callback from Google Voice on channel
${DB_DELETE(gv_dialout_username/channel)} – exiting)

This code works fine with Asterisk 1.6.2. The workaround with Asterisk 1.8.x
has been to restart Asterisk after logging in to the Linux CLI. Sometimes, a
single restart will suffice, but often two or three are required. Then the
outbound calls work properly with the syntax above until the server is
rebooted. Attempts to embed the multiple restarts in the Linux startup
script have no effect. The calls continue to fail.

The platform is the Incredible PBX running under CentOS 5.5 with Asterisk
1.8.0 or 1.8.1-rc1 and FreePBX 2.8.

Any ideas??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20101207/63eb5d08/attachment-0001.htm 


More information about the asterisk-dev mailing list