Knowing is hangup up first

Hello,

I have a purpose
When there is a call, we need to know who is hangup first the call, the caller or the called.
is there anyway to know it, or events that I can catch in Asterisk

Thanks a lot

there’s an event - HangupRequest in AMI
you can find it

Where exactly are you wanting to know this information? Over AMI? In the dialplan?

it is better for me over AMI, do you have an idea for that

I see that but both send this event so how to know who is hangup first

Use the g option on Dial, so that the A side doesn’t hangup when the B side does.

OK thanks a lot

ANd how about if B is on queue, I mean agent on one queue not dialing directly

c, but also consider F.

https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Application_Queue

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.