Oh, it is probable that logging is initialized after nat....  so the first pass won&#39;t show up in the filesystem logs.  It would should up on subsequent nat initialization (what I was testing with some new code).  <br><br>
<div class="gmail_quote">On Wed, Jun 10, 2009 at 6:54 PM, Lars Zeb <span dir="ltr">&lt;<a href="mailto:larclap@yahoo.com">larclap@yahoo.com</a>&gt;</span> wrote:<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" lang="EN-US">

<div>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Rupa,</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 think the
console log has information in it that log/freeswitch.log does not.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">Console:</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">[</span><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">root@fs bin]#
../freeswitch </span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">2009-06-10 16:12:50.771529 [INFO] switch_event.c:564 Activate
Eventing Engine.</span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">2009-06-10 16:12:50.773760 [DEBUG] switch_event.c:552 Create
event dispatch thread 0</span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">2009-06-10 16:12:50.894819 [ERR] switch_xml.c:1282 Couldnt open
/usr/local/freeswitch/conf/autoload_configs/../sip_profiles/internal/*.xml (No
such file or directory)</span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">Error including
/usr/local/freeswitch/conf/autoload_configs/../sip_profiles/internal/*.xml
(Invalid or incomplete multibyte or wide character)</span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">2009-06-10 16:12:51.140903 [INFO] switch_nat.c:159 Scanning for
NAT</span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">2009-06-10 16:12:51.141324 [DEBUG] switch_nat.c:127 Checking for
PMP 1/5</span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">2009-06-10 16:12:51.391941 [DEBUG] switch_nat.c:127 Checking for
PMP 2/5</span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">2009-06-10 16:12:51.891822 [DEBUG] switch_nat.c:127 Checking for
PMP 3/5</span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">2009-06-10 16:12:52.891593 [DEBUG] switch_nat.c:127 Checking for
PMP 4/5</span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">2009-06-10 16:12:54.891125 [DEBUG] switch_nat.c:127 Checking for
PMP 5/5</span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">2009-06-10 16:12:54.892134 [DEBUG] switch_nat.c:164 Checking for
UPnP</span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">2009-06-10 16:12:58.891233 [INFO] switch_nat.c:174 No PMP or
UPnP NAT detected!</span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">log/freeswitch.log:</span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">2009-06-10 16:12:09.337973 [DEBUG] switch_loadable_module.c:570
Write lock interface &#39;console&#39; to wait for existing references. (from previous Freeswitch
invocation)</span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">2009-06-10 16:12:58.964463 [NOTICE] switch_loadable_module.c:208
Adding Dialplan &#39;enum&#39;</span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">2009-06-10 16:12:58.964535 [NOTICE] switch_loadable_module.c:248
Adding Application &#39;enum&#39;</span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">2009-06-10 16:12:58.964599 [NOTICE] switch_loadable_module.c:270
Adding API Function &#39;enum&#39;</span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">2009-06-10 16:12:58.964662 [NOTICE] switch_loadable_module.c:270
Adding API Function &#39;enum_auto&#39;</span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">2009-06-10 16:12:58.964974 [DEBUG] mod_cdr_csv.c:314 Adding
default template.</span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">2009-06-10 16:12:58.965016 [DEBUG] mod_cdr_csv.c:359 Adding
template sql.</span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">2009-06-10 16:12:58.965032 [DEBUG] mod_cdr_csv.c:359 Adding
template sql2.</span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">2009-06-10 16:12:58.965047 [DEBUG] mod_cdr_csv.c:359 Adding
template example.</span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">2009-06-10 16:12:58.965063 [DEBUG] mod_cdr_csv.c:359 Adding
template snom.</span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">2009-06-10 16:12:58.965079 [DEBUG] mod_cdr_csv.c:359 Adding
template linksys.</span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);">2009-06-10 16:12:58.965095 [DEBUG] mod_cdr_csv.c:359 Adding
template asterisk.</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 disabled the
DLink router UPnP mode, so no 0.0.0.0 appears in the console log. However, the
disk log begins at 16:12:58, whereas the console log starts at 16:12:50. The
console log finishes its NAT and UPnP reporting before the disk log begins, so
I wouldn’t see any 0.0.0.0 if it were present.</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);">The [ERR] was
due to me removing example.xml from sip_profiles/internal. I put it back after
this. I don’t understand the following command in conf/sofia.conf.xml.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p style=""><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(0, 187, 187);">&lt;X-PRE-PROCESS </span><span style="font-size: 9pt; font-family: &quot;Courier New&quot;; color: rgb(0, 187, 0);">cmd</span><span style="font-size: 9pt; font-family: &quot;Courier New&quot;;">=<span style="color: rgb(187, 0, 0);">&quot;include&quot;</span><span style="color: rgb(0, 187, 187);"> </span><span style="color: rgb(0, 187, 0);">data</span>=<span style="color: rgb(187, 0, 0);">&quot;../sip_profiles/*.xml&quot;</span><span style="color: rgb(0, 187, 187);">/&gt;</span><span style="background: black none repeat scroll 0% 0%; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"></span></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);">Lars</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<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>Rupa
Schomaker<br>
<b>Sent:</b> Tuesday, June 09, 2009 6:05 PM<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&#39;t hear outbound calls</div></span></p>

</div><div class="im">

<p> </p>

<p style="margin-bottom: 12pt;">if you haven&#39;t changed your
logging, then it is probably ok.  The 0.0.0.0 thing is logged at error
level, so will show up in the logs.  How did you search?  Grep? 
<br>
<br>
grep &#39;0\.0\.0\.0&#39; freeswitch.log</p>

<div>

<p>On Tue, Jun 9, 2009 at 7:35 PM, Lars Zeb &lt;<a href="mailto:larclap@yahoo.com" target="_blank">larclap@yahoo.com</a>&gt; wrote:</p>

<div>

<div>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Rupa,</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);">What options do I have for
setting up logging? I’m sorry, but I don’t know anything about
this.</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);">Thanks, Lars</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<div style="border-style: solid none none; border-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>Rupa Schomaker<br>
<b>Sent:</b> Tuesday, June 09, 2009 5:19 PM</span></p>

<div>

<p><span style="font-size: 10pt;"><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&#39;t hear outbound calls</span></p>

</div>

</div>

<p> </p>

<p style="margin-bottom: 12pt;"> </p>

<div>

<p>On Tue, Jun 9, 2009 at 6:43 PM, Lars Zeb &lt;<a href="mailto:larclap@yahoo.com" target="_blank">larclap@yahoo.com</a>&gt;
wrote:</p>

<div>

<div>

<div>

<div>

<p> </p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">It looks like the error message
only appears on the console when started without the nc option; and it does not
appear in log/freeswitch.log in any case.</span></p>

</div>

</div>

<div>

<p>You might want to review how you have your logging setup then.  The
example I gave you was copied/pasted out of my freeswitch.log file while
testing this fix.  </p>

</div>

</div>

</div>

</div>

<p><span style="color: rgb(136, 136, 136);"><br>
-- <br>
-Rupa</span></p>

</div>

</div>

<p style="margin-bottom: 12pt;"><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></p>

</div>

<p><br>
<br clear="all">
<br>
-- <br>
-Rupa</p>

</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>