On Thu, 29 Mar 2012, Mikhail Lischuk wrote:
I have the following line in features.conf:
parse => *9,peer/both,AGI,/etc/asterisk/agi/map.pl
I've never invoked an AGI from 'features,' but I'll assume it's 'the same'
as executing an AGI from the dialplan.
During outgoing call, those variables get messed up.
Is that some bug, or misconfiguration, or maybe wrong programming?
Usual 'fails' in AGIs are:
1) Not using an established AGI library. While the AGI protocol is simple,
nobody gets it right the first time.
2) Forgetting that your AGI's STDIN and STDOUT 'belong' to Asterisk and
printing a debugging message or something similar.
3) Not reading the AGI environment from STDIN before requesting an AGI
command.
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards [email protected] 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