like a perl script? could you originate a call using Perl and AMI ? On Wed, Apr 6, 2011 at 9:13 AM, Steve Edwards <asterisk....@sedwards.com>wrote:
> 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 sedwa...@sedwards.com Voice: +1-760-468-3867 PST > Newline Fax: +1-760-731-3000 > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users