Does anyone know if there’s a way either with AMI or something to programmatically obtain the number that an extension is on the phone with? So basically I want to make a php script where I will pass the parameter as the extension number and for that extension number I want to determine what number that extension is on call with? If that extension is not on the phone to anyone then ofcourse it shouldn’t return anything.
Thank you for your comment, but obviously, you can filter down the extensions you want to present. I shared an example of how he can achieve a list of calling channels.