[Freeswitch-users] lua calling bash script not working

Joli Martinez mrjoli021 at gmail.com
Fri Sep 13 14:09:47 UTC 2019


I have a batch script that needs to run when a call comes in.  I created a
lua script that gathers all the variables needed and sends it to the bash
script.  If I run the lua script from the linux cli the script calls the
bash script without any issues and it executes correctly.  Now when I make
a call the bash script does not get called.  I have outputted messages
before and after the call to the script and they show up on the fs_cli, but
again my bash script which is the middle of both messages does not get
called.

I am running Debian 8 on FS 1.6.  Both my scripts are in
/usr/share/freeswitch/scripts/

I have validated that all the permissions are the same on both scripts.
What am I missing?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190913/aa898777/attachment-0001.html>


More information about the FreeSWITCH-users mailing list