Hi!
I suggest moving the script out of the "/root"-folder into a folder that you know Kamailio is able to access (unless you run Kamailio as root), and then make sure the file is executable by Kamailio, i.e. "mv /root/test.pl /var/tmp && chmod 755 /var/tmp/test.pl".
For example I'm running this in my config, which works fine to get the parameters:
exec_msg("/usr/src/script.sh '$tU' '$ci'");
Best,
/Tobias
sip-router.1086192.n5.nabble.com
Executing perl script with command line parameters. Hi all, I am trying to execute external Perl script from the Kamailio config file. My script accepts few command line parameters but if I try...
|
lists.sip-router.org
SIP Router Users Mailing list - online email forum for communities of SIP Express Router (SER) and Kamailio (OpenSER) projects. Subscription is open to anyone that ...
|