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