cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6049
Views
10
Helpful
17
Replies

SPA504G Provisioning using TFTP issues

idemkovitch
Level 1
Level 1

Hello group,

Hopefully you can point me in a right direction. We use SPA504G phones with Asterisk. I do know how to setup phones and they work great. Now I want to automate provisioning and this is where I hit a brick wall.

Not sure if it's firmware related or what, but seems like no instructions that I find (from 2010) work. All phones is on last 7.6.2 firmware.

Here is what I've done:

1. Downloaded template from phone via /admin/spacfg.xml

2. Created TFTP on our Asterisk server. Added option 150 to DHCP (router) and pointed to Asterisk server's IP. Btw, this is NOT option 66, phone didn't grabbed it until I changed to Option 150

3. Phone reset to factory defaults, rebooting. On TFTP I see phone asks for 3 files in order. Does it twice:

SEP7081053D862B.cnf.xml

XMLDefault504G.cnf.xml

XMLDefault.cnf.xml

None of those is what I find in documentations..

4. I did place file SEP708... to TFTP, copied templated file from other phone with NO CHANGE. I see in TFTP log that file being served and then I see "tftpd: read(ack): Connection refused" message. TFTP works fine, I can get that file from other PCs in same subnet and in other subnets. So, it's something about how phone does it..

5. I did try to feed file directly to the phone doing this:

http://192.168.99.xxx/admin/resync?tftp://192.168.xxx.xxx/SEPA44C119EEBF8.cnf.xml

I see on TFTP file was taken. And I see message in browser that phone will reboot and apply. And nothing happens...

I'm little lost as it looks like all the manuals outdated, file naming structure changed, etc. Not sure where to look for debug information.

Thank you!

17 Replies 17

You can't configure neither location nor name of SPCP files. They will be asked from root all the times. You can just turn SPCP off by configuration (but phone with factory default configuration will ask for them, thus it's important not to have those files available).

What this file you suggesting will contain? 

Sorry ? What file you mean 'this' ?

You said:

It's possible, but suboptimal. Use full file name, not the just directory. E.g. use something like tftp://xxx.xxx.xxx.xxx/aster/a-name-of-configuration-file.xml

I was wondering why would I point it to 'a-name-of-configuration-file.xml' file. What would this file contain?

It's just example-name. Use whatever name of the file you wish. It's the file with SIP configuration the phone should download and apply.