[asterisk-users] Asterisk reload, to execute file

Danny Nicholas danny at debsinc.com
Wed Aug 3 08:55:22 CDT 2011


Just use a system() call.

 

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Shaun Wingrin
Sent: Wednesday, August 03, 2011 2:28 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] Asterisk reload, to execute file

 

Say, 

 

When * reloads it changes the file permissions of below file. How can I call
an executable which corrects for this?

chmod 777 /var/lib/asterisk/agi-bin/dialparties.agi

 

Tx Shaun

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110803/2eb7faf5/attachment.htm>


More information about the asterisk-users mailing list