Plantronics + Polycom. Now together as Poly Logo

XML push action questions

Highlighted
Occasional Advisor

XML push action questions

Software:  3.1.8.0070

Model:  Soundpoint IP 501 SIP

 

1.)  I am trying a push, but it is not behaving as I would expect.  My goal is to provide a push that will cause the phone to reboot.  The phone is getting the push, as evidenced by the phones reaction, and by the return message from curl.  However, the only thing that happens on the phone is that it merely displays the text within the <Data> tag.  Any ideas as to why the phone is not booting?  Below is the curl command and the relevant portion of my sip.cfg file.

 

 

curl --digest -u root:passwd -d $'<PolycomIPPhone><Data priority="critical">Action:UpdateConfig</Data></PolycomIPPhone>' --header "Content-Type: application/x-com-polycom-spipx" http://108.6.0.5/push

Push Message will be displayed successfully

 

 

 

<sip>
   <applications>
      <push apps.push.messageType="3" apps.push.serverRootURL="" apps.push.username="root" apps.push.password="passwd" />
   </applications>
   ...

2.)  I would prefer to use wget for the push, but have not had any luck with it.  What would the command format be for the wget equivalent of this?

 

Thanks

 

 

Message 1 of 5
4 REPLIES 4
Highlighted
Polycom Employee & Community Manager

Re: XML push action questions

Hello pmoore,

welcome back to the Polycom Community.

The SPIP501 is simply to "old" to support certain PUSH functionalities.

 

Many additional features where only added in UC Software 4.0.0 which is not compatible with the legacy and end of sale SPIP501.

 

Please try this with later SPIP / SSIP or VVX phones that support UC Software 4.0.0 or later.

 

More examples on PUSH can be found => here <= and I also recommend to reach out to our teams that already working with you.

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 Polycom 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. My official "day" Job is 3rd Level support at Poly but I am unable to provide official support via the community.

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

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 5
Highlighted
Occasional Advisor

Re: XML push action questions

So, is there any way to get a 501 to reboot from a command line?

Message 3 of 5
Highlighted
Polycom Employee & Community Manager

Re: XML push action questions

Hello pmoore,

not for an end user. The only way is to use the SIP Check-Sync


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 Polycom 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. My official "day" Job is 3rd Level support at Poly but I am unable to provide official support via the community.

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

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 5
Highlighted
Occasional Advisor

Re: XML push action questions

I was able to get check-sync to work from a bash script (see below).  Thanks for your assistance!

 

#!/bin/bash
 
# This script sends a SIP NOTIFY with a check-sync event to a UA to force a reboot.

PHONEIP=$1

USER=9999
PORT=5060
CONTACT=polycom_reboot

(
	cat <<-EOM
NOTIFY sip:${USER}@${PHONEIP} SIP/2.0
Via: SIP/2.0/UDP ${PHONEIP}
From: <sip:${CONTACT}>
To: <sip:${USER}@${PHONEIP}>
Call-ID: ${USER}@${PHONEIP}
Contact: <sip:${CONTACT}>
CSeq: 1 NOTIFY Event: check-sync Content-Length: 0 EOM ) > out.msg cat out.msg >/dev/udp/${PHONEIP}/${PORT} echo "" cat out.msg exit 0
Message 5 of 5