We totally cannot figure this one out. We have a perl script that we are calling in our dialplan, using the AGI command.
Here is the CLI output:
[quote] – Executing [0107@local:1] Answer(“SIP/RAMEN-08e5aaf8”, “”) in new stack
– Executing [0107@local:2] Wait(“SIP/RAMEN-08e5aaf8”, “3”) in new stack
– Executing [0107@local:3] AGI(“SIP/RAMEN-08e5aaf8”, “rp.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/rp.agi
== rp.agi: Failed to execute ‘/var/lib/asterisk/agi-bin/rp.agi’: No such file or directory
– Auto fallthrough, channel ‘SIP/RAMEN-08e5aaf8’ status is ‘UNKNOWN’
[/quote]
Here is the extensions.conf portion:
;application
exten => 0107,1,Answer()
exten => 0107,2,Wait(3)
exten => 0107,3,AGI(rp.agi)
Also, the ls -la of the folder:
drwxr-xr-x 2 asterisk asterisk 4096 2009-02-27 18:33 .
drwxr-xr-x 9 asterisk asterisk 4096 2009-02-25 19:54 ..
-rwxr-x--- 1 asterisk asterisk 1742 2009-02-25 20:14 agi-test.agi
-rwxr-x--- 1 asterisk asterisk 388 2009-02-27 17:49 defaultcmd.conf
-rwxr-x--- 1 asterisk asterisk 92670 2009-02-25 20:14 eagi-sphinx-test
-rwxr-x--- 1 asterisk asterisk 150152 2009-02-25 20:14 eagi-test
-rwxr-x--- 1 asterisk asterisk 14530 2009-02-25 20:14 jukebox.agi
-rwxr-x--- 1 asterisk asterisk 72 2009-02-27 17:50 remote.env
-rwxr-x--- 1 asterisk asterisk 1076 2009-02-27 17:53 remotePhone.agi
-rwxrwxrwx 1 asterisk asterisk 1074 2009-02-27 18:40 rp.agi
-rwxr-x--- 1 root root 1074 2009-02-27 18:33 rp.pl
-rwxr-x--- 1 asterisk asterisk 66 2009-02-27 17:49 users.conf
Any help is appreciated, thank you.