Is the Originate() call using the same context as the manual Dial-In? Could
be as simple as one Answering and the other not (or not always).
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Leo Burd
Sent: Tuesday, April 13, 2010 2:20 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Possible AGI bug?
Hello all,
I wonder if somebody could provide me with some advice on how to track
what looks like a bug to me:
I've got a PHP AGI script that is called whenever I dial into the system
and also whenever I issue a specific Originate() request via AMI.
The script works fine when I dial in. However, when I run it via
Originate(), it sometimes does not play anything, sometimes plays part
of an audio file, sometimes gets stuck as if waiting for something to
happen.
I've run the script with verbose=3 and agi debug on, but couldn't detect
anything abnormal.
How does one even start to debug a problem like this? I find it really
bizarre that the system behaves differently even if called in the same
way... Any suggestions?
Thanks in advance,
Leo
--
_____________________________________________________________________
-- 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