<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi,<br><br><span style="font-style: italic;">I am unsure of what you are saying.</span><br><br>Just for discussion,<span style="font-weight: bold;"> </span>if one has a control on the insertion of the IP address in the SIP header, then nat options working can be verified & observed.<br> <br><span style="font-style: italic;">In the OSI reference model, the "Network" is layer 3, IP.</span><br style="font-style: italic;"><span style="font-style: italic;">Call it Network, layer 3, or IP, it is the same.</span><br><br>All-right, by <span style="font-weight: bold;">IP</span> from the network layer I meant, the<span style="font-weight: bold;"> IP address </span>in the IP Header/Network layer/layer 3.<br><br> &<span style="font-weight: bold;"> </span>IP from SIP I meant, SIP request generator's<span style="font-weight: bold;"> </span>IP
address in the SIP Header. I missed the word address.<br><br><span style="font-style: italic;">My customers don't really care for things that don't work. </span><br><br>May be its useful for SIP application developers rather then end customers.<br><br>Have a good time.<br>Regards<br><br>--- On <b>Sun, 4/24/11, Steve Totaro <i><stotaro@asteriskhelpdesk.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Steve Totaro <stotaro@asteriskhelpdesk.com><br>Subject: Re: [asterisk-users] Nat=yes<br>To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com><br>Date: Sunday, April 24, 2011, 3:28 PM<br><br><div id="yiv1396684807"><br><br><div class="yiv1396684807gmail_quote">On Sun, Apr 24, 2011 at 5:55 AM, Muhammad Ali <span dir="ltr"><<a rel="nofollow" ymailto="mailto:ali_i31@yahoo.com" target="_blank"
href="/mc/compose?to=ali_i31@yahoo.com">ali_i31@yahoo.com</a>></span> wrote:<br><blockquote class="yiv1396684807gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top">Hi,<br><br>When NAT = YES, Asterisk server will extract IP from the network layer. <br> <br>When Nat = No, the Asterisk server will respond to the IP in the SIP header. Am I right?<br>
<br>May be such type of options can be helpful for SIP application developers.<br><br>Can't think of a scenario but If it is set to be YES for all peers, what will happen is that the<span style="font-weight: bold;"> response </span>to all the SIP request will be routed to the IP in the network layer. IP's in the SIP header will be ignored, should not create a problem.<br>
<br><br>Regards<br><br>--- On <b>Sun, 4/24/11, Steve Totaro <i><<a rel="nofollow" ymailto="mailto:stotaro@asteriskhelpdesk.com" target="_blank" href="/mc/compose?to=stotaro@asteriskhelpdesk.com">stotaro@asteriskhelpdesk.com</a>></i></b> wrote:<br><br></td></tr></tbody></table></blockquote>
</div><br>I am unsure of what you are saying. <br><br>All I know is that setting nat=yes has never failed me when nat=no has and we are talking countless phones and installs. <br><br>In the OSI reference model, the "Network" is layer 3, IP.<br>
<br>Call it Network, layer 3, or IP, it is the same.<br><br>nat=yes breaks the RFC due to NAT but it gets people talking. My customers don't really care for things that don't work. <br><br>Thanks,<br>Steve Totaro<br>
</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">--<br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>New to Asterisk? Join us for a live introductory webinar every Thurs:<br> <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></div></blockquote></td></tr></table>