-
×InformationWindows update impacting certain printer icons and names. Microsoft is working on a solution.
Click here to learn moreInformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center.
-
×InformationWindows update impacting certain printer icons and names. Microsoft is working on a solution.
Click here to learn moreInformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center.
- HP Community
- Poly Phones
- Desk and IP Conference Phones
- Detect a VVX 301 phone on DND using REST API
Create an account on the HP Community to personalize your profile and ask a question
06-03-2019 03:11 AM
Hi,
Is it possible to check if one of the lines is set to DND using REST API available on phone?
Management.PollForStatus only tells if the phone is active or idle. How do I poll if the line has been set on DND using REST API
Solved! Go to Solution.
Accepted Solutions
06-03-2019 04:49 AM
Hello @GVB ,
In danger of repeating myself:
- /api/v2/mgmt/lineInfo
Example queries: <PHONE_IP>/api/v2/ mgmt/lineInfo?line=1
Response:
{ "data": [ { "ID": "<LINE_NUMBER>", "Label": "<LABEL>", "Username": "<USERNAME>", "Assigned": "<True/False>", "RegistrationStatus": "<Registered/Unregistered>", "Type": "<Private/Shared>", "Active": "<True/False>", "DoNotDisturb": "<True/False>", "CallAppearances": [ "<CALL_REFRENCE>", "<CALL_REFRENCE>", ... ], "CallServers": [ { "ID": "<SERVER_INDEX>", "Address": "<SERVER_ADDRESS>", "RegistrationStatus": "<Registered/Unregistered>", "Port": "<SERVER_PORT>", "Expires": "<REGISTRATION_PERIOD>", "Transport": "<DNSnaptr/TcpPreferred/TcpOnly/UdpOnly/TLS/Invalid>" "Working": "<True/False>" } ], "ForwardingConfig": { "Always": "<CONTACT_NUMBER>", "DoNotDisturb": "<CONTACT_NUMBER>", "Busy": "<CONTACT_NUMBER>", "NoAnswer": "<CONTACT_NUMBER>" },
Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.
Best Regards
Steffen Baier
Notice: I am an HP Poly employee but all replies within the community are done as a volunteer outside of my day role. This community forum is not an official HP Poly support resource, thus responses from HP Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge.
If you need immediate and/or official assistance for former Poly\Plantronics\Polycom please open a service ticket through your support channels
For HP products please check HP Support.
Please also ensure you always check the General VoIP , Video Endpoint , UC Platform (Microsoft) , PSTN
06-03-2019 03:38 AM
Hello @GVB ,
welcome to the Poly Community.
Both the communities Must Read First and the FAQ reference the basic minimum information a new or follow up post should contain.
This ensures the questions having to be asked are limited and any new or follow up post contains the right amount of details to ensure any voluntary participant within the community does not spend additional time chasing basic information.
As a reminder the basic information asked for:
- Provide the exact Software Version of your Phone
- Provide the Phone Model
- Provide the Call Platform (aka openSIP,Teams, Skype for Business Online, Skype for Business on Premise, Lync)
- Additional Poly Infrastructure (RPRM,PDMS or BToE)
- If applicable provide a backup of the phone in question
UC Software 4.0.0 or later via the Web Interface Utilities > Phone Backup & Restore > Phone Backup > Phone Backup. Please rename into .TXT or Zip the file to attach.
Since UC Software 5.9.0 simply provide this via the Web Interface Diagnostics > Download Support Information Package
- If possible provide a Log and either attach them or use the Code Tag.Consult the Troubleshooting Section found within the FAQ if applicable
- If possible provide the MAC Address or Serial of the device
- Provide details for example if the issue is a day 1 issue or only happened after an upgrade or any other relevant details
- For questions around Support please check here
Whilst providing some of these details may not directly impact any possible answer the community can provide, it does enable Poly to have an overview of the current software used. In addition, providing all details at the same time allow us to check logs or look up potential support partners if an issue needs to come into support. It also enables us to verify the entitlement for using features.
An important detail would be the currently used Software Version so we can possibly advise a later version which for example has this functionality.
I suggest you check UC Software 6.0.0 REST API Guide for the /api/v2/mgmt/lineInfo
Earlier versions may already have the same functionality,
Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.
Best Regards
Steffen Baier
Notice: I am an HP Poly employee but all replies within the community are done as a volunteer outside of my day role. This community forum is not an official HP Poly support resource, thus responses from HP Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge.
If you need immediate and/or official assistance for former Poly\Plantronics\Polycom please open a service ticket through your support channels
For HP products please check HP Support.
Please also ensure you always check the General VoIP , Video Endpoint , UC Platform (Microsoft) , PSTN
06-03-2019 03:41 AM
Apologies for insufficient information.
Polycom VVX 301 with fw 5.8.0 with standard SIP registration, no platform for Skype or Broadsoft. I referred to the documentation.
06-03-2019 04:23 AM
Hello @GVB ,
as already replied the relevant API quoted in my original post is also available in 5.8.0
Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.
Best Regards
Steffen Baier
Notice: I am an HP Poly employee but all replies within the community are done as a volunteer outside of my day role. This community forum is not an official HP Poly support resource, thus responses from HP Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge.
If you need immediate and/or official assistance for former Poly\Plantronics\Polycom please open a service ticket through your support channels
For HP products please check HP Support.
Please also ensure you always check the General VoIP , Video Endpoint , UC Platform (Microsoft) , PSTN
06-03-2019 04:30 AM
That tells the registration status:
/api/v1/mgmt/lineInfo
{ "LineNumber": "<LINE_NUMBER>", "Protocol": "<SIP/H323>", "SIPAddress": "<SIP_ADDRESS>", "ProxyAddress": "<PROXY_ADDRESS>", "UserID": "<USER_ID>", "Label": "<LABEL>", "LineType": "<Shared/Private>", "RegistrationStatus": "<Registered/Unregistered>", "Port": "<PORT>" },
This individual line data only tells the registration status. How do we poll for DND?
I checked the WebCallControl.GetCurrentPresence but it is only available for SkypeforBusiness.
06-03-2019 04:49 AM
Hello @GVB ,
In danger of repeating myself:
- /api/v2/mgmt/lineInfo
Example queries: <PHONE_IP>/api/v2/ mgmt/lineInfo?line=1
Response:
{ "data": [ { "ID": "<LINE_NUMBER>", "Label": "<LABEL>", "Username": "<USERNAME>", "Assigned": "<True/False>", "RegistrationStatus": "<Registered/Unregistered>", "Type": "<Private/Shared>", "Active": "<True/False>", "DoNotDisturb": "<True/False>", "CallAppearances": [ "<CALL_REFRENCE>", "<CALL_REFRENCE>", ... ], "CallServers": [ { "ID": "<SERVER_INDEX>", "Address": "<SERVER_ADDRESS>", "RegistrationStatus": "<Registered/Unregistered>", "Port": "<SERVER_PORT>", "Expires": "<REGISTRATION_PERIOD>", "Transport": "<DNSnaptr/TcpPreferred/TcpOnly/UdpOnly/TLS/Invalid>" "Working": "<True/False>" } ], "ForwardingConfig": { "Always": "<CONTACT_NUMBER>", "DoNotDisturb": "<CONTACT_NUMBER>", "Busy": "<CONTACT_NUMBER>", "NoAnswer": "<CONTACT_NUMBER>" },
Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.
Best Regards
Steffen Baier
Notice: I am an HP Poly employee but all replies within the community are done as a volunteer outside of my day role. This community forum is not an official HP Poly support resource, thus responses from HP Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge.
If you need immediate and/or official assistance for former Poly\Plantronics\Polycom please open a service ticket through your support channels
For HP products please check HP Support.
Please also ensure you always check the General VoIP , Video Endpoint , UC Platform (Microsoft) , PSTN
Didn't find what you were looking for? Ask the community