I’m using AMI to write a code to hang-up an extension’s call.
All I know is: Extension’s number
While the AMI’s HangUp() only accepts channels (call unique id).
Is it possible to get the channel name (or call’s unique id) for a particular extension?
Thank you in advance,