Hi Again,<div><br></div><div>Here is what I see which is wrong for Addr>IP and is fine for Reg. Contact parameter - In fact both parameters should show the public IP address:</div><div><br></div><div><div>**********************************************************************************************</div>
<div> DTMFmode : rfc2833</div><div> Timer T1 : 500</div><div> Timer B : 32000</div><div> ToHost : </div><div> Addr->IP : 192.168.0.1 Port 5060</div><div> Defaddr->IP : 0.0.0.0 Port 5060</div>
<div> Prim.Transp. : UDP</div><div> Allowed.Trsp : UDP</div><div> Def. Username: 5555</div><div> SIP Options : (none)</div><div> Codecs : 0xe (gsm|ulaw|alaw)</div><div> Codec Order : (ulaw:20,alaw:20,gsm:20)</div>
<div> Auto-Framing : No </div><div> 100 on REG : No</div><div> Status : OK (14 ms)</div><div> Useragent : Linksys/WRP400-1.01.00</div><div> Reg. Contact : <a href="http://sip:5555@45.45.45.45:5060">sip:5555@45.45.45.45:5060</a></div>
<div> Qualify Freq : 60000 ms</div><div> Sess-Timers : Accept</div><div> Sess-Refresh : uas</div><div> Sess-Expires : 1800 secs</div><div> Min-Sess : 90 secs</div><div>**********************************************************************************************</div>
<div><br></div>Regards,</div><div>Bruce</div><div><br><div class="gmail_quote">On Sat, Dec 11, 2010 at 10:15 AM, Ryan Wagoner <span dir="ltr"><<a href="mailto:rswagoner@gmail.com">rswagoner@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><div></div><div class="h5">On Sat, Dec 11, 2010 at 3:06 AM, Bruce B <<a href="mailto:bruceb444@gmail.com">bruceb444@gmail.com</a>> wrote:<br>
> Hi Everyone,<br>
> I am using pfSense to do firewall and NAT on an Asterisk server. I have<br>
> ports 5060 TCP/UDP and 10k-20k UDP forwarded to the Asterisk server local IP<br>
> 192.168.5.5. However, when a user from outside using Linksys WRP400 ata<br>
> connects to the Asterisk server and registers I see them as 192.168.1.1 in<br>
> the "sip show peers" command. In face, all many different of the Linksys<br>
> WRP400 show the same. It seems that pfsense does something to the packets<br>
> that when they reach Asterisk it thinks they are sent from the Gateway<br>
> rather than the actual endpoint hence the calls are not reaching the other<br>
> side but registration is made.<br>
> Any experience with this?<br>
> Thanks<br>
<br>
</div></div>Do you have the siproxd package installed on pfsense? It is suspossed<br>
to handle registrations from multiple phones behind NAT. In your case<br>
since the phones are external I would probably remove it if installed.<br>
I haven't needed siproxd.<br>
<br>
Also on Asterisk set externip to your static IP in sip.conf. Or if you<br>
don't have a static IP set externhost. You also need to configure<br>
localnet.<br>
<br>
Ryan<br>
<br>
--<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><br>
</blockquote></div><br></div>