[asterisk-users] agi voicemail callback

Steve Edwards asterisk.org at sedwards.com
Wed Apr 6 08:13:59 CDT 2011


On Wed, 6 Apr 2011, vip killa wrote:

> What about a executing an AGI script with:
> [general]
> externnotify = /some_agi_script.agi
> 
> Would that work?

No.

What makes a program (compiled or interpreted script) an AGI is that it 
follows the AGI protocol.

Very simplistically, the AGI protocol consists of 2 things:

1) the AGI environment sent to the AGI's STDIN

2) a defined interface to ask Asterisk to do things in the form of a 
request and a response.

Externnotify will work if the program is not an AGI.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-users mailing list