GVoice command not working

rossiv

Guru
Joined
Oct 26, 2008
Messages
2,624
Reaction score
139
At least on my install, the "gvoice" command line program was not working. This is/was due to Google changing the login URL. I am happy to report that "hybj.pbx" has fixed the issue.
Currently, users may be receiving a "Login Failed" message when trying to use the GVoice utility - this fixes that, for me at least.

On a PIAF-Purple with Incredible v1 installed, the file to edit is "/usr/lib/python2.4/site-packages/googlevoice/settings.py"

Change the line (around 22 or 23) that (probably) reads
Code:
LOGIN = 'https://www.google.com/accounts/ServiceLoginAuth?service=grandcentral'
to
Code:
LOGIN = 'https://accounts.google.com/ServiceLogin?service=grandcentral&continue=https://www.google.com/voice'
 

duggerd

Member
Joined
Jun 23, 2011
Messages
52
Reaction score
1
Confirmed on 2 boxes. The gvoice command does not work. It rejects the logon attempts.
Ross's fix does not work for me.
Edit: I think his fix does not work because my PIAF boxes have SSL certificates installed.

My status

Code:
 PBX in a Flash PURPLE Status
 ──────────────────────────────────────────────────────────────────────────────
   ┌────────────────────────System Information───────────────────────────┐
   │  Asterisk   = ONLINE  | Dahdi     = ONLINE  | MySQL     = ONLINE    │
   │  SSH        = ONLINE  | Apache    = ONLINE  | Iptables  = OFFLINE   │
   │  Fail2ban   = OFFLINE | Internet  = ONLINE  | Ip6Tables = OFFLINE   │
   │  BlueTooth  = ONLINE  | Hidd      = ONLINE  | NTPD      = ONLINE    │
   │  SendMail   = ONLINE  | Samba     = OFFLINE | Webmin    = ONLINE    │
   │  Ethernet0  = ONLINE  | Ethernet1 = N/A     | Wlan0     = N/A       │
   │                                                                     │
   │  PBX in a Flash Version   = 1.7.5.6 Running on *HARDWARE*           │
   │  FreePBX Version          = 2.8.1.4                                 │
   │  Running Asterisk Version = 1.8.4.1                                 │
   │  Asterisk Source Version  = 1.8.4.1                                 │
   │  Dahdi Source Version     = 2.4.1.2+2.4.1                           │
   │  Libpri Source Version    = 1.4.11.5                                │
   │  IP Address               = 192.168.1.11 on eth0                    │
   │  Operating System         = CentOS release 5.6 (Final)              │
   │  Kernel Version           = 2.6.18-238.9.1.el5 - 32 Bit             │
   │                                                                     │
   └─────────────────────────────────────────────────────────────────────┘
 
Joined
Apr 17, 2009
Messages
829
Reaction score
9
command line works, most of the time on mine. however web never based gui you created seems to never work now..
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,159
Reaction score
5,192
This is now fixed in Incredible PBX 2 installs. Thanks.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,159
Reaction score
5,192
Here's the one line patch:

sed -i 's|https://www.google.com/accounts/ServiceLoginAuth?service=grandcentral|https://accounts.google.com/ServiceLogin?service=grandcentral\&continue=https://www.google.com/voice|' /usr/lib/python2.4/site-packages/googlevoice/settings.py
 

JRoque

Member
Joined
Jun 2, 2008
Messages
40
Reaction score
1
Hi. I can also confirm that none of my outbound GV trunks were working as of this morning. Applying this fix immediately restored service - no reload or reboot needed. I'm on Purple 1.7.9.

Thanks a million!

JR
 

rossiv

Guru
Joined
Oct 26, 2008
Messages
2,624
Reaction score
139
Hi. I can also confirm that none of my outbound GV trunks were working as of this morning. Applying this fix immediately restored service - no reload or reboot needed. I'm on Purple 1.7.9.

Thanks a million!

JR
1.7.9?
Glad it works! Thanks for letting us know!
 

darmock

PIAF Developer
Joined
Oct 18, 2007
Messages
2,892
Reaction score
98
this is now in update-fixes as patch #149


Tom
 
Joined
Apr 17, 2009
Messages
829
Reaction score
9
seems as though I am only able to use my first google voice trunk in the list. i.e. the jabber.conf file
 

Members online

Forum statistics

Threads
25,770
Messages
167,441
Members
19,181
Latest member
ejrubin
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top