Plantronics + Polycom. Now together as Poly Logo

Powershell script to retrieve lineinfo on VVX201 and IP 7000

SOLVED
Highlighted
Occasional Visitor

Powershell script to retrieve lineinfo on VVX201 and IP 7000

I have found an interesting powershell script (https://community.polycom.com/t5/VoIP-SIP-Phones/FAQ-REST-API/td-p/98914) that I use on my VVX 411 phones to check to retrieve user id, registration status (it also confirms that the phone is not using the the default admin password - compliance requirement).

 

How can I achieve something like this on a Soundstation IP 7000? It currently returns the error "Invoke-RestMethod : The request was aborted: Could not create SSL/TLS secure channel."

 

How can I achieve something like this on a VVX 201? It currently returns the error "Invoke-RestMethod : The remote server returned an error: (401) Unauthorized."

Message 1 of 7
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Polycom Employee & Community Manager

Re: Powershell script to retrieve lineinfo on VVX201 and IP 7000

Hello @emoreau ,

 

I doubt that RingCentral will allow you your own software version so I think this is a no go.

 

In regards of IP7000 and a way to discover if the Factory Admin password is being used I do not have anything and in addition would also not share anything as this could potentially be used for a DoS attack.


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: This community forum is not an official Poly support resource, thus responses from Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge. If you need immediate and/or official assistance please open a service ticket through your proper support channels.
Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's

View solution in original post

Message 6 of 7
6 REPLIES 6
Highlighted
Polycom Employee & Community Manager

Re: Powershell script to retrieve lineinfo on VVX201 and IP 7000

Hello @emoreau ,

 

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)
  • Provide details if UC / SIP or ObiEdition
  • 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.

 


Please ensure you always check the FAQ's and/or utilize the community search before posting any new topics or follow up posts.

As you can see by the above we need to know the software for your VVX201 as this feature was only added later to the VVX201.

 

We also would need to see a backup to verify you enabled the feature.

 

The SSIP7000 will never get the REST API as this was only added at a later software version the SSIP or SPIP phones actually run.

 

This fact is outlined:

 

Jun 05, 2018 Question: Do Poly Phones support a REST API?

Resolution: Please => here <=

 

The SSIP7000 is not listed as an example.

 

Feb 04, 2013 Question: Can I remotely control the Phone or send content to the Phone?

Answer: The <apps/> parameter can be used to utilize the push server controls and more information can be found => here <=

 

Apr 21, 2015 Question: Can I use advanced remote control possibilities / CTI?

Resolution: Please check => here <=

 

The above two FAQ posts may allow you to hack something similar together.


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: This community forum is not an official Poly support resource, thus responses from Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge. If you need immediate and/or official assistance please open a service ticket through your proper support channels.
Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's
Message 2 of 7
Highlighted
Occasional Visitor

Re: Powershell script to retrieve lineinfo on VVX201 and IP 7000

Hi Steffen

 

Thanks for your reply.

 

Both my VVX411 and my VVX201 are running on UC Software version 5.6.0.20009.

 

Since the feature was not visible to web portal on the 201, I have added "apps.restapi.enabled="1"" to my config file (here attached).

 

So why is the powershell script working on the 411 but not on the 201?

Message 3 of 7
Highlighted
Polycom Employee & Community Manager

Re: Powershell script to retrieve lineinfo on VVX201 and IP 7000

Hello @emoreau ,

 

from the quoted FAQ:

 

  • Since UC Software 5.8.0 the REST API is publicly available to everybody.

The VVX 411 may have unofficially supported this prior to 5.8.x but officially and usable and supported is the feature only since 5.8.0

 

Upgrade your phones to a currently supported Version like UC Software 6.1.0, UC Software 6.0.0 or UC Software 5.9.3

 

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: This community forum is not an official Poly support resource, thus responses from Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge. If you need immediate and/or official assistance please open a service ticket through your proper support channels.
Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's
Message 4 of 7
Highlighted
Occasional Visitor

Re: Powershell script to retrieve lineinfo on VVX201 and IP 7000

Hi again

 

Thanks for the quick reply.

 

I will check with our provider RingCentral/Telus to see if I can upgrade the phone to the latest software. It seems to be blocked.

 

And for my SSIP7000 (UC software version 4.0.9.1191), would you have an idea of how can I check using a powershell script if the default admin password is in use? I need to check that for compliance.

Message 5 of 7
Highlighted
Polycom Employee & Community Manager

Re: Powershell script to retrieve lineinfo on VVX201 and IP 7000

Hello @emoreau ,

 

I doubt that RingCentral will allow you your own software version so I think this is a no go.

 

In regards of IP7000 and a way to discover if the Factory Admin password is being used I do not have anything and in addition would also not share anything as this could potentially be used for a DoS attack.


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: This community forum is not an official Poly support resource, thus responses from Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge. If you need immediate and/or official assistance please open a service ticket through your proper support channels.
Please also ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's

View solution in original post

Message 6 of 7
Highlighted
Occasional Visitor

Re: Powershell script to retrieve lineinfo on VVX201 and IP 7000

Thanks 

 

I understand the possible DoS.

 

After checking with RingCentral/Telus, they won't let me upgrade the firmware.

 

I think I am out of luck then to check all my phones. 

 

I am lucky enough that a good 80% of my phones are VVX 411 and that the powershell script returns some information (including the fact that I connect with our standardize admin password).

 

Thanks

Message 7 of 7