Plantronics + Polycom. Now together as Poly Logo

XML push action

Highlighted
Regular Visitor

Re: XML push action - vvx500 UCS 4.1.3

Steffen, I am having the same problem. I think I isolated the issue though. The push command does not work on my VVX500 when using UCS 4.1.3.xxxx

 

However it will work with UCS 4.0.4

 

Can you please confirm this. Is there a work around?

 

Thanks,

Dustin Goss

Message 11 of 18
Highlighted
Polycom Employee & Community Manager

Re: XML push action - vvx500 UCS 4.1.3

Hi Dustin,

 

as I tested something similar please try:

 

curl --digest -u Polycom:Polycom -d $'<PolycomIPPhone><Data priority="Critical">tel:\\123</Data></PolycomIPPhone>' --header "Content-Type: application/x-com-polycom-spipx" http://10.252.75.192/push

 

It uses the $, and the ' instead.

 

I just tested above with a VVX500 running UCS 4.1.3.7864 (Rev B)

 

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 12 of 18
Highlighted
Polycom Employee

Re: XML push action

Use this example

 

curl --digest -u Push:Push -d "<PolycomIPPhone><Data priority=\"all\"><H1>Fire Drill at 2pm</H1> Please exit and congregate at your appropriate location outside</Data></PolycomIPPhone>" --header "Content-Type: application/xhtml+xml" http://10.250.108.83/push
curl --digest -u Push:Push -d "<PolycomIPPhone><URL priority=\"Critical\">/fire.html</URL></PolycomIPPhone>" --header "Content-Type: application/xhtml+xml" http://10.250.108.83/push
curl --digest -u Push:Push -d "<PolycomIPPhone><Data priority=\"Critical\"><html><body>Hello, World</body></html></Data></PolycomIPPhone>" --header "Content-Type: application/xhtml+xml" http://10.250.108.83/push
curl --digest -u Push:Push -d "<PolycomIPPhone><Data priority=\"Critical\">Hello, World</Data></PolycomIPPhone>" --header "Content-Type: application/xhtml+xml" http://10.250.108.83/push
curl --digest -u Push:Push -d "<PolycomIPPhone><Data priority=\"all\">tel:\\1002</Data></PolycomIPPhone>" --header "Content-Type: application/x-com-polycom-spipx" http://10.250.108.83/push
curl --digest -u Push:Push -d "<PolycomIPPhone><Data priority=\"Critical\">Key:Softkey1</Data></PolycomIPPhone>" --header "Content-Type: application/x-com-polycom-spipx" http://10.250.108.76/push
curl --digest -u Push:Push -d "<PolycomIPPhone><Data priority=\"Critical\">Key:DialPad0</Data></PolycomIPPhone>" --header "Content-Type: application/x-com-polycom-spipx" http://10.250.108.83/push

 

Message 13 of 18
Highlighted
Occasional Visitor

Re: XML push action

I can send a single command using these examples but I never seem to be able to send a two button sequence. Example:

"Key:Messages\nKey:ArrowDown".

 

Either work alone but not together, with only the first kepress executed.  I must be doing something wrong,  Any suggestions?

Message 14 of 18
Highlighted
Polycom Employee & Community Manager

Re: XML push action

Hello edhorton,

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.

The above is also stated in the "Read First: Welcome to the Polycom VoIP Forum"

Therefore the Polycom VoIP FAQ contains this post here:

Question: How can I find out my SIP UC Software Version or the BootROM Version of my Phone?
Resolution: Please check 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

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

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 15 of 18
Highlighted
Occasional Contributor

Re: XML push action

I know this was posted years ago now, but I recently ran into the same issue and would like to post my solution for future reference.

 

I could send one key, but adding the newline would not be encoded and interpreted by the Polycom.

In edhortons example, the Polycom receives 'Key:MessagesKey:ArrowDown' (confirmed in the logs) and is an invalid action.

This solution will send the file with any encoding required as a form, and is also way easier to read and edit.

 

Using Debian Linux I made a script that sends this line (though you can use it in terminal too)

 

curl --digest -u Push:Push --form "fileupload=@send.txt" --header "Content-Type: application/x-com-polycom-spipx" xx.xx.xx.xx/push

 

Use my 'send.txt' as an example, but fill it up with as many commands as is needed. Make sure it is located in the same place the command or script will be run from:

 

<PolycomIPPhone><Data priority="Critical">Key:Setup
Key:Dialpad2
Key:Softkey4
Key:Dialpad4
Key:Softkey4</Data></PolycomIPPhone>

 

Message 16 of 18
Highlighted
Occasional Visitor

Re: XML push action

Regarding "Tel" push, none of the above examples worked for me. SoundPoint IP 335 / UC 4.1.0.84959.

 

This worked for me:

 

curl -v --digest -u user:password -d '<PolycomIPPhone><Data priority="critical">Tel:sip:0262463194@csiro.au</Data></PolycomIPPhone>' --header "Content-Type: application/x-com-polycom-spipx" http://sip/push

 

Message 17 of 18
Highlighted
Polycom Employee & Community Manager

Re: XML push action

Hello @Catalin P,

welcome to the Polycom Community.

 

Unless you are using this with LYNC you are using the wrong software for this phone.


The community's VoIP FAQ contains this post here:

Jun 30, 2015 Question:What is the difference using the UC Software 4.0.0 for compatible SoundPoint or SoundStation IP Phones?

Resolution: Please always check the release Notes or

Software Version  Call Server
4.0.X SIP Only
4.1.X LYNC Only

 


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: 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 18 of 18