Plantronics + Polycom. Now together as Poly Logo

XML push action

upcFrost
Occasional Visitor

XML push action

Hello,

I'm trying to write a small webapp for SoundStation IP 7000 with 3.2.7 firmware. Message push, webURL push, microbrowser, etc - all those things work fine. But action push fails every time. I already tried upgrading to firmware 4.0 (downgraded as there was a dramatic change in event messages, and also events become really slow to work), tested it with cURL found somewhere on this forum ("Push message can't be displayed"), tried different actions (dial, keys) - nothing is working. I'm using them like this:

 

curl --digest -u bob:1234 -d "<PolycomIPPhone><URL priority="Critical">Tel:1234</URL></PolycomIPPhone>" --header "Content-Type: application/x-com-polycom-spipx" http://10.100.120.212/push

Push Message can't be displayed

 

Message 1 of 18
17 REPLIES 17
SteffenBaierUK
Polycom Employee & Community Manager

Re: XML push action

Hello upcFrost,

welcome to the Polycom Community.

The community's VoIP FAQ contains this post here:

 

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 <=

 

Above leads to the Community Endpoint Developer section and has a detailed explanation on how to utilize the PUSH functionality.

 

Most likely you are missing the \\ after the tel: but the link should clear this up.

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

----------------
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.

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

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 18
upcFrost
Occasional Visitor

Re: XML push action

about tel:\\

i already tried Tel:1234, tel:1234, tel:\\1234 and tel://1234 - none of those worked

 

i'm referencing to the p.2-4 (Telephone Integration URIs) of the "Web Application Developer's Guide" for firmware 3.2

Message 3 of 18
SteffenBaierUK
Polycom Employee & Community Manager

Re: XML push action

Hello upcFrost,

as mentioned in the posted link:

 

Note: The below examples are based on UCS 4.0.0 or later and earlier SIP or UCS Version may not be fully compatible or limited with below example.

 

You may want to try a current Software as newer features are added all the time.


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

----------------
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.

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

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 18
upcFrost
Occasional Visitor

Re: XML push action

Tried 4.0.3F - still no luck.

 

curl --digest -u bob:1234 -d "<PolycomIPPhone><URL priority="Critical">Key:DialPad0</URL></PolycomIPPhone>" --header "Content-Type: application/x-com-polycom-spipx" http://10.100.120.212/push
Push Message can't be displayed

 

curl --digest -u bob:1234 -d "<PolycomIPPhone><URL priority="Critical">tel:\\1234</URL></PolycomIPPhone>" --header "Content-Type: application/x-com-polycom-spipx" http://10.100.120.212/push
Push Message can't be displayed

 

Message 5 of 18
SteffenBaierUK
Polycom Employee & Community Manager

Re: XML push action

Hello upcFrost,

 

are you sure you allowed PUSH with at least all or critical as described in my post?

 

Next step is to call your Polycom reseller.

 

Best Regards

 

Steffen Baier

----------------
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.

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

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 6 of 18
upcFrost
Occasional Visitor

Re: XML push action

Yes, i'm sure that i set allowed all push requests in phone's webGUI. And all other push actions're working good (url, text data), except those from p.2-4.

Message 7 of 18
SteffenBaierUK
Polycom Employee & Community Manager

Re: XML push action

Hello upcFrost,

 

as explained already I have tested this thoroughly when I created the post.

 

If you copy and paste my example 1:1 it should work.

 

Maybe it is something on your end and only a wireshark trace of the PC sending the string to the phone would show you.

 

This is outside the scope of the community as explained and needs to be followed up via your Polycom reseller.

 

Other escalation possibility's are shown and explained within my signature.

 

Best Regards

 

Steffen Baier

----------------
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.

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

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 8 of 18
SteffenBaierUK
Polycom Employee & Community Manager

Re: XML push action

Quick follow up,

 

depending on the linux OS etc you may need to use extra ' like:

 

'"critical"'

 

instead of 

 

"critical"

 For the rest please follow up as explained.

 

Regards

 

Steffen Baier

----------------
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.

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

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 9 of 18
SteffenBaierUK
Polycom Employee & Community Manager

Re: XML push action

Hello upcFrost,

 

as I had some time and wanted to eliminated that the SSIP7000 is causing the issue I re-visited this post here.

 

As explained the examples in the linked page show working scenarios.

 

You posted above the usage of the <URL priority but the working examples demonstrate this via the <Data priority and the respective closing tags </Data>.

 

Your example:

curl --digest -u bob:1234 -d "<PolycomIPPhone><URL priority="Critical">tel:\\1234</URL></PolycomIPPhone>" --header "Content-Type: application/x-com-polycom-spipx" http://10.100.120.212/push

 working example:

curl --digest -u bob:1234 -d "<PolycomIPPhone><Data priority="Critical">tel:\\1234</Data></PolycomIPPhone>" --header "Content-Type: application/x-com-polycom-spipx" http://10.100.120.212/push

 

Please correct this in your exmaple as the URL functionality is used to push items to the phones microbrowser.

 

Best Regards

 

Steffen Baier

----------------
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.

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

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