Tom Fielding
2005-Jun-28 01:56 UTC
[Asterisk-Users] pbx_extension_helper: No application 'agi'
Hi all, Sorry for this elementary question (I'm a newbie). I'm trying to write an agi script (test.agi) and run it when I call in. However, I'm getting an error that says application agi isn't being found. I've put test.agi into agi-bin with permissions 755. Do I have to compile agi support into Asterisk, or is it built in? My test.agi script is php, but not using anything fancy (just sending me an email) so I didn't install PHP AGI. Do I have to? Thanks, Tom DEBUG: Connected to Asterisk 1.0.7 currently running on dev1 (pid = 26799) Verbosity is at least 10 -- Executing Goto("SIP/4.68.250.152-08129478", "validatenumber|s|1") in new stack -- Goto (validatenumber,s,1) Jun 28 01:01:02 WARNING[26800]: pbx.c:1291 pbx_extension_helper: No application 'agi' for extension (validatenumber, s, 1) == Spawn extension (validatenumber, s, 1) exited non-zero on 'SIP/4.68.250.152-08129478' EXTENSIONS.CONF: [validatenumber] exten => s,1,agi(test.agi) exten => s,2,HangUp
John Millican
2005-Jun-28 06:23 UTC
[Asterisk-Users] pbx_extension_helper: No application 'agi'
On Tuesday June 28 2005 4:56 am, Tom Fielding wrote:> Hi all, > > Sorry for this elementary question (I'm a newbie). > > I'm trying to write an agi script (test.agi) and run it when I call > in. However, I'm getting an error that says application agi isn't > being found. I've put test.agi into agi-bin with permissions 755. > > Do I have to compile agi support into Asterisk, or is it built in? My > test.agi script is php, but not using anything fancy (just sending me > an email) so I didn't install PHP AGI. Do I have to? > > Thanks, > Tom > > DEBUG: > Connected to Asterisk 1.0.7 currently running on dev1 (pid = 26799) > Verbosity is at least 10 > -- Executing Goto("SIP/4.68.250.152-08129478", > "validatenumber|s|1") in new stack > -- Goto (validatenumber,s,1) > Jun 28 01:01:02 WARNING[26800]: pbx.c:1291 pbx_extension_helper: No > application 'agi' for extension (validatenumber, s, 1) > == Spawn extension (validatenumber, s, 1) exited non-zero on > 'SIP/4.68.250.152-08129478' > > EXTENSIONS.CONF: > [validatenumber] > exten => s,1,agi(test.agi) > exten => s,2,HangUpexten => s,1,agi(test.agi) should be exten => s,1,agi,test.agi If there any arguments to send the script use exten => s,1,agi,test.agi|args_to_pass John M
Apparently Analagous Threads
- Fw: pbx.c:1279 pbx_extension_helper: No application 'SetVal' for extension (c819, 1, 1)
- Why do I get pbx.c 1645 pbx_extension_helper: No application 'Voicemailman' for extension
- Problem with rsync recent file logic ?
- Help with bandwith control in a firewall/bridge machine
- Bandwith Control with a firewall/bridge machine