<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>&nbsp;</DIV>
<DIV>- enable mod_dingaling in modules.conf.xml at first;</DIV>
<DIV>&nbsp;</DIV>
<DIV>- copy the following content into&nbsp;disk file&nbsp;[freeswitch/conf/jingle_profiles/xk_client.xml]&nbsp;according to wiki page &nbsp;[http://wiki.freeswitch.org/wiki/Google_Voice]:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;include&gt;<BR>&nbsp; &lt;profile type="client"&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="name" value="gtalk"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="login" value="GV-ACCOUNT-NAME@gmail.com/talk"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="password" value="MY-PASSWORD"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="server" value="talk.google.com"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="dialplan" value="XML"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="context" value="public"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="message" value="Hello from Freeswitch!"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="rtp-ip" value="$${bind_server_ip}"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="ext-rtp-ip" value="$${external_rtp_ip}"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="auto-login" value="true"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;!-- SASL "plain" or "md5? --&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="sasl" value="plain"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;!-- Enable TLS
 or not --&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="tls" value="true"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;!-- disable to trade async for more calls --&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="use-rtp-timer" value="true"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="rtp-timer-name" value="none"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;!-- default extension --&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="exten" value="2001"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="vad" value="both"/&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;param name="candidate-acl" value="wan.auto"/&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; &lt;param name="local-network-acl" value="localnet.auto"/&gt;<BR>&nbsp; &lt;/profile&gt;<BR>&lt;/include&gt;<BR></DIV>
<DIV>- then, since [freeswitch/conf/jingle_profiles/] already contains cleint.xml and server.xml, &nbsp;I made four changes to the above content of xk_client.xml:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;profile type="client"&gt;&nbsp; ===&gt;&nbsp; &lt;profile type="xk_client"&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; &lt;param name="login" value="GV-ACCOUNT-NAME@gmail.com/talk"/&gt;&nbsp; ===&gt;&nbsp;update it with my own gmail account<BR>&nbsp;&nbsp;&nbsp; &lt;param name="password" value="MY-PASSWORD"/&gt; ===&gt; update it with my own password to gmail account.</DIV>
<DIV>&lt;param name="exten" value="2001"/&gt; ===&gt; &lt;param name="exten" value="1006"/&gt;<BR></DIV>
<DIV>- add a dialplan extension for default context:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&lt;extension name="gvoice_out"&gt;<BR>&nbsp;&nbsp; &lt;condition field="destination_number" expression="^50(1\d{10})$"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set" data="hangup_after_bridge=true"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="bridge" data="dingaling/gtalk/+$1@voice.google.com"/&gt;<BR>&nbsp;&nbsp; &lt;/condition&gt;<BR> &lt;/extension&gt;<BR></DIV>
<DIV>-&nbsp;also, set up my google voice settings as required by FS</DIV>
<DIV>&nbsp;</DIV>
<DIV>- finally, dial out "50 1 408 543 xxxx" on a sip client with internal user "1006",&nbsp;&nbsp;the call&nbsp; was never completed.&nbsp;</DIV>
<div>&nbsp;</div>
<div><VAR id=yui-ie-cursor></VAR>&nbsp;</div>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>----- Original Message -----<BR>From: Federico Beffa &lt;beffa@ieee.org&gt;<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>&lt;param name="rtp-ip" value="auto"/&gt;<BR>&lt;param name="ext-rtp-ip" value="auto-nat"/&gt;<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>