Is there a variable I can use to record the direction of hangup?

Example: Calling ----> Called. Called party hangs up. Info I want --> Release from Called party

Example 2: Calling ----> Called. Caller hangs up. Info I want --> Release from Calling party

  • in AMI there is an event called Hangup where you can identify the channel that hangs up. – jcbermu Apr 22 '15 at 8:23

If you use Dial command with 'g' option, if CALLED hangup you will go to next priority after dialled

If CALLER hangup you will go 'h' extension in same context, but you will be NOT able say something to caller.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.