D
D
Dmitry Shitskov2016-12-27 16:29:51
Asterisk
Dmitry Shitskov, 2016-12-27 16:29:51

How to intercept Hangup on Originate?

Good afternoon!
There is a certain Web service which through AMI executes Originate and is disconnected.
I need to perform some actions in the dialplan at the end of the conversation of subscribers. How can I catch the Hangup of such a call? If you place the h extension in one of the Originate contexts, then it will work at the moment the two channels connect.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Shitskov, 2016-12-27
@Zarom

It was possible to get the necessary interaction using the Local channel with the key n - the channel existed until the end of the call and jumped normally to the h extension.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question