Hi Chris, I&#39;ve attached the console logs for your reference. It really hits 888 in the dialplan and the external call can hear the echo without any problem. <br><br>One thing attracts me is how the ip addresses are translated. Here&#39;s the working external example:<br>
<br>&lt;ses:candidate address=&quot;<b>192.168.2.150</b>&quot; port=&quot;1726&quot; name=&quot;rtp&quot; username=&quot;k+TZoLgUQB02PV/C&quot; password=&quot;pQ3hz/DzarYnnLhJ&quot; preference=&quot;1&quot; protocol=&quot;udp&quot; generation=&quot;0&quot; network=&quot;0&quot; type=&quot;local&quot;&gt;&lt;/ses:candidate&gt;        <b>(external party&#39;s local addr)</b><br>
<br>&lt;ses:candidate address=&quot;<b>123.118.149.94</b>&quot; port=&quot;45538&quot; name=&quot;rtp&quot; username=&quot;C5lc0jkpxDBWVRn6&quot; password=&quot;u2lw7FbrzmaJJSHq&quot; preference=&quot;0.9&quot; protocol=&quot;udp&quot; generation=&quot;0&quot; network=&quot;0&quot; type=&quot;stun&quot;&gt;&lt;/ses:candidate&gt;       <b> (external party&#39;s global addr)</b><br>
<br>&lt;ses:candidate name=&quot;rtp&quot; address=&quot;<b>59.189.194.244</b>&quot; port=&quot;17112&quot; username=&quot;PQ0Fmus5M3udzy3G&quot; password=&quot;PQ0Fmus5M3udzy3G&quot; preference=&quot;1.0&quot; protocol=&quot;udp&quot; type=&quot;stun&quot; network=&quot;0&quot; generation=&quot;0&quot;&gt;&lt;/ses:candidate&gt;        <b>(server&#39;s global addr)</b><br>
<br>Here&#39;s the non-working internal exmaple:<br><br>&lt;candidate name=&quot;rtp&quot; address=&quot;<b>192.168.1.101</b>&quot; port=&quot;2202&quot; preference=&quot;1&quot; username=&quot;y6P1CToBaRZpybAl&quot; protocol=&quot;udp&quot; generation=&quot;0&quot; password=&quot;tcrX5Wj426qTa1Cx&quot; type=&quot;local&quot; network=&quot;0&quot;&gt;&lt;/candidate&gt;        <b>(internal party&#39;s local addr)</b><br>
<br>&lt;candidate name=&quot;rtp&quot; address=&quot;<b>59.189.194.244</b>&quot; port=&quot;2203&quot; preference=&quot;0.9&quot; username=&quot;UMuUvr9o66D2myqb&quot; protocol=&quot;udp&quot; generation=&quot;0&quot; password=&quot;vvq4+GUsOYV/On5g&quot; type=&quot;stun&quot; network=&quot;0&quot;&gt;&lt;/candidate&gt;       <b> (internal party&#39;s global addr)</b><br>
<br>&lt;ses:candidate name=&quot;rtp&quot; address=&quot;<b>59.189.194.244</b>&quot; port=&quot;30578&quot; username=&quot;MeymWgoZwasUm32h&quot; password=&quot;MeymWgoZwasUm32h&quot; preference=&quot;1.0&quot; protocol=&quot;udp&quot; type=&quot;stun&quot; network=&quot;0&quot; generation=&quot;0&quot;&gt;&lt;/ses:candidate&gt;       <b> (server&#39;s global addr)</b><br>
<br>&lt;candidate name=&quot;rtp&quot; address=&quot;<b>192.168.1.101</b>&quot; port=&quot;2202&quot; preference=&quot;1&quot; username=&quot;y6P1CToBaRZpybAl&quot; protocol=&quot;udp&quot; generation=&quot;0&quot; password=&quot;tcrX5Wj426qTa1Cx&quot; type=&quot;local&quot; network=&quot;0&quot;&gt;&lt;/candidate&gt;       <b> (internal party&#39;s local addr, again!)</b><br>
    &lt;candidate name=&quot;rtp&quot; address=&quot;<b>59.189.194.244</b>&quot; port=&quot;2203&quot; preference=&quot;0.9&quot; username=&quot;UMuUvr9o66D2myqb&quot; protocol=&quot;udp&quot; generation=&quot;0&quot; password=&quot;vvq4+GUsOYV/On5g&quot; type=&quot;stun&quot; network=&quot;0&quot;&gt;&lt;/candidate&gt;       <b> (internal party&#39;s global addr)</b><br>
<br>&lt;candidate name=&quot;rtp&quot; address=&quot;<b>209.85.201.126</b>&quot; port=&quot;19295&quot; preference=&quot;0.5&quot; username=&quot;91jrUtL10nk9VcrZ&quot; protocol=&quot;udp&quot; generation=&quot;0&quot; password=&quot;9s8fNrseavVslvyZ&quot; type=&quot;relay&quot; network=&quot;0&quot;&gt;&lt;/candidate&gt;        <b>(google&#39;s global addr)</b><br>
<br>&lt;candidate name=&quot;rtp&quot; address=&quot;<b>209.85.201.126</b>&quot; port=&quot;19294&quot; preference=&quot;0.5&quot; username=&quot;91jrUtL10nk9VcrZ&quot; protocol=&quot;tcp&quot; generation=&quot;0&quot; password=&quot;9s8fNrseavVslvyZ&quot; type=&quot;relay&quot; network=&quot;0&quot;&gt;&lt;/candidate&gt;       <b> (google&#39;s global addr)</b><br>
<br>&lt;candidate name=&quot;rtp&quot; address=&quot;<b>192.168.1.101</b>&quot; port=&quot;2205&quot; preference=&quot;0.8&quot; username=&quot;g3/qPdtEdo02zm8Y&quot; protocol=&quot;tcp&quot; generation=&quot;0&quot; password=&quot;WYRbJIk5vcToxsqT&quot; type=&quot;local&quot; network=&quot;0&quot;&gt;&lt;/candidate&gt;       <b> (internal party&#39;s local addr, 3rd time!)</b><br>
<br>&lt;candidate name=&quot;rtp&quot; address=&quot;<b>209.85.201.126</b>&quot; port=&quot;443&quot; preference=&quot;0.5&quot; username=&quot;91jrUtL10nk9VcrZ&quot; protocol=&quot;ssltcp&quot; generation=&quot;0&quot; password=&quot;9s8fNrseavVslvyZ&quot; type=&quot;relay&quot; network=&quot;0&quot;&gt;&lt;/candidate&gt;        <b>(google&#39;s global addr)</b><br>
<br><br>And finally, when the call was hung up, the internal one showed an error like this:<br><br>&lt;iq to=&quot;<a href="http://yyyyyy@gmail.com/talk930C641A">yyyyyy@gmail.com/talk930C641A</a>&quot; id=&quot;308&quot; type=&quot;error&quot; from=&quot;<a href="http://xxxxxx@gmail.com/Talk.v1046D90E88C">xxxxxx@gmail.com/Talk.v1046D90E88C</a>&quot;&gt;<br>
  &lt;ses:session type=&quot;terminate&quot; id=&quot;186547325&quot; initiator=&quot;<a href="http://xxxxxx@gmail.com/Talk.v1046D90E88C">xxxxxx@gmail.com/Talk.v1046D90E88C</a>&quot; xmlns:ses=&quot;<a href="http://www.google.com/session">http://www.google.com/session</a>&quot;&gt;&lt;/ses:session&gt;<br>
  &lt;error type=&quot;modify&quot;&gt;<br>    &lt;sta:bad-request xmlns:sta=&quot;urn:ietf:params:xml:ns:xmpp-stanzas&quot;&gt;&lt;/sta:bad-request&gt;<br>    &lt;sta:text xml:lang=&quot;en&quot; xmlns:sta=&quot;urn:ietf:params:xml:ns:xmpp-stanzas&quot;&gt;unknown session&lt;/sta:text&gt;<br>
  &lt;/error&gt;<br>&lt;/iq&gt;<br><br>Regards,<br>-Jingwei<br><br><div class="gmail_quote">On Mon, Jul 13, 2009 at 7:29 PM, Chris Chen <span dir="ltr">&lt;<a href="mailto:chris.chen2004@gmail.com">chris.chen2004@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Jingwei, can you show your console log when somebody is calling you from gtalk client? Will it really hit 888 in your dialplan?<br>
Thanks,<br><font color="#888888">Chris</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Mon, Jul 13, 2009 at 5:27 AM, Jingwei Yang <span dir="ltr">&lt;<a href="mailto:jingwei.yang@gmail.com" target="_blank">jingwei.yang@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Chris, sorry for the late reply. Have been quite busy last few days. <br><br>I had shifted 888 from default.xml to public.xml and the dialplan is simply having an echo action now. I&#39;ve turned on dl_debug but unfortunately didn&#39;t find anything useful. Logs are attached for your reference. <br>


<br>I don&#39;t think there&#39;s something wrong with the dialplan as two external parties can talk to each other perfectly (with ext-rtp-ip uncommented, at this time my ip was interpreted to be an external one). With ext-rtp-ip commented, I can hear the echo and I saw my ip was translated into an internal one (at this time, external party&#39;s audio failed). <br>


<br>I tried the method on this wiki page as well: <a href="http://wiki.freeswitch.org/wiki/NAT_Traversal" target="_blank">http://wiki.freeswitch.org/wiki/NAT_Traversal</a> (the last FreeSwitch behind NAT portion) but still no luck. Please kindly let me know what other configs I should change.<br>


<br>Thanks,<br><font color="#888888">-Jingwei<br><br></font><div class="gmail_quote"><div>On Mon, Jun 29, 2009 at 6:46 PM, Chris Chen <span dir="ltr">&lt;<a href="mailto:chris.chen2004@gmail.com" target="_blank">chris.chen2004@gmail.com</a>&gt;</span> wrote:<br>

</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
Jingwei, I don&#39;t know if you have the 888 defined in default.xml?  also you have to define $${domain}.<br>please do &quot; dl_debug on&quot; from fs_cli, and watch the console logs and see what&#39;s going on when you try calling from external. Most likely your dialplan is not correctly defined.<br>


<font color="#888888">
<br>Chris</font><br></div><div>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">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>
<br></div></blockquote></div><br>
<br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">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>
<br></blockquote></div><br>
</div></div><br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="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>
<br></blockquote></div><br>