[asterisk-users] AGI Problem

Steve Edwards asterisk.org at sedwards.com
Tue Sep 27 13:49:38 CDT 2011


On Tue, 27 Sep 2011, Mehmet Avcioglu wrote:

> Today I changed the AGI calls to System at places where there is no 
> response back to asterisk. Kept everything the same, instead of 
> AGI(script.php,var1,var2) made it System(/path/script.php "var1" "var2") 
> and it worked without a problem. This way I have been able to fix the 
> problem where this caused a deadlock requiring human intervention.

This is not a 'fix.'

> The lines in the dialplan that continue to use the AGI call still 
> experience the same problem as before. Today it happened 9 times out of 
> 10486 executions, but these are not as fatal as before, so they can 
> almost be ignored.

All this strongly points at your implementation of the AGI protocol.

So now the question becomes 'Is it easier to debug my own private AGI 
library or should I switch to a more mature implementation?'

-- 
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