Asterisk reload, to execute file

Home » Asterisk Users » Asterisk reload, to execute file
Asterisk Users 1 Comment

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

One thought on - Asterisk reload, to execute file

  • Just use a system() call.

    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Shaun Wingrin
    Sent: Wednesday, August 03, 2011 2:28 AM

    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