cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
753
Views
0
Helpful
6
Replies

IP Phone 8851 Multiplatform Provisioning

kralicekjiri
Level 1
Level 1

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?

1 Accepted Solution

Accepted Solutions

Geovani
Cisco Employee
Cisco Employee

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

View solution in original post

6 Replies 6

Geovani
Cisco Employee
Cisco Employee

Hi, 

What are you trying to achieve here? Are you getting any errors on curl? 

Thanks 

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.

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. 

 

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.

 

 

Geovani
Cisco Employee
Cisco Employee

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

The remote SDK looks good. I will take this direction.
Thanks for your help!

Jiri