-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Poly Video Conferencing
- Collaboration & Conferencing Platforms
- MCU API XML Login denied

Create an account on the HP Community to personalize your profile and ask a question

06-22-2016 01:24 AM
Hi
I am using following xml to get login to MCU through http post. Most of the time i am getting connection refuced by server message and sometime same xml works properly. Let me know what may be the problem.
Here is the XML i am posting
<TRANS_MCU><!-- The root Is the transaction name. --><TRANS_COMMON_PARAMS> <MCU_TOKEN>0</MCU_TOKEN><MCU_USER_TOKEN>0</MCU_USER_TOKEN><MESSAGE_ID>1</MESSAGE_ID></TRANS_COMMON_PARAMS><!-- The next element Is the action (Login), And below it are the action's parameters, in this case, the Login parameters. --> <ACTION> <LOGIN><!-- The next parameters are the MCU IP And the port number. --><MCU_IP><IP>10.1.253.119</IP><LISTEN_PORT>80</LISTEN_PORT><HOST_NAME/></MCU_IP><!-- The user And password strings.--><USER_NAME>PMC</USER_NAME><PASSWORD>PMC</PASSWORD><STATION_NAME>EMA.F3-JUDITHS</STATION_NAME><COMPRESSION>false</COMPRESSION></LOGIN></ACTION></TRANS_MCU>
Solved! Go to Solution.
06-22-2016 05:03 AM
Hello vinodkotiya,
welcome to the Polycom Community.
It is always useful to include the currently used Software version as issues experienced may already be addressed in a newer release.
This also allows yourself and others to check against current software release notes.
Please ensure to provide some feedback if this reply has helped you so other users can profit from your experience.
Best Regards
Steffen Baier
Polycom Global Services
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


11-01-2016 05:46 PM
Hi
I'm using cURL via PHP 5 to login to the RMX server. RMX 8.7.1.492.
When I use a HTTP client tool (Postman for Chrome) it works perfectly and I see the connection in the RMX manager for 15 seconds as expected.
When I use cURL via PHP - I receive a token from the server and a response but the connection does not appear in RMX manager and I cannot use the token for the next request transaction as I get the response 'User not found'.
I've tried the adding the header - Connection: Keep-Alive but to avail.
Please can someone advise whether this is a known problem?
$url = '10.200.13.51'; $ch = curl_init(); curl_setopt( $ch, CURLOPT_URL, $url ); curl_setopt( $ch, CURLOPT_POST, true ); curl_setopt( $ch, CURLOPT_HTTPHEADER, [ 'connection: keep-alive' ]); curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true ); curl_setopt( $ch, CURLOPT_POSTFIELDS, "<TRANS_MCU><TRANS_COMMON_PARAMS><MCU_TOKEN>0</MCU_TOKEN><MCU_USER_TOKEN>0</MCU_USER_TOKEN><MESSAGE_ID>234324</MESSAGE_ID></TRANS_COMMON_PARAMS><ACTION><LOGIN><MCU_IP><IP>10.200.13.51</IP><LISTEN_PORT>80</LISTEN_PORT><HOST_NAME/></MCU_IP><USER_NAME>API</USER_NAME><PASSWORD>******</PASSWORD><STATION_NAME>VPortal-App</STATION_NAME><COMPRESSION/></LOGIN></ACTION></TRANS_MCU>" ); $result = curl_exec($ch); curl_close($ch);
Thanks,