-
1
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
1
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Poly Phones
- Desk and IP Conference Phones
- Re: Push command to multiple ip addresses

Create an account on the HP Community to personalize your profile and ask a question
10-08-2014 11:17 AM
Hi there
Is there a way of sending a push command to multiple phones in the same subnet at all?
I know to send one is:
curl --digest -u PUSHUSERNAME:PUSHPASSWORD -d $'<PolycomIPPhone><Data priority="all">Action:UpdateConfig</Data></PolycomIPPhone>' --header "Content-Type: application/x-com-polycom-spipx" http://***Phone_IP_ADDRESS***/push
would it be:
curl --digest -u PUSHUSERNAME:PUSHPASSWORD -d $'<PolycomIPPhone><Data priority="all">Action:UpdateConfig</Data></PolycomIPPhone>' --header "Content-Type: application/x-com-polycom-spipx" http://***Phone_IP_ADDRESS-1***,Phone_IP_ADDRESS-2/push
for multiple?
Cheers
Dave
01-19-2015 09:32 AM
Hi all sorry been a while since I have been on here... as a solution for me I wrote a script that will send the push command to multiple ip addresses at the same time:
command="echo test" while read host do curl --digest -u PUSH_USERNAME:PUSH_PASSWORD -d $'<PolycomIPPhone><Data priority="all">Action:UpdateConfig</Data></PolycomIPPhone>' --header "Content-Type: application/x-com-polycom-spipx" http://${host}/push done < hosts.txt
then you have a seperate text file with a list of phone ip's like so: eg hosts.txt
10.96.95.34 10.96.95.35 10.96.95.36 10.96.95.37 10.96.95.38
The script will read the hosts.txt file and send the command (in this case update config) to the phones. You will need the push configured on the phones with:
apps.push.messageType="5" apps.push.serverRootURL="" apps.push.username="PUSH_PASSWORD"
and also the httpd settings will need to be set on the phone:
httpd.cfg.enabled="1" <----not used for push httpd.enabled="1" <----this is used to allow push
Obviously your network will need to allow for routing to the subnets of the phones in order for this to work...
Hope this helps others out a little
Cheers
Dave