Yealink Forums
HTTP Command to OFFHOOK an incoming call - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: General topics (/forumdisplay.php?fid=15)
+--- Thread: HTTP Command to OFFHOOK an incoming call (/showthread.php?tid=3284)



HTTP Command to OFFHOOK an incoming call - aurels - 02-08-2015 05:20 PM

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.