I need the debug logging from the upnp stuff. It should look something like:<div><br></div><div><div>+OK log level 7 [7]</div><div>freeswitch@internal> 2010-10-25 09:13:59.926861 [DEBUG] switch_nat.c:299 got UPnP keep alive packet:</div>
<div>NOTIFY * HTTP/1.1</div><div>HOST:<a href="http://239.255.255.250:1900">239.255.255.250:1900</a></div><div>Cache-Control:max-age=60</div><div>Location:<a href="http://192.168.1.1:5000/rootDesc.xml">http://192.168.1.1:5000/rootDesc.xml</a></div>
<div>Server: Tomato UPnP/1.0 MiniUPnPd/1.4</div><div>NT:urn:schemas-upnp-org:service:WANIPConnection:1</div><div>USN:uuid:00000000-0000-0000-0000-000000000000::urn:schemas-upnp-org:service:WANIPConnection:1</div><div>NTS:ssdp:alive</div>
<div><br></div><div>I also run tomato and haven't had trouble with the upnp support so at least we have that part working.</div><div><br></div><div>You should see the above keepalive appear periodically every 30s or so. You should see another set of messages when you terminate the DSL connection and when that dsl connection comes back online.</div>
<br><div class="gmail_quote">On Sat, Oct 23, 2010 at 5:36 PM, Mark Campbell-Smith <span dir="ltr"><<a href="mailto:mcampbellsmith@gmail.com">mcampbellsmith@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi!<div><br></div><div>The router is a ASUS router but it is running the tomato firmware which runs miniupnd.</div><div><br></div><div>In the debug I see the message: 2010-10-24 08:02:59.178918 [DEBUG] sofia.c:956 nua_i_outbound: unknown event 8: 101 NAT detected</div>
<div><br></div><div>This is what I see below. I hope I enabled all debug messages. I thought I saw some xml type messages earlier, but not sure how I enabled them.</div><div><br></div><div><div>nta_outgoing: RTT is 67.958 ms</div>
<div>outbound(0xb6e07c00): NAT binding changed: [210.xx.xxx.xx]:5080 != [58.xxx.xx.xx]:5080</div><div>nua(0xb6e07c00): event i_outbound 102 NAT binding changed</div><div>nua: nua_application_event: entering</div><div>2010-10-24 09:05:08.849525 [DEBUG] sofia.c:956 nua_i_outbound: unknown event 8: 102 NAT binding changed</div>
</div><div><div></div><div class="h5"><div><br><br><div class="gmail_quote">On Sun, Oct 24, 2010 at 1:08 AM, Rupa Schomaker <span dir="ltr"><<a href="mailto:rupa@rupa.com" target="_blank">rupa@rupa.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
btw: what router are you using?<div><div></div><div><br><br><div class="gmail_quote">On Sat, Oct 23, 2010 at 9:06 AM, Rupa Schomaker <span dir="ltr"><<a href="mailto:rupa@rupa.com" target="_blank">rupa@rupa.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In a upnp config, FS is depending on the router to notify it of the ip address change. It is possible the upnp message(s) aren't formatted as expected. If you turn on debug logging you'll get the upnp messages on the console. If you can pastebin the capture of those while dropping and restarting the dsl connection I can maybe see if there is something obvious going on. The debug should also have messages related to the processing of those upnp messages.<br>
<br><div class="gmail_quote"><div><div></div><div>On Sat, Oct 23, 2010 at 7:04 AM, Mark Campbell-Smith <span dir="ltr"><<a href="mailto:mcampbellsmith@gmail.com" target="_blank">mcampbellsmith@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div>
HI!<div><br></div><div>I know this question must have been answered 100's of times....</div><div><br></div><div>My adsl is a bit dodgy at the moment and tends to go up and down; which means I get assigned a new ip address from my ISP. FS is nat'd behind a upnp capable router.</div>
<div><br></div><div>The problem is that FS does not seem to be detecting the change. For both the internal and external profile, I have auto-nat setup, and I have tried stun and host settings in vars.conf. When I issue a nat_map status I see my old IP address, and if I then issue a nat_map reinit, I see the new public IP address. How can I get this to be automatic?</div>
<div><br></div><div>Also the public IP address shown in the nat_map status is not the same as shown in the sofia profile internal/external printouts. Why is this?</div><div><br></div><div>I'm sure this is configuration, just not sure what to change.</div>
<div><br></div><div>Thanks!</div>
<br></div></div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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><font color="#888888">-Rupa<br>
</font></blockquote></div><br><br clear="all"><br></div></div>-- <br><font color="#888888">-Rupa<br>
</font><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></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>
</div>