[Asterisk-Users] pbx_extension_helper: No application 'agi'

Tom Fielding tomfielding at gmail.com
Tue Jun 28 01:56:23 MST 2005


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



More information about the asterisk-users mailing list