[Freeswitch-users] Lua script

Archana Venugopan a.venugopan at mundio.com
Tue Nov 13 20:21:31 MSK 2012


Thanks. But I want to put print statements within lua script, just to make sure if the script passes that line. In that case too consolelog we need to use?

Regards,
Archana

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Muhammad Shahzad
Sent: 13 November 2012 14:24
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Lua script

use freeswitch.consoleLog method, e.g.

freeswitch.consoleLog("ERR","Result of system call: " .. res .. "\n");

Thank you.

On Tue, Nov 13, 2012 at 12:21 PM, Archana Venugopan <a.venugopan at mundio.com<mailto:a.venugopan at mundio.com>> wrote:
Hi,
I have lua script in freeswitch, I tried putting print statements there to get that in freeswitch logs. But its not appearing in logs. Would someone please suggest me how to print any string to freeswitch logs.

print(“test”)

Thanks.

Regards,
Archana


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto: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



--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: shari_786pk at hotmail.com<mailto:shari_786pk at hotmail.com>
Email: shaheryarkh at googlemail.com<mailto:shaheryarkh at googlemail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121113/4cabc792/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list