Hello,

it is a permission issues to write to tmp/kamailio_ctl (or ser_ctl in 3.x versions). You can tune them via mod params of ctl module, see:

- http://kamailio.org/docs/modules/4.2.x/modules/ctl.html#mode

Cheers,
Daniel

On 09/06/15 15:37, Uri Shacked wrote:
Hi,

I am using exec_avp() command from kamailio.
The command execute a shell script that runs kamctl and kamcmd commands.

kamailio runs with user 'kamailio' and group 'kamailio' (defaults).

There is not problem with the kamctl commands.

But, the kamcmd commands fails due to permissions issues.

Any ideas?

Cheers,
Uri


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com