[Freeswitch-users] Running sox from within lua

Alex Lake alex at digitalmail.com
Tue Feb 19 19:21:05 MSK 2013


Having a spot of bother with this bit of lua:

result = os.execute(string.format([[sox --norm %s %s.new]], 
file_to_normalise, file_to_normalise))

It's returning -1. I believe freeswitch is running as root and that the 
sox file is in that location and is runnable.

Any ideas?



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