[Freeswitch-users] Lua script
Michael Collins
msc at freeswitch.org
Wed Nov 14 01:37:51 MSK 2012
Yes, use consoleLog for that as well and just watch the FreeSWITCH CLI when
the script is running. I use WARNING and ERR debug levels to make the print
stand out in purple and red lettering, respectively.
-MC
On Tue, Nov 13, 2012 at 9:21 AM, Archana Venugopan
<a.venugopan at mundio.com>wrote:
> 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> 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
> 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
> 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
> Email: shaheryarkh at googlemail.com****
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> 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
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121113/5c074906/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list