<div dir="ltr"><div><div><div><div><div><div><div>Hi All Finally i Figured Out the NAT issue <br><br><br></div>My Setup is Like this <br><br></div>DID(IP Authentication)---->Public IP----------> (Pfseance)(1:1)NAT --------> (Private IP) FreeSwicth------->(Private IP)Asterisk Cluster.<br>
<br><br></div> i am not sure why its work for Me, Really :), Because with this same configuration its didn't work for me until yesterday.<br><br></div>Here the Configurations is :<br><br></div><span style="color:rgb(255,0,0)">First thing we need the set the variable for vars.xml </span><br>
<br>/usr/local/freeswitch/conf/vars.xml<br>===============================<br></div></div>XX.XX.XX.XX = your Public IP <br><div><div><br><X-PRE-PROCESS cmd="set" data="external_sip_ip=XX.XX.XX.XX"/><br>
<X-PRE-PROCESS cmd="set" data="external_rtp_ip=XX.XX.XX.XX"/><br><br></div><div><span style="color:rgb(255,0,0)">Add the IP address of Your Provider to acl:</span><br><br>/usr/local/freeswitch/conf/vars.xml<br>
===============================<br></div><div>YY.YY.YY.YY = Your Provider IP<br></div><div><br><node type="allow" cidr="YY.YY.YY.YY/32"/><br><br><br></div><div>Add the Dialplan Entry in Public :<br>
<br>/usr/local/freeswitch/conf/dialplan/public/ipkall.xml<br> ========================================<br><include><br> <extension name="public_did"><br> <condition field="destination_number" expression="2064248436"><br>
<action application="set" data="domain_name=$${domain}"/> <br> <action application="bridge" data="sofia/gateway/VICI22/2064248436"/><br> </condition><br>
</extension><br></include><br><br></div><div>This is it i am Done, my Asterisk Cluster is reciving calls with two way AUDIO.<br><br><br></div><div>May be this will Help For Some People to solve the NAT issue.<br>
<br><br></div><div>Thanks<br></div><div><br></div><div><br><br></div><div><br><br><br><br></div><div><br><br><br><br><br><br><br><div><div><div><div><div><div><div><br><div> <br></div><div><br><br></div></div></div></div>
</div></div></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 1, 2013 at 5:39 PM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im">On Mon, Jul 1, 2013 at 1:37 PM, johnthan123 <span dir="ltr"><<a href="mailto:johnthan123@gmail.com" target="_blank">johnthan123@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi All, <br><br></div> I am really happy for the all answers, But the thing is No one giving me the assure for the NAT,<br>
<br></div> i configured the NAT before and it was working, But with the same configuration and same networking i couldn't able to make it now, i have similor qustion with asterisk why asterisk works good behind the NAT why not Freeswitch, as a Freeswitch Lover i want to be overcome this issue <br>
<br></div> still i am looking for some inputs for successful NAT in Freeswitch , if possible some one give for NAT.<br></div></div></div></blockquote></div><div>The short answer is this: something somewhere changed. If it was working with a previous version of FS and isn't working now then I would recommend looking for the commit where it broke. Install an older FS version where you are certain that it was working, and then go from there. Using git bisect can probably help cut down the time.<br>
<br></div><div>I would also recommend getting SIP and RTP captures of working vs. non-working calls and compare them using Wireshark. See if you can figure out what is happening and then report back. Hopefully the gang here will help you figure out why it is happening and you can fix it.<span class="HOEnZb"><font color="#888888"><br>
<br></font></span></div><span class="HOEnZb"><font color="#888888"><div>-MC<br><br>
</div></font></span></div><br></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-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></div>