[Freeswitch-users] Lua script

Seven Du dujinfang at gmail.com
Wed Nov 14 01:41:04 MSK 2012


try

session:execute("log", "ERR blahblah\n")  

--  
Seven Du
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


On Tuesday, November 13, 2012 at 7:21 PM, Archana Venugopan 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
>  
>  


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121114/77d0ee92/attachment.html 


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