05-30-2022 05:55 AM
I cannot resync nor download the configuration from Cisco IP Phone 8851 by curl as described in the Administration Guide.
I am still getting the login screen.
curl "http://phone_ip_addr/admin/resync?http://provision_server_ip_addr/ConfigurationFile.xml&xuser=admin&xpassword=AdminPassword"
Phone: CP-8851-3PCC
Software Version: sip88xx.11-3-6MPP0001-273.loads
Any advice?
Solved! Go to Solution.
05-31-2022 06:08 AM
I don't think you'd be able to achieve this on MPP. At least not something I've done before.
Not you you can authenticate to the phone using curl.
What you can do, is use remote SDK https://developer.cisco.com/docs/multiplatform-phones/
Please take a look and hope it helps.
Thanks
Geo
05-30-2022 12:03 PM
Hi,
What are you trying to achieve here? Are you getting any errors on curl?
Thanks
05-30-2022 10:33 PM
Hi,
I am trying to solve the issue. It allows me an ad-hoc resync.
I am not getting any errors, I am getting the login screen.
Nothing happens. Credentials are not accepted, probably even not passed.
I have no such problem with Cisco IP Phone SPA514g.
05-31-2022 02:30 AM
Hi there.
Right I see.
Do you have access to the MPP device credentials to login?
curl "http://phone_ip_addr/admin/resync?http://provision_server_ip_addr/ConfigurationFile.xml&xuser=admin&xpassword=AdminPassword"
The username and password provided on the action URL by using curl, are for authenticating with ConfigurationFile.xml, and not the credentials for the phone itself.
You could setup resync timers in the phone configuration, so it would trigger a resync every so often.
05-31-2022 05:08 AM
Hello,
I have the credentials.
I have tried many approaches, but none of them worked.
This is the example from the Guide on how it should work.
http://192.168.15.1/admin/resync?tftp://192.168.15.100/my_config.xml&xuser=admin&xpassword=admin
And the example for the download.
curl –d @my_config.xml “http://192.168.15.1/admin/config.xml&xuser=admin&xpassword=admin”
Neither of them works.
When I want to conduct SPA514g ad-hoc resync, I use:
curl --digest --max-time 10 -u admin:AdminPassword "http://VOIP_IPaddr/admin/resync?http://Resync_server_ip/confFile.cfg"
Similarly for configuration download.
However, this approach does not work for 8851 as well.
I have also tried multiple authentication types.
I have resync timers. I have hourly resync checks on the phones and they work well.
But it does not help me with the ad-hoc resync, reboot or download configuration.
I can do it manually from the web GUI, but I have hundreds of phones, thus it is not a preferred way for me.
So, I want to create for example an automation for the config download, custom web-based ad-hoc resync for BLF lines for attendant consoles, bulk reboot and so on.
05-31-2022 06:08 AM
I don't think you'd be able to achieve this on MPP. At least not something I've done before.
Not you you can authenticate to the phone using curl.
What you can do, is use remote SDK https://developer.cisco.com/docs/multiplatform-phones/
Please take a look and hope it helps.
Thanks
Geo
06-01-2022 02:47 AM
The remote SDK looks good. I will take this direction.
Thanks for your help!
Jiri
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide