09-26-2018 05:53 AM - edited 03-21-2019 09:13 AM
Hi All,
I hope this is the right place to put something like this. I'm looking for some help with my SPA504G and SPA512G phones.
I have 20 odd phones which connect to an external SIP provider. We provision most of the settings and updates via tftp and have previously used a wget script to post data to "phone_ip/pdir.csc" in order to (relatively) quickly update the Personal address books.
This method seems to have stopped working on newer firmware versions. I have tried making a slightly more sophisticated html/php page to essentially do the same thing but that failed as well. It looks like the pdir.htm page now includes a csrftoken for each entry and that those tokens change on a regular basis. I'm assuming that this is what's causing me a problem.
Before I go any further with this I wanted to see if I am missing something really obvious here. If I want to push an address book to 20 phones is there an "easy" way to do it via TFTP or an XML upload.
Thanks in advance for any help anyone is able to offer.
Solved! Go to Solution.
11-03-2018 12:06 PM
If your's firmware is recent enough, read Configuring Personal Address Book.
11-03-2018 12:06 PM
If your's firmware is recent enough, read Configuring Personal Address Book.
11-05-2018 04:28 AM
Hey Dan,
Thanks for the reply. I had nearly given up hope of finding a solution!
To the best of my knowledge, on the phones I am testing with, we are on the latest firmware so I will have a look at the article you linked to in the next couple of days. Will let you know how I get on.
Gareth
11-05-2018 04:37 AM
11-06-2018 10:34 PM
It's part of provisioning mechanism - just new tag (paddrbook) on configuration file. As SPA5xx allows you to have up to 4 configuration files (Profile Rule, Profile Rule B, Profile Rule C, Profile Rule D) you can eitner include address book configuration into your current configuration file or you can create an independent one for the purpose.
11-07-2018 01:21 AM
I'm an idiot! So obvious once you know.
I've created a new file on the tftp server with that XML in it, added the file as an additional rule and it works like a charm.
Thanks Dan.
Gareth
11-07-2018 01:25 AM
I'm an idiot! So obvious once you know.
It's general life rule ;-)
Glad to hear you solved it.
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