Wake up call PHP script
Re: Wake up call PHP script
The script does define a path to the php location: #!/usr/bin/php -q
But that path does not exist. /usr/bin exists but /php does not. Do i need to install a php interpreter or is it possibly located elsewhere?
Thanks!
Matt
But that path does not exist. /usr/bin exists but /php does not. Do i need to install a php interpreter or is it possibly located elsewhere?
Thanks!
Matt
Wake up call PHP script
Hello,
I'm running asterisk 1.6 on a router. I have followed the instructions to use the following script:
http://voip-info.capatres.com/wiki/view/Asterisk+tips+Wake-Up+Call+PHP.html
When I call 77 I get the following error message in the CLI:
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??
Thanks!
I'm running asterisk 1.6 on a router. I have followed the instructions to use the following script:
http://voip-info.capatres.com/wiki/view/Asterisk+tips+Wake-Up+Call+PHP.html
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??
Thanks!
Featured -
Search:








