If we get 0.0.0.0 as a public address, upnp support is disabled since we're getting the info from a gateway that can't route us to the internet. It is broken, so we don't trust it.<br><br>The message you should see in the logs is something like:<br>
<br>2009-06-08 13:51:44.587812 [ERR] switch_nat.c:126 uPNP Device (url: <a href="http://192.168.1.2:4444/wipconn">http://192.168.1.2:4444/wipconn</a>) returned an invalid external address of 0.0.0.0. Disabling uPNP<br>2009-06-08 13:51:44.587812 [INFO] switch_nat.c:380 No PMP or UPnP NAT detected!<br>
<br>You'll probably not see this if you start fs in the background and then connect with fs_cli. So, look in your log files for it.<br><br>The url will give you an idea as to which device is sending you invalid info. In my case it is a dlink router setup as a access point but still was implementing upnp (bad). I was able to disable upnp on that router.<br>
<br>My printer (Epson Artisan 800) also participates in upnp, but it doesn't respond to the internet gateway stuff, so it was not the source of a problem for address discovery. It is causing me other issues but that is another story for another day for code that isn't committed yet.<br>
<br><div class="gmail_quote">2009/6/9 Lars Zeb <span dir="ltr"><<a href="mailto:larclap@yahoo.com">larclap@yahoo.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" style="" lang="EN-US">
<div>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Thanks, Brian and
Mike J and Ken R and Jason W.</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Outbound calls
are now working OK.</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Brian, I don’t
know where to look for the 0.0.0.0 addr error message. I checked the
log/freeswitch.log but did not recognize anything.</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">I also noticed
that nat_public_addr is not longer displayed in the global_getvar command. How
is this value set?</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<div>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>
[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Brian
West<br>
<b>Sent:</b> Tuesday, June 09, 2009 9:06 AM<div class="im"><br>
<b>To:</b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
<b>Subject:</b> Re: [Freeswitch-users] Can't hear outbound calls</div></span></p>
</div>
</div>
<p> </p>
<p>Because rupa on IRC is having the same problem.. Check the
error message I print now and the device url will be printed thanks to rupa's
patch.</p><div><div></div><div class="h5">
<div>
<p> </p>
</div>
<div>
<p>/b</p>
</div>
<div>
<p> </p>
<div>
<div>
<p>On Jun 9, 2009, at 11:03 AM, Lars Zeb wrote:</p>
</div>
<p><br>
<br>
</p>
<p><span><span style="font-size: 11.5pt; color: rgb(31, 73, 125);">Brian, I’m curious, how can you tell that a printer is
giving out the 0.0.0.0 addr?</span></span></p>
</div>
<p> </p>
<div>
<div>
<div>
<div>
<div>
<p><span style="font-size: 9pt; color: black;">Brian West</span></p>
</div>
<div>
<p><span style="font-size: 9pt; color: black;"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></p>
</div>
<div>
<p><span style="font-size: 9pt; color: black;"> </span></p>
</div>
</div>
<p><span style="font-size: 9pt; color: black;">-- Meet us at ClueCon! <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a></span></p>
<div>
<p><span style="font-size: 9pt; color: black;"> </span></p>
</div>
</div>
<p><span style="font-size: 9pt; color: black;"> </span></p>
</div>
<p> </p>
</div>
<p> </p>
</div>
</div></div></div>
</div>
<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><br clear="all"><br>-- <br>-Rupa<br>