Yealink Forums
get status phone in command line - 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: get status phone in command line (/showthread.php?tid=40927)



get status phone in command line - Fixit - 06-13-2017 08:28 PM

Hello,
I am surprised not to find a possibility to easily recover the Phone status with command line.
I used until recently SNMP but on new phones there is no longer service.

I have need it for a script: I will check if account is registered and I'm trying to find out if the account is "Registred" and if not send a alert.

The restfull interface is a good start but there ars not keyword "status".

Regards,
Ben


RE: get status phone in command line - Karl_Yealink - 06-14-2017 09:56 AM

Hi Ben,

If I understand correct, you want to know the account status. Right?
Yealink phones don't support SNMP, but it support TR069.
Do you have TR069 environment?

Or maybe you can try the Action URL, when phone registered, it can trigger the phone send message to modify server.
When it register fail, it also can trigger phone send message.
You will know more about Action URL via this manual below, please check page 657.
Link: http://download.support.yealink.com/download?path=upload%2Fattachment%2F2017-5-9%2F3%2F4ea83203-6c1c-4da9-8bde-3182d1176267%2FYealink_SIP-T2_Series_T19%28P%29%20E2_T4_Series_T5_Series_CP860_IP_Phones_Administrator_Guid​e_V81_90.pdf


RE: get status phone in command line - Fraukas2 - 06-19-2017 06:06 PM

Hello,

SNMP feature was removed in the versions X.73, if you manage to find a firmware version X.72.X.X (still available on support.yealink.com) and don't mind being behind in the releases (no more rtcp-xr, screencaptures, $mac wildcards, etc.), you could re-activate the SNMP feature.