hi again.....well i have been trying to know what is the relationship between asterisk and stun. what i mean is, i understand that a client requests stun server to know whether its behind a nat or not. if its not, then its ok. if it is behind nat, then what? Now client knows what kind of nat it is behind, what is the roll of asterisk in it. asterisk already knows client's public ip whether its behind nat or not, if the client is registered. So how does stun simplify things if there are nat problems.
<br><br>After requesting stun server and recieving the required information from stun server.....what happens next?<br>I hope im clear in stating my problem.<br><br>Hope to hear from you soon<br><br><div><span class="gmail_quote">
On 8/1/07, <b class="gmail_sendername">SIP</b> &lt;<a href="mailto:sip@arcdiv.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sip@arcdiv.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

No... there&#39;s no STUN server built into Asterisk. Asterisk handles NAT<br>in a different way... and is an endpoint rather than a proxy, so it<br>doesn&#39;t really NEED STUN built into it.<br><br>However, we run a STUN server on the same machine as an Asterisk server
<br>and see nothing in terms of load increase. STUN&#39;s footprint is rather<br>negligible.<br><br>N.<br><br>Rizwan Hisham wrote:<br>&gt; Ok thanx. One more thing to ask is: does asterisk has a stun server<br>&gt; implemented in it or not. i mean does asterisk contain a stun server
<br>&gt; and provides any application which can be used for enabling the stun<br>&gt; server in asterisk?<br>&gt;<br>&gt; On 8/1/07, *SIP* &lt;<a href="mailto:sip@arcdiv.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
sip@arcdiv.com</a> &lt;mailto:<a href="mailto:sip@arcdiv.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
sip@arcdiv.com</a>&gt;&gt; wrote:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; STUN is a pretty simplistic server. There&#39;s nothing else that needs to<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; be configured on the STUN server side. It&#39;s pretty much either running<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; or it&#39;s not.
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Just start plugging in the server to your clients and give it a<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; whirl.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; It should work.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; N.<br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Rizwan Hisham wrote:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Hi all,
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; This is the first time i am using stun with asterisk for nat<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; problems.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; I have read the rfc which describes how stun works. i didnt have<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; any<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; problems understanding it. I have also intalled the stun server
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; called<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; stund which i downloaded from sourceforge. I have seen on the list<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; that most people use stund here. I have started the stun server and<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; its running silently. Now i dont know what to do next. Is there
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; something more to it, like configuration files which i can use for<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; special configuration for asterisk, or is there not. How do i<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; proceed,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; if there is nothing more to configure in stun, does that mean i can
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; start configuring my clinets (xten and sipura) to use stun server?<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; --<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Best Regards<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Rizwan Hisham<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Software Engineer<br>

&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Axvoice Inc.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; <a href="http://www.axvoice.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">www.axvoice.com</a> &lt;<a href="http://www.axvoice.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.axvoice.com</a>&gt; &lt;<a href="http://www.axvoice.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.axvoice.com
</a>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; ------------------------------------------------------------------------<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; _______________________________________________<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; --Bandwidth and Colocation Provided by 
<a href="http://www.api-digital.com--" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.api-digital.com--</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; asterisk-users mailing list<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; To UNSUBSCRIBE or update options visit:
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; _______________________________________________<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

http://www.api-digital.com--</a><br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; asterisk-users mailing list<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; To UNSUBSCRIBE or update options visit:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Best Regards<br>&gt; Rizwan Hisham<br>&gt; Software Engineer<br>&gt; Axvoice Inc.<br>&gt; <a href="http://www.axvoice.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
www.axvoice.com</a> &lt;<a href="http://www.axvoice.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.axvoice.com</a>&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________<br>&gt; --Bandwidth and Colocation Provided by 
<a href="http://www.api-digital.com--" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.api-digital.com--</a><br>&gt;<br>&gt; asterisk-users mailing list<br>&gt; To UNSUBSCRIBE or update options visit:
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.api-digital.com--
</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote>
</div><br><br clear="all"><br>-- <br>Best Regards<br>Rizwan Hisham<br>Software Engineer<br>Axvoice Inc.<br><a href="http://www.axvoice.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">www.axvoice.com
</a>