[asterisk-users] Possible AGI bug?

Leo Burd leob at media.mit.edu
Tue Apr 13 14:19:38 CDT 2010


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





More information about the asterisk-users mailing list