[Asterisk-Users] agi, STREAM FILE and SIGHUP

Nicolás Gudiño asternic at gmail.com
Sun Jun 18 13:36:49 MST 2006


>
>   I have developed a custom AGI in C++. Whenever I stream a file or say out
> digits with STREAM FILE and SAY NUMBER and hangup the call in between the
> AGI ends abruptly.
>  I did a bit of surfing through previous posts and found out that asterisk
> sends a SIGHUP signal as soon as a caller ends a call. The suggesion was to
> catch the SIGHUP signal in the process and ignore it. I wrote the following
> piece of code at the star of the agi.

You might want to read this:

http://bugs.digium.com/view.php?id=6491


-- 
Nicolás Gudiño
Buenos Aires - Argentina



More information about the asterisk-users mailing list