Crestron status polling of G7500 in Teams Mode

Jarzombeg
Occasional Contributor

Crestron status polling of G7500 in Teams Mode

Hi,

 

Can Crestron poll status of G7500 when in Teams mode?

I want to turn screen ON/OFF according to the codec status.

 

Thank you

Message 1 of 4
3 REPLIES 3
SteffenBaierUK
Polycom Employee & Community Manager

Re: Crestron status polling of G7500 in Teams Mode

Hello @Jarzombeg ,

 

Welcome back to the Poly Community.

Both the communities Must Read First or Read 1st and if available 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.


Unfortunately, your post fell a bit short of the above-explained requirements and we kindly ask you, therefore, to ensure to read these sections and ensure a reply (not Edit!) provides as much detail as possible


Please ensure you familiarise yourself with the FAQs listed in my signature for your convenience.

 

Just as an FYI Microsoft Teams is an unsupported Provider for the G7500

 

I suggest you look at this post:

 

May 19, 2020 Question: Does a Poly G7500 or Studio X50/X30 support REST API?
Resolution: Details on this can be found in the Poly VideoOS REST API Reference Guide >here< (or search the Support Page for the latest) or for instructions check >here<

 

You can set up a session with the device:

curl -b cookies.txt -c cookies.txt -d "{\"user\": \"admin\",\"password\": \"789\"}" -H "Content-Type: application/json" -k https://10.252.149.104/rest/session

 

and then query the current App State:

curl -b cookies.txt -c cookies.txt -X GET -H "Content-Type: application/json" -k https://10.252.149.104/rest/system/apps/state

 

NOTE: The command is not in our official documentation and can be removed without any notice in the future. We strongly suggest working with a Poly Sales Engineer and requesting this or others via a feature request. Please ensure this is understood.

 

If not in a call you will receive "inMeeting":false,

[{"appPackageName":"com.microsoft.skype.teams.ipphone","callOnHold":false,"inLocalPresentation":false,"inLocalWhiteboard":false,"inMeeting":false,"inPhoneCall":false,"incomingCall":false,"outgoingCall":false,"videoMuted":false},{"appPackageName":"com.polycom.camuvc","callOnHold":false,"inLocalPresentation":false,"inLocalWhiteboard":false,"inMeeting":false,"inPhoneCall":false,"incomingCall":false,"outgoingCall":false,"videoMuted":false},{"appPackageName":"com.poly.digitalsignage","callOnHold":false,"inLocalPresentation":false,"inLocalWhiteboard":false,"inMeeting":false,"inPhoneCall":false,"incomingCall":false,"outgoingCall":false,"videoMuted":false},{"appPackageName":"com.microsoft.teams.ipphone.partner.agent","callOnHold":false,"inLocalPresentation":false,"inLocalWhiteboard":false,"inMeeting":false,"inPhoneCall":false,"incomingCall":false,"outgoingCall":false,"videoMuted":false}]

 

If in a call you see "inMeeting":true

[{"appPackageName":"com.microsoft.skype.teams.ipphone","callOnHold":false,"inLocalPresentation":false,"inLocalWhiteboard":false,"inMeeting":true,"inPhoneCall":false,"incomingCall":false,"outgoingCall":false,"videoMuted":false},{"appPackageName":"com.polycom.camuvc","callOnHold":false,"inLocalPresentation":false,"inLocalWhiteboard":false,"inMeeting":false,"inPhoneCall":false,"incomingCall":false,"outgoingCall":false,"videoMuted":false},{"appPackageName":"com.poly.digitalsignage","callOnHold":false,"inLocalPresentation":false,"inLocalWhiteboard":false,"inMeeting":false,"inPhoneCall":false,"incomingCall":false,"outgoingCall":false,"videoMuted":false},{"appPackageName":"com.microsoft.teams.ipphone.partner.agent","callOnHold":false,"inLocalPresentation":false,"inLocalWhiteboard":false,"inMeeting":false,"inPhoneCall":false,"incomingCall":false,"outgoingCall":false,"videoMuted":false}]


Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.

Best Regards

Steffen Baier

 

----------------

If official support is required please check how to phone or open a case here

----------------
The title Poly Employee & Community Manager is a community setting and does not reflect my role. I am just a simple volunteer in the community like everybody else. All posts and words are my own & do not represent the views of Employer.

----------------


⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓ SIGNATURE ⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓
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.
Please also ensure you always check the VoIP , Video Endpoint , Microsoft Voice , PSTN or other FAQ's in the different sections
Message 2 of 4
Jarzombeg
Occasional Contributor

Re: Crestron status polling of G7500 in Teams Mode

Hi,

 

Thank you for your reply. I didn't mean in call or outside. I was thinking about state when codec goes to sleep and 'mutes' video out.

 

I assume screen would go to sleep when codec goes to sleep. However I have an existing CP3 and I just wanted to make use of it.

Message 3 of 4
SteffenBaierUK
Polycom Employee & Community Manager

Re: Crestron status polling of G7500 in Teams Mode

Hello @Jarzombeg ,

 

I suggest checking the REST API and/or opening a support ticket for more details.

 

Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.

Best Regards

Steffen Baier

 

----------------

If official support is required please check how to phone or open a case here

----------------
The title Poly Employee & Community Manager is a community setting and does not reflect my role. I am just a simple volunteer in the community like everybody else. All posts and words are my own & do not represent the views of Employer.

----------------


⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓ SIGNATURE ⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓
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.
Please also ensure you always check the VoIP , Video Endpoint , Microsoft Voice , PSTN or other FAQ's in the different sections
Message 4 of 4