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
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
So, is there any way to get a 501 to reboot from a command line?
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
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