Disconnected by

how to know from which endpoint call got disconnected ?

Use g on Dial and h extension. You might also be able to make use of the F option, and of hangup handlers.

This assumes you are using a channel technology with reliable disconnect supervision. If you are using analogue FXO without disconnect supervision, or where network release is significantly delayed after on hook, you might not see disconnects from that side.

It also assumes the disconnect wasn’t initiated by Asterisk due to a protocol violation or loss of media, which will look as though the corresponding party actually initiated the hangup.

i am using a python script using agi. In that script i am getting all the cdr variables and putting all the variables values into the database and in the same script i want to get the value for disconnected from which endpoint… is there any other way ??

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