Hello,
perhaps is the privileges of the user running kamailio. Is it allowed to
create a directory under /usr/bin/mwi?
Cheers,
Daniel
On 11/06/14 11:18, Ansuman Manna - Asergis Telecom wrote:
//
/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_
Asergis Telecom India
//
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla -
http://www.asipto.com
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda