TRY THIS Google Voice Stops Working

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,201
Reaction score
5,220
Users report that, with Asterisk 11 and FreePBX 2.11 running PIAF-Green, Google works for a while and then stops. The likely suspect is a keep-alive problem in the Asterisk 11 xmpp module. tm1000 released the following patch to address the issue.

Log into your server as root, download and untar the patch, and then run the script to update Asterisk 11 (only!).

 

Attachments

  • xmpp-fix.tar.gz
    28.4 KB · Views: 75

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,201
Reaction score
5,220
Just a heads up that, in configuring a new cloud-based server with Google Voice today, we got loads of errors on the Asterisk CLI and no connections until the following ports were added to the IPtables setup in /etc/sysconfig/iptables (CentOS) or /etc/iptables/rules.v4 (Ubuntu/Debian/Raspbian). You also will need to restart IPtables: service iptables restart.
Code:
-A INPUT -p tcp -m tcp --dport 19294 -j ACCEPT
-A INPUT -p udp -m udp --dport 19295 -j ACCEPT
-A INPUT -p udp -m udp --dport 19302 -j ACCEPT

tm1000: Errors look like this (hundreds of them):
[2014-08-10 16:38:42] WARNING[4571] res_xmpp.c: JABBER: socket read error
[2014-08-10 16:38:43] WARNING[4571] res_xmpp.c: Parsing failure: Hook returned an error.
[2014-08-10 16:38:43] WARNING[4571] res_xmpp.c: Parsing failure: Invalid XML.

Special thanks to: Jason McNeil. See also Google's new App Passwords if that doesn't fix it. New thread has now appeared on DSL Reports as well.
 

Twilight Sparkle

https://voip.ms/en/invite/MjM2MjQ4
Joined
Jul 21, 2013
Messages
448
Reaction score
57
does the
xmpp-fix.tar.gz

file work on this Update for the
-A INPUT -p tcp -m tcp --dport 19294 -j ACCEPT
-A INPUT -p udp -m udp --dport 19295 -j ACCEPT
-A INPUT -p udp -m udp --dport 19302 -j ACCEPT

or do i still has to go into /etc/sysconfig/iptables (CentOS) or /etc/iptables/rules.v4 (Ubuntu/Debian/Raspbian

& do it my self? or just run the /root as xmpp-fix
 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
Considering this patch has been part of Asterisk for the better part of a year you shouldn't be applying it at all.
 

Members online

Forum statistics

Threads
25,811
Messages
167,759
Members
19,240
Latest member
nikko
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