TRY THIS Google Voice Stops Working

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
15,246
Reaction score
2,670
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

  • Like
Reactions: Axel Fernandez

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
15,246
Reaction score
2,670
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

♕ Princess
Joined
Jul 21, 2013
Messages
318
Reaction score
26
Location
Ponyville
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
77
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

PIAF 5 - Powered by 3CX

Forum statistics

Threads
22,455
Messages
138,070
Members
14,620
Latest member
Brads#Bell