SOLVED GV stopped connecting today

ws2000

New Member
Joined
Nov 17, 2010
Messages
10
Reaction score
0
Man, you saved my life!!

I was desperate because my Google Voice stopped working yesterday and I was following this thread anxiously hopping someone could give me a light about how to workaround this issue. Finally I've read your post and thought: it's a too simple solution to doesn't try and it just worked like a charm! Just edit res_xmpp.c and replace SSLv3_method() to SSLv23_method() and recompile asterisk (actually it just recompiled this module). By simply doing this, my Google Voice is now working again!



Thanks again!!


Where is res/res_xmpp.c located? Could you please provide some newbie friendly directions? I'm stumped.

Found the file and edited it with WinSCP. How do I recomplile it? Still No GV.

Thanks
 
Last edited:

Kennybell

Member
Joined
Aug 22, 2011
Messages
65
Reaction score
3
Thanks, @tenortim. On really old systems, you'll need to make the SSLv3_method() to SSLv23_method() change in res/res_jabber.c instead of res_xmpp.c.


Where and how do I do this??? I'm not a Linux expert.

PBX in a Flash Version = 1.7.5.6 Running on *HARDWARE* ¦
¦ FreePBX Version = 2.8.1.4 ¦
¦ Running Asterisk Version = 1.8.7.2 ¦
¦ Asterisk Source Version = 1.8.7.2 ¦
¦ Dahdi Source Version = 2.5.0.2+2.5.0.2 ¦
¦ Libpri Source Version = 1.4.12 ¦
¦ IP Address = 192.168.XX.XX on eth0 ¦
¦ Operating System = CentOS release 5.7 (Final) ¦
¦ Kernel Version = 2.6.18-238.9.1.el5 - 32 Bit
 

ws2000

New Member
Joined
Nov 17, 2010
Messages
10
Reaction score
0
Can anyone please tell me what steps they took after updating res_xmpp.c? I changed to v23 but still no GV.
 
Last edited:

billsimon

Well-Known Member
Joined
Jan 2, 2011
Messages
1,534
Reaction score
727
Can anyone please tell me what steps they took after updating res_xmpp.c? I changed to v23 but still no GV.

After changing source code you would rebuild it by going to the root of the asterisk source and running "make" then "make install".
 

24bit96khz

New Member
Joined
Feb 8, 2014
Messages
14
Reaction score
2
If you do that, you really ought to add the extra two lines from later releases that block SSLv2/v3 viz:
ssl_opts = SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3;
SSL_CTX_set_options(client->ssl_context, ssl_opts);
(and declare ssl_opts as a long back at the beginning of the function).

Wow it actually worked! However, I did not get the quoted part of your instructions. I'm a real Linux lightweight. I pasted in those first two lines into the res_xmpp.c file and was unable to compile it with make until I removed them. Can you or someone explain like I'm five and just tell me the exact two lines to put in and where?

It may not be needed as it's working right now but if you advise it I'll do it.
 

billsimon

Well-Known Member
Joined
Jan 2, 2011
Messages
1,534
Reaction score
727
Wow it actually worked! However, I did not get the quoted part of your instructions. I'm a real Linux lightweight. I pasted in those first two lines into the res_xmpp.c file and was unable to compile it with make until I removed them. Can you or someone explain like I'm five and just tell me the exact two lines to put in and where?

It may not be needed as it's working right now but if you advise it I'll do it.

You probably missed this part:

(and declare ssl_opts as a long back at the beginning of the function).

-----

I'm wondering why people are doing this and not just updating to a current version that has the fix.
 

24bit96khz

New Member
Joined
Feb 8, 2014
Messages
14
Reaction score
2
You probably missed this part:



-----

I'm wondering why people are doing this and not just updating to a current version that has the fix.

Because I typed update-programs and update-fixes and it never works. All the mirrors it tries connecting to fail and it never actually downloads or updates anything. Well, I fixed it and made a video for others like me who don't know what they're doing.

 

ws2000

New Member
Joined
Nov 17, 2010
Messages
10
Reaction score
0
Because I typed update-programs and update-fixes and it never works. All the mirrors it tries connecting to fail and it never actually downloads or updates anything. Well, I fixed it and made a video for others like me who don't know what they're doing.



Thank you for making a video. This would have saved me hours. The little details kill me.
 

docgreen

Member
Joined
Oct 30, 2013
Messages
55
Reaction score
7
Because I typed update-programs and update-fixes and it never works. All the mirrors it tries connecting to fail and it never actually downloads or updates anything. Well, I fixed it and made a video for others like me who don't know what they're doing.


You sir, are my hero!
 

VaHam

Member
Joined
Feb 29, 2008
Messages
74
Reaction score
9
Thanks, @tenortim. On really old systems, you'll need to make the SSLv3_method() to SSLv23_method() change in res/res_jabber.c instead of res_xmpp.c.

I changed only the one line containing SLv3_method() to SSLv23_method() as you suggested on my very old Asterisk v1.18.11 box by executing the following commands. My Google voice is connecting again. Thank you for saving me hours and hours.

Code:
cd /usr/src/asterisk/res
sed -i 's/SSLv3_method()/SSLv23_method()/g' res_jabber.c
amportal stop
cd /usr/src/asterisk
make
make install
amportal start
 
Last edited by a moderator:

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Just trying to understand the benefit of a gateway connection to GV rather than the previous direct connection approach...

It's pure SIP. It works on any platform supporting SIP. It insulates you from the majority of these outages and lets @billsimon worry about it. :hat:
 

MisterQ

Member
Joined
Dec 11, 2007
Messages
188
Reaction score
5
It's pure SIP. It works on any platform supporting SIP. It insulates you from the majority of these outages and lets @billsimon worry about it. :hat:

Done, but now I am continuing with the GV Setup - I am the point where it is going to upgrade to a full voice account, but needs a US Phone Number to verify against. It used to be that one could quickly hack that with IPKALL, but they have gone out of business - is there another approach.
 

billsimon

Well-Known Member
Joined
Jan 2, 2011
Messages
1,534
Reaction score
727
Done, but now I am continuing with the GV Setup - I am the point where it is going to upgrade to a full voice account, but needs a US Phone Number to verify against. It used to be that one could quickly hack that with IPKALL, but they have gone out of business - is there another approach.
US POTS or cellular line only. Validation or pick-a-number will fail with VoIP lines. Google has gotten strict about issuing new Google Voice numbers.
 

MisterQ

Member
Joined
Dec 11, 2007
Messages
188
Reaction score
5
Oh, damn this is fun, and convoluted - yup, I have existing GV number, but I wanted to create a new one, not tied to my mainstream Google Account.

Firstly, hint for young players - GV will Geolocate you, so you need to be working through a US web proxy before the GV Screens will even come up.

Secondly, using existing GV number as the "base number" - nope, it doesn't like that...

Set up a Pinger number (in Alabama), but it seems in order to hook it in, I need either a Jailbroken ANdroid - nope, we are a 100% Apple house, or running Bluestack - all of the documentation talks about bluestack on Windows, but a quick glance says it will run on OSX, so I am off to explore that, so as to tick the box for the GV Account, and then turn on the Simonics GW.

Failing that, set up a Virtualbox VM of windows on my mac, then load blustack, then....

I am reminded of a computer game of the 80's - You are in a maze of twisty little passages, all alike.
 

gavimobile

New Member
Joined
Jun 15, 2016
Messages
4
Reaction score
1
FYI - once again, I didn't touch anything and everything is back to normal again. hope they don't continue messing with this.
 

Members online

No members online now.

Forum statistics

Threads
25,779
Messages
167,505
Members
19,199
Latest member
leocipriano
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