![]() |
Yealink NOTIFY message to Auto-Answer - 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: Yealink NOTIFY message to Auto-Answer (/showthread.php?tid=3179) |
Yealink NOTIFY message to Auto-Answer - komfushee - 01-20-2015 05:44 PM Hello, Is there a sip notify message that's handled by Yealink's phone that's auto-answering a call ? The aim of this is to auto-answer an incoming call when the user has an headphone with microphone, without touching to the phone. He just has to click a button on a webpage and the call is answered. But I don't want to use the URL request : Code: http://admin:admin@192.168.1.1/cgi-bin/ConfigManApp.com?Id=34&Command=1&Number=100&Account=101 Thanks. RE: Yealink NOTIFY message to Auto-Answer - James_Yealink - 01-20-2015 07:55 PM Hi, This is a notify message sample, *************************************************************** NOTIFY sip:00156542C479@192.168.2.137:5062 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.145:5060;branch=z9hG4bK14d54da8;rport Max-Forwards: 70 From: "7039" <sip:7039@192.168.2.145>;tag=as2a0fd9d9 To: <sip:00156542C479@192.168.2.137:5062>;tag=389713952 Contact: <sip:7039@192.168.2.145> Call-ID: 0db88cab3867e0d378c1de2d3ac2a05b@192.168.2.145 CSeq: 103 NOTIFY User-Agent: Asterisk PBX 1.6.0.28-samy-r115 Event: talk Subscription-State: active Max-Forwards: 20 Content-Length: 0 *************************************************************** But using an action URI will be easier, you just need to send below action URI to phone. http://10.2.5.134/servlet?key=OK (repace the 10.2.5.134 with yours) Regards, James RE: Yealink NOTIFY message to Auto-Answer - komfushee - 01-21-2015 07:05 PM I've sent a SIP NOTIFY to the phone, but it did not seems to accept it. Here is the NOTIFY event : Code: [event-talk] And the sip trace : Code: <-------------> Maybe is it because the "From" is unknown when sent from Asterisk CLI. Any idea how to make it work ? |