[Freeswitch-users] Help! No output to CLI with console_log() from script

mszlazak at aol.com mszlazak at aol.com
Wed Oct 29 01:19:50 PDT 2008


 I changed console_log("Hello World!\n") to console_log("debug", "Hello World!\n") and that didn't work either. Finally, I got console_log("notice", "Hello World!\n") to output to the CLI.
Where is the output with "debug" going?


 


 

-----Original Message-----
From: mszlazak at aol.com
To: freeswitch-users at lists.freeswitch.org
Sent: Tue, 28 Oct 2008 11:14 pm
Subject: [Freeswitch-users] Help! No output to CLI with console_log() from script









I'm trying to get output to my CLI in Windows XP when running this script by dialing 8337 but the output "Hello World!" doesn't show up. The rest works fine.

What's wrong with console_log("Hello World!\n") ? Where has the output gone?





console_log("Hello World!\n");



var languageCode = "en";

var soundDir = "sound/";



function playFile(fileName, callBack, callBackArgs)

{

??? session.streamFile(soundDir + languageCode +? "/" + fileName);

}



session.answer();

playFile("HelloWorld.wav");

exit();





McCain or Obama? Stay updated on coverage of the Presidential race while you browse - Download Now! 



 





_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081029/57618509/attachment-0002.html 


More information about the FreeSWITCH-users mailing list