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@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@mundio.com<mailto:a.venugopan@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@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@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@hotmail.com<mailto:shari_786pk@hotmail.com> Email: shaheryarkh@googlemail.com<mailto:shaheryarkh@googlemail.com>