hello. i am trying to set up wake up calls using asterisk 1.6. when i try the extension for wake up calls
exten => _55XXXX#,1,AGI(wakeup-call.pl) ; Set wake-up call
exten => _#55#,1,AGI(wakeup-call.pl) ; Cancel all
exten => _#55XXXX#,1,AGI(wakeup-call.pl) ; Cancel specific
exten => _#55#,1,AGI(wakeup-call.pl) ; Check status
it gives the following errors
Executing [551130#@incoming1:1] AGI(“USTM/102@7625-0”, “wakeup-call.pl”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/wakeup-call.pl
wakeup-call.pl: Failed to execute ‘/var/lib/asterisk/agi-bin/wakeup-call.pl’: Permission denied
how to solve this?