[asterisk-users] Automatic provisioning of Sipura handsets (was: A linksys SPA921 behind NAT and firewall)
Jared Smith
jsmith at digium.com
Mon Oct 22 09:06:44 CDT 2007
On Sun, 2007-10-21 at 13:42 +0200, Per Jessen wrote:
> The SPA-9x1 does support http download, but I don't see how you could
> change the initial TFTP request to HTTP without manually configuring
> the phone. Even then I'm not sure it would work - I certainly haven't
> managed to make any of my SPAs do an auto-config over HTTP.
Actually, it's really easy to do. Here's a copy of my spa942.cfg file
which I use to point the phone at my web server, as well as upgrade the
firmware.
<flat-profile>
<Profile_Rule ua="na"> http://192.168.0.103/AutoProvision/prov.php?mac=
$MA&dev=spa$PSA
</Profile_Rule>
<Resync_Periodic ua="na"> 300
</Resync_Periodic>
<Syslog_Server ua="na"> 192.168.0.103
</Syslog_Server>
<Resync_Periodic ua="na"> 60
</Resync_Periodic>
<Resync_Error_Retry_Delay ua="na"> 60
</Resync_Error_Retry_Delay>
<Upgrade_Rule ua="na"> (!
5.1.5)?tftp://192.168.0.103/spa942-5-1-5.bin
</Upgrade_Rule>
</flat-profile>
--
Jared Smith
Community Relations Manager
Digium, Inc.
More information about the asterisk-users
mailing list