AMI - Action Command For Hanging Up A Specific Phone Call

What should be the action command parameters for hanging up a specific call?(if possible)

So if I say, how the AMI action command should look like if i want to hang up the call associated with the phone number 01234567890? Maybe the Channel: does not take the phone number?

It takes a channel name, and AMI actions are documented on the wiki[1]. Any association between a channel and some other thing (such as a phone number or something else) is up to you to do.

[1] Asterisk 19 ManagerAction_Hangup - Asterisk Project - Asterisk Project Wiki

1 Like

thank you for the response