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

mszlazak at aol.com mszlazak at aol.com
Tue Oct 28 23:14:15 PDT 2008


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();
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081029/e07d7f9c/attachment-0002.html 


More information about the FreeSWITCH-users mailing list