<div dir="ltr"><div><div><div><div>Hi Thanh,<br></div>my 2c to help you going through this:<br></div>- If asterisk keeps re-senging the 200 OK after an ACK was sent to it, you should check whether the ACK was actually delivered, and if delivered whether asterisk logged any error/warning about it. In general, you should provide the SIP traces to get some help.<br>
</div>- You have a typo in your public.xml: &#39;asteirsk&#39; instead of &#39;asterisk&#39;. You should check that.<br></div>(BTW I&#39;m not sure this is a question for -dev, perhaps -users?)<br><br>Regards,<br>Giacomo<br>
<div><div><div><div><div><div><div class="gmail_extra"><div class="gmail_quote"><br><br>On 7 September 2013 19:30, ThanhTruong <span dir="ltr">&lt;<a href="mailto:ngoc217thanh@yahoo.com" target="_blank">ngoc217thanh@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div style="font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt">
<span>Hi all,</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif">
<span>I have configure freeswitch as SBC server with one asterisk server.</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif">
<span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><span>I am getting nat issue when make call from FS to FS.</span></div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif">
<span>my case as:</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif">
<span>client --- FS ----- Asterisk server ----- FS -----client.</span></div><div><span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif">
my configure in public.xml like:</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><br></div><div style="background-color:transparent">
&lt;extension name=&quot;asteirsk&quot;&gt;</div><div style="background-color:transparent">        &lt;condition field=&quot;destination_number&quot; expression=&quot;(\d+)$&quot; require-nested=&quot;true&quot;&gt;</div>
<div style="background-color:transparent">            &lt;condition field=&quot;network_addr&quot; expression=&quot;^192\.168\.1\.123$&quot;  break=&quot;never&quot;&gt;</div><div style="background-color:transparent">                &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;</div>
<div style="background-color:transparent">                &lt;action application=&quot;export&quot; data=&quot;sip_h_X-ROUTE=LOOKUP&quot;/&gt;</div><div style="background-color:transparent">                &lt;action application=&quot;set&quot; data=&quot;bypass_media=true&quot;/&gt;</div>
<div style="background-color:transparent">                &lt;action application=&quot;bridge&quot; data=&quot;user/${destination_number}@${domain_name}&quot;/&gt;</div><div style="background-color:transparent">                &lt;anti-action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;</div>
<div style="background-color:transparent">                &lt;anti-action
 application=&quot;export&quot; data=&quot;sip_h_X-ROUTE=LOOKUP&quot;/&gt;</div><div style="background-color:transparent">                &lt;anti-action application=&quot;set&quot; data=&quot;bypass_media=true&quot;/&gt;</div>
<div style="background-color:transparent">                &lt;anti-action application=&quot;bridge&quot; data=&quot;sofia/internal/${<a href="mailto:destination_number%7D@192.168.1.123" target="_blank">destination_number}@192.168.1.123</a>&quot;/&gt;</div>
<div style="background-color:transparent">            &lt;/condition&gt;</div><div style="background-color:transparent">        &lt;/condition&gt;</div><div style="background-color:transparent">    &lt;/extension&gt;</div>
<div style="background-color:transparent"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif">Call is process ok, But I see
 that when I answer call in destination, asterisk server alway send 200OK to my FS, FS return ACk, but asterisk resend 200OK.</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif">
<br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif">if any one can help, thank all alot. I am getting this stage to long and cant find any solution here.</div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif">
Thanks, </div><span class="HOEnZb"><font color="#888888"><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><span style="font-size:12pt"> </span><br>
</div><div style="font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt">ThanhTruong</div></font></span></div></div><br>_________________________________________________________________________<br>

Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div></div></div></div></div></div></div>