Just use a system() call.

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Shaun Wingrin
Sent: Wednesday, August 03, 2011 2:28 AM
To: asterisk-users@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

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to