Hello,
When I try to send a push message on a phone via the application Push the following message: "Push Message can't be displayed"
I do not understand why the message can not be displayed.
Phone configuration :
<apps.push apps.push.alertSound="1" apps.push.messageType="5" apps.push.serverRootURL="push"
apps.push.password="vvxmanager" apps.push.username="vvxmanager"></apps.push>
Powershell script for send message :
#configure for ignore SSL error add-type @" using System.Net; using System.Security.Cryptography.X509Certificates; public class TrustAllCertsPolicy : ICertificatePolicy { public bool CheckValidationResult( ServicePoint srvPoint, X509Certificate certificate, WebRequest request, int certificateProblem) { return true; } } "@ [System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy #Making credential $secpasswd = ConvertTo-SecureString "vvxmanager" -AsPlainText -Force $mycreds = New-Object System.Management.Automation.PSCredential ("vvxmanager", $secpasswd) #Message, is polycom example : http://support.polycom.com/global/documents/support/setup_maintenance/products/voice/Web_Application_Developers_Guide_SIP_3_1.pdf $putParams = '<PolycomIPPhone><Data priority=”critical”> <h1> Fire Drill at 2pm </h1> Please exitand congregate at your appropriate location outside </Data></PolycomIPPhone>' #send message Invoke-WebRequest -Uri "https://<IP>/push" -Method POST -Body $putParams -ContentType "text/xml" -Credential $mycreds
Hello Shinjin,
welcome to the Polycom Community.
It is always useful to include the currently used SIP or UC Software version as issues experienced or a question asked may already be addressed in a newer release.
This also allows yourself and others to check against current software release notes, Administrator Guides or FAQ post’s.
The above is also stated in the "Read First"
Therefore the Polycom VoIP FAQ contains this post here:
Question: How can I find out my SIP or UC Software Version of my Phone?
Resolution: Please check here
In addition:
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 <=
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
Ok,
Command with CURL works:
curl --digest -u vvxmanager:vvxmanager -d "<PolycomIPPhone><Data priority='"critical"'> <h1> Fire Drill at 2pm </h1> Please xitand congregate at your appropriate location outside </Data></PolycomIPPhone>" --header "Content-Type: application/x-com-Polycom-spipx" https://<IP>/push -k Push Message will be displayed successfully
But the message did not appear (the phone beep only).
I'm trying to send the call command, it works.
I try with VVX 401 and 601 with the UC version of 5.5.1.11526 connected to Skype.
Hello Shinjin,
I briefly tested this and updated the FAQ post and it just works fine. Please ensure you enable the APPS PUSH via assigning a Username and a Password. I also used a VVX500 running 5.5.1.11526 in Skype mode.
Please utilize the FAQ to troubleshoot this and if all fails open a Polycom Service ticket.
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
Why I am getting 401 Unauthorized exception when pushing even I passed my Credentials correctly?.