Yealink Forums

Full Version: HTTP Command to OFFHOOK an incoming call
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I am creating a CTI software, and I want to manage an YEALINK Phone (connected to an Asterisk PBX) directly from the software.

I saw that I can use this HTTP command to offhook an incoming call :
http://[IP-YEALINK-PHONE]/servlet?key=OFFHOOK

This will simulate the OFFHOOK button.
It works fine, but if I have two incoming calls (or more), I want to choose which incoming call, I want to offhook.

How I can do that ?

I have to send a SIP NOTIFY with the Caller ID ? An AMI Command ? another way ?

Thank you.
Reference URL's