I also had problem in making FS mod_dingaling work with google voice: - enable mod_dingaling in modules.conf.xml at first; - copy the following content into disk file [freeswitch/conf/jingle_profiles/xk_client.xml] according to wiki page [http://wiki.freeswitch.org/wiki/Google_Voice]: <include> <profile type="client"> <param name="name" value="gtalk"/> <param name="login" value="GV-ACCOUNT-NAME@gmail.com/talk"/> <param name="password" value="MY-PASSWORD"/> <param name="server" value="talk.google.com"/> <param name="dialplan" value="XML"/> <param name="context" value="public"/> <param name="message" value="Hello from Freeswitch!"/> <param name="rtp-ip" value="$${bind_server_ip}"/> <param name="ext-rtp-ip" value="$${external_rtp_ip}"/> <param name="auto-login" value="true"/> <!-- SASL "plain" or "md5? --> <param name="sasl" value="plain"/> <!-- Enable TLS or not --> <param name="tls" value="true"/> <!-- disable to trade async for more calls --> <param name="use-rtp-timer" value="true"/> <param name="rtp-timer-name" value="none"/> <!-- default extension --> <param name="exten" value="2001"/> <param name="vad" value="both"/> <param name="candidate-acl" value="wan.auto"/> <param name="local-network-acl" value="localnet.auto"/> </profile> </include> - then, since [freeswitch/conf/jingle_profiles/] already contains cleint.xml and server.xml, I made four changes to the above content of xk_client.xml: <profile type="client"> ===> <profile type="xk_client"> <param name="login" value="GV-ACCOUNT-NAME@gmail.com/talk"/> ===> update it with my own gmail account <param name="password" value="MY-PASSWORD"/> ===> update it with my own password to gmail account. <param name="exten" value="2001"/> ===> <param name="exten" value="1006"/> - add a dialplan extension for default context: <extension name="gvoice_out"> <condition field="destination_number" expression="^50(1\d{10})$"> <action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="dingaling/gtalk/+$1@voice.google.com"/> </condition> </extension> - also, set up my google voice settings as required by FS - finally, dial out "50 1 408 543 xxxx" on a sip client with internal user "1006", the call was never completed. ----- Original Message ----- From: Federico Beffa <beffa@ieee.org> To: freeswitch-users@lists.freeswitch.org Cc: Sent: Wednesday, September 28, 2011 4:14 PM Subject: [Freeswitch-users] google voice connection going offline (mod_dingaling) Hi All, I've setup mod_dingaling to connect to my google voice account according to the instructions on the wiki http://wiki.freeswitch.org/wiki/Google_Voice#Setup_FreeSWITCH_-_Dingaling_to... with two modifications: <param name="rtp-ip" value="auto"/> <param name="ext-rtp-ip" value="auto-nat"/> I use the same IP settings for SIP (sofia) with no problem. The setup works fine for the first hour or two, but then I can see from another google account that the connection established by freeswitch goes offline. If I try anyway to make an outbound call, then the other end does not ring (even if I wait for a long time). However, after some minutes the freeswitch account returns online and works again for a couple of hours. I'm behind a nat and firewall. Is there any port which I have to open to keep freeswitch online? As far as I understand only the google XMMP server needs to listen to port 5222 and port 5269. Or, is there any kind of "keep alive" timer available? The google talk client running in the same environment works flawlessly. Thanks for any advise. Fede FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org