Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

SPA112 Provisioning

Dear User,

I have a problem with my SPA112 provisioning system.

I have set my dhcp server to push option 160 with the http url of my provisioning server ( http://DNS/provisioning/init.xml ). I have enabled the syslog server on SPA112 but i don't see nothing about resync.

I see GET on my apache webserver.

I don't understand why but my SPA don't reads configuration. I have also tried  http://spaip/admin/resync?http://DNS/provisioning/init.xml with the same result.

Maybe something wrong on my init.xml?

My init.xml file:

<flat-profile>

<Resync_On_Reset> Yes

</Resync_On_Reset>

<Resync_Periodic> 7200

</Resync_Periodic>

<Profile_Rule ua="na">http://DNS/provisioning.php?model=SPA$PSN&mac=$MA</Profile_Rule>

</flat-profile>


My apache log:

192.168.2.254 - - [09/Sep/2013:15:09:41 +0200] "GET /provisioning/init.txt HTTP/1.0" 200 502 "-" "Cisco/SPA112-1.3.1(003) (CCQAT)"

(many times)

Everyone's tags (3)
6 REPLIES
VIP Gold

SPA112 Provisioning

I see GET on my apache webserver.
...
Yes

7200

And this GET has been caused by resync. So I don't understand what you mean saying "my SPA don't reads configuration" The Apache log show that device did read the configuration according your wishes.

Your configuration order the phone to initiate next resync on reboot or every 7200 seconds.

But despite I don't fully understand your question - turn on log & debug messages and catch them. They should help you to solve a problem you have.

Debug and syslog Messages from SPA1x2 and SPA232D ATA (Analog Telephone Adapters)

New Member

Re: SPA112 Provisioning

Dear, thank you for your answer.

Sorry for my question.

The problem is that spa download the file but not apply.

Thank you for link.

Now log show:

Sep  9 16:56:27 SPA112 ac: f2:c5:35:cf:36 -- Requesting resync http://IP:80/provisioning/init.txt

Sep  9 16:56:27 SPA112 ac: f2:c5:35:cf:36 -- Resync failed: http_get failed

(PS no nat between web server and SPA, only routing and server could ping and open port 80 of the SPA)

VIP Gold

Re: SPA112 Provisioning

Now log show:

Sep  9 16:56:27 SPA112 ac: f2:c5:35:cf:36 -- Requesting resync http://IP:80/provisioning/init.txt

Sep  9 16:56:27 SPA112 ac: f2:c5:35:cf:36 -- Resync failed: http_get failed

It say that phone failed to retrieve document http://IP:80/provisioning/init.txt

The text IP seems not to be neither valid DNS name nor IP address. If it is just obfuscated then dump communication between phone and the http server. Use tcpdump or wireshark or so according your wishes.

New Member

Re: SPA112 Provisioning

Thank you Dan,

But i don't understand how the web-server report 200 to the request. =(

VIP Gold

Re: SPA112 Provisioning

Packet dump will tell you.

New Member

Re: SPA112 Provisioning

Ops... firewall filter =(

Sorry for inconvenience, thank you for all.

Emanuele

1050
Views
0
Helpful
6
Replies