Modified: freeswitch/trunk/src/switch_nat.c (16198 => 16199)
--- freeswitch/trunk/src/switch_nat.c 2010-01-07 16:40:38 UTC (rev 16198)
+++ freeswitch/trunk/src/switch_nat.c 2010-01-07 16:52:01 UTC (rev 16199)
@@ -103,7 +103,7 @@
}
if (!dev) {
dev = devlist; /* defaulting to first device */
- switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "No InternetGatewayDevice, using first entry as default.\n");
+ switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "No InternetGatewayDevice, using first entry as default (%s).\n", dev->descURL);
}
descXML = miniwget(dev->descURL, &descXMLsize);
@@ -114,6 +114,8 @@
parserootdesc (descXML, descXMLsize, &nat_globals.data);
free (descXML); descXML = 0;
GetUPNPUrls (&nat_globals.urls, &nat_globals.data, dev->descURL);
+ } else {
+ switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Unable to retrieve device description XML (%s).\n", dev->descURL);
}
freeUPNPDevlist(devlist);