I'm running asterisk 1.6 on a router. I have followed the instructions to use the following script:
When I call 77 I get the following error message in the CLI:
-- Executing [77@devices:1] AGI("SIP/200-0000000c", "wakeup.php") in new stack
-- Launched AGI Script /opt/var/lib/asterisk/agi-bin/wakeup.php
wakeup.php: Failed to execute '/opt/var/lib/asterisk/agi-bin/wakeup.php': No such file or directory
-- Executing [77@devices:2] Hangup("SIP/200-0000000c", "") in new stack
== Spawn extension (devices, 77, 2) exited non-zero on 'SIP/200-0000000c'
wakeup.php is in /opt/var/lib/asterisk/agi-bin/ and it has full r/w/x privileges. I don't get it. What am I doing wrong??