[SR-Users] exec_avp problem
Ansuman Manna - Asergis Telecom
ansuman.manna at asergis.in
Wed Jun 11 11:18:48 CEST 2014
Hi,
I am using the exec_avp command as followed:
exec_avp("/usr/bin/mwi/test.sh $fU"); $fU taking command line arguments.
Here is the shell script content:
#!/bin/bash -e
echo $1
logger done! $1
logger done
mkdir /usr/bin/mwi/$1 || { logger 'touch failed' $? $errorMessage ; exit
1; }
logger is working fine but.mkdir and other system commands are not
executing.
I cant figureout my misses
Regards,
Ansuman Manna
Software Developer
Asergis Telecom Services Private Limited
Office Tel: +91 11 6606 8400
Office Fax: +91 112554 5156
http://www.asergis.in <http://www.asergis.in>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140611/f15ab7a2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2586 bytes
Desc: image001.jpg
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140611/f15ab7a2/attachment.jpg>
More information about the sr-users
mailing list