I
I
Ivan2016-03-24 19:05:41
Telephony
Ivan, 2016-03-24 19:05:41

How to perform an action on hangup?

Good evening.
I make a call from the console (fs_cli) using the command

originate {ingnore_early_media=true}sofia/gateway/sipnet/+79999999999

The call is going great.
The question is, is it possible to somehow track the hangup event and use this value in the condition, or make a tranfser in another context, in which, through the schedule, postpone the call for any period of time?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2016-03-24
@kalashnikofff

look for examples with api_hangup_hook, transfer_after_bridge, Variable_session_in_hangup_hook

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question