Re: [Asterisk-Users] DeadAGI and Hangup on channel

2006-01-30 Thread Grigoriy Puzankin
Hello, GP I'm trying to catch channel hangup in DeadAgi script. Googling didn't help. Channel status AGI command returns 6 - line is up, because hangup has been requested only (and not completed). I found the following solution. In res_agi.c source I found usage of ast_check_hangup(chan)

[Asterisk-Users] DeadAGI and Hangup on channel

2006-01-27 Thread Grigoriy Puzankin
Hello, I'm trying to catch channel hangup in DeadAgi script. For example, A calls to DeadAgi script which connects (Dial) to B. After Dial command exits I need to identify where hangup came from: A or B. CHANNEL STATUS returns 6 (Line is Up) regardless of who hungup. In CLI show channels states