Take out the router/firewall and connect directly to the net to test your NAT problem theory.<br><br><div class="gmail_quote">On Thu, Apr 22, 2010 at 12:15 PM, Jonas Kellens <span dir="ltr"><<a href="mailto:jonas.kellens@telenet.be">jonas.kellens@telenet.be</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">Jared,<br>
<br>
thank you for your answer.<br>
<br>
As I said in my previous mail, I'm using a Zyxel NBG-419 router (which
normally supports VoIP and QoS). Firewall is disabled on the Zyxel.<br>
<br>
The MV-374 only accepts IP-address, not a FQDN. Will give it another
try though...<br>
<br>
The answer from Portech-support : "use STUN".<br>
<br>
Even if the NAT rewrites the IP-address/port combination, why is it a
problem for the Portech and not for the IP-phones (Grandstream &
Snom) ? They all communicate on port 5060 --> 5064 (several
SIP-accounts)<br><font color="#888888">
<br>
<br>
Jonas.<br>
<br>
</font></font></font><div class="im"><br>
Jared Smith wrote:
<blockquote type="cite">
<pre>On Thu, 2010-04-22 at 17:45 +0200, Jonas Kellens wrote:
</pre>
<blockquote type="cite">
<pre>All goes well when the gateway is connected directly to the
internet... It's when it is behind NAT the 401 is sent from
Asterisk...
</pre>
</blockquote>
<pre>Is the device registering to an IP address, or do a DNS name? What type
of NAT firewall are you using?
This reminds me of a problem I had years ago with a Cisco PIX firewall,
where it would rewrite IP addresses in the SIP Request URI, causing the
authentication to fail. One solution was to have it register to a
fully-qualified domain name instead of an IP address, so that the
Request URI wouldn't get overwritten.
It's certainly worth a shot...
--
Jared Smith
Digium, Inc.
</pre>
</blockquote>
</div></div>
<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>