[Asterisk-Dev] EAGI : Pipe saturation

Steven Critchfield critch at basesys.com
Tue Dec 16 08:12:48 MST 2003

On Tue, 2003-12-16 at 05:13, Areski wrote:
> Well, I created a script that loop all the time until that the user
> hangup. With AGI, my script is not killed by Asterisk for some reasons
> ;/ (perhaps it's normal) 

What language are you using for the Agi? Maybe your lost pipes are in
your script not asterisk.

> Actually, I just tricked it on AGI, so it's work fine now, I detect the
> hangup from stdin. Perhaps that was the way.

Thats the appropriate way/ Asterisk does not kill you script off. It
just closes it's side of the pipes. So you have to detect that and close
up your side and clean anything else up before exiting. 

Steven Critchfield <critch at basesys.com>

More information about the asterisk-dev mailing list