[Freeswitch-users] Lua script not working in Freeswitch

Brian West brian at freeswitch.org
Sat Jan 4 19:26:19 MSK 2014


Dare I ask why you’re doing this?  Seems weird to call lua to call python… seems like the wrong approach to me.  Maybe outline what you’re trying to accomplish and maybe I could recommend a more sane approach.  
--
Brian West
brian at freeswitch.org
FreeSWITCH Solutions, LLC
PO BOX 2531
Brookfield, WI 53008-2531
Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

T: +1.918.420.9001  |  F: +1.918.420.9002  |  M: +1.918.424.WEST
iNUM: +883 5100 1420 9001
ISN: 410*543
Skype:briankwest
PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)













On Jan 4, 2014, at 4:24 AM, Karsten Horsmann <khorsmann at gmail.com> wrote:

> Hi Joli,
> 
> 
> is that FS current master or 1.2? In master is 5.2 lua included, in 1.2 is 5.1 Version.
> 
> You could test your lua script with the full-path to the python script. Maybe the current working directory of lua is diffrent. 
> 
> pythonResult = assert (io.popen ('/usr/bin/python /my/full/path/python2lua.py ' ..callerID))
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140104/52e199a1/attachment.bin 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list