<div> <font face="Arial, Helvetica, sans-serif">Hi Anthony,<br>
<br>
Thanks for pointing out the distinction between the two. <br>
<br>
I don't need to use "debug" now since any of the other levels work ("info", "notice", "warning", "err", "crit", "alert") but probably will later. What is the default setting? I changed it to loglevel 6 afterwards.<br>
<br>
In any case, I not getting output with console_log() having no level specified??<br>
<br>
Also, could you look at this post. The very last lines indicate a problem with hearing a lot of static on my .wav file. The static isn't there on any of the standard (non-FreeSWITCH) players. <br>
The stuff prior is just my perspective as a newbie to FreeSWITCH (amoung other things) on the JavaScript Quickstart.<br>
</font></div>
<div> <font face="Arial, Helvetica, sans-serif"><br>
</font></div>
http://www.mail-archive.com/freeswitch-users@lists.freeswitch.org/msg05193.html<font face="Arial, Helvetica, sans-serif"><br>
<br>
Cheers.<br>
<br>
</font>-----Original Message-----<br>
From: Anthony Minessale <<font face="Arial, Helvetica, sans-serif">anthony.minessale@gmail.com</font>><br>
To: freeswitch-users@lists.freeswitch.org<br>
Sent: Wed, 29 Oct 2008 6:07 am<br>
Subject: Re: [Freeswitch-users] Help! No output to CLI with console_log() from script<br>
<br>
<div id="AOLMsgPart_3_c24cd3ec-c98e-4f0d-ba4e-6cbf1dc50bb0">
fsctl loglevel is the global loglevel meaning when you change it it will effect all logger modules it's a system level command.<br>
console loglevel is mod_console's log level. mod_console is a logger module that sits on the console and filters which lines will<br>
print on the screen based on level and some string matching params found in its config.<br>
<br>
<br>
<div class="gmail_quote">On Wed, Oct 29, 2008 at 3:57 AM, <span dir="ltr"><<a href="mailto:mszlazak@aol.com">mszlazak@aol.com</a>></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> <br>
<font face="Arial, Helvetica, sans-serif">Thanks for the pointer. The </font><tt><tt>fsctl loglevel 7 didn't seem to work but console loglevel 7 did.<br>
<br>
</tt></tt></div>
<div class="Ih2E3d">
<div> <br>
</div>
-----Original Message-----<br>
From: Matt Klein <<a href="mailto:mklein@nmedia.net">mklein@nmedia.net</a>><br>
To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
</div>
<div>
<div></div>
<div class="Wj3C7c">
Sent: Wed, 29 Oct 2008 1:28 am<br>
Subject: Re: [Freeswitch-users] Help! No output to CLI with console_log() from script<br>
<br>
<div style="margin: 0px; font-family: Tahoma,Verdana,Arial,Sans-Serif; font-size: 12px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<pre style="font-size: 9pt;"><tt><br>
<br>
You can enter fsctl loglevel 7 for debug output in the CLI.<br>
<br>
<br>
<br>
<br>
<br>
It looks like your configuration for the loglevel of CLI output is set too low.<br>
<br>
<br>
<br>
<a target="_blank" href="http://wiki.freeswitch.org/wiki/Troubleshooting_Freeswitch#Increase_Debug_Output">http://wiki.freeswitch.org/wiki/Troubleshooting_Freeswitch#Increase_Debug_Output</a><br>
<br>
<br>
<br>
<br>
<br>
m<br>
<br>
<br>
<br>
<br>
<br>
On Wed, 29 Oct 2008, <a href="mailto:mszlazak@aol.com">mszlazak@aol.com</a> wrote:<br>
<br>
<br>
<br>
><br>
<br>
> I changed console_log("Hello World!\n") to console_log("debug", "Hello <br>
<br>
World!\n") and that didn't work either. Finally, I got console_log("notice", <br>
<br>
"Hello World!\n") to output to the CLI.<br>
<br>
> Where is the output with "debug" going?<br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
> -----Original Message-----<br>
<br>
> From: <a href="mailto:mszlazak@aol.com">mszlazak@aol.com</a><br>
<br>
> To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
<br>
> Sent: Tue, 28 Oct 2008 11:14 pm<br>
<br>
> Subject: [Freeswitch-users] Help! No output to CLI with console_log() from <br>
<br>
script<br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
> I'm trying to get output to my CLI in Windows XP when running this script by <br>
<br>
dialing 8337 but the output "Hello World!" doesn't show up. The rest works fine.<br>
<br>
><br>
<br>
> What's wrong with console_log("Hello World!\n") ? Where has the output gone?<br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
> console_log("Hello World!\n");<br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
> var languageCode = "en";<br>
<br>
><br>
<br>
> var soundDir = "sound/";<br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
> function playFile(fileName, callBack, callBackArgs)<br>
<br>
><br>
<br>
> {<br>
<br>
><br>
<br>
> ??? session.streamFile(soundDir + languageCode +? "/" + fileName);<br>
<br>
><br>
<br>
> }<br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
> session.answer();<br>
<br>
><br>
<br>
> playFile("HelloWorld.wav");<br>
<br>
><br>
<br>
> exit();<br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
> McCain or Obama? Stay updated on coverage of the Presidential race while you <br>
<br>
browse - Download Now!<br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
> _______________________________________________<br>
<br>
> Freeswitch-users mailing list<br>
<br>
> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<br>
> <a target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
<br>
> UNSUBSCRIBE:<a target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<br>
> <a target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
><br>
<br>
<br>
<br>
_______________________________________________<br>
<br>
Freeswitch-users mailing list<br>
<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<br>
<a target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
<br>
UNSUBSCRIBE:<a target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<br>
<a target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<br>
</tt></pre>
</div>
</div>
</div>
<div><br>
<font style="color: black; font-family: ARIAL,SAN-SERIF; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><hr style="margin-top: 10px;">
<div class="Ih2E3d">McCain or Obama? Stay updated on coverage of the Presidential race while you browse - <a target="_blank" href="http://pr.atwola.com/promoclk/100000075x1211139166x1200680084/aol?redir=http://toolbar.aol.com/elections/download.html?ncid=emlweusdown00000002">Download Now!</a></div>
</font> </div>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<br>
</blockquote></div>
<br>
<br clear="all"><br>
-- <br>
Anthony Minessale II<br>
<br>
FreeSWITCH <a target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>
ClueCon <a target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>
AIM: anthm<br>
<a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a target="_blank" href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br>
<br>
FreeSWITCH Developer Conference<br>
<a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
<a target="_blank" href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:213-799-1400<br>
</div>
<!-- end of AOLMsgPart_3_c24cd3ec-c98e-4f0d-ba4e-6cbf1dc50bb0 -->
<div id="AOLMsgPart_4_c24cd3ec-c98e-4f0d-ba4e-6cbf1dc50bb0" style="margin: 0px; font-family: Tahoma,Verdana,Arial,Sans-Serif; font-size: 12px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<pre style="font-size: 9pt;"><tt>_______________________________________________<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>
</tt></pre>
</div>
<!-- end of AOLMsgPart_4_c24cd3ec-c98e-4f0d-ba4e-6cbf1dc50bb0 -->
<div id='MAILCIAMA016-910049089a8b3e1' class='aol_ad_footer'><BR/><FONT style="color: black; font: normal 10pt ARIAL, SAN-SERIF;"><HR style="MARGIN-TOP: 10px"></HR>McCain or Obama? Stay up to date on the latest from the campaign trail with <a href="http://news.aol.com/elections?ncid=emlcntusnews00000001">
AOL News</a>. </div>