Most of this applies to all the Sipura based adapters with a couple of 
notes:
- for the SPAxxxx adapters, the default provisioning URL is set to 
/spa$PSN.cfg. The $PSN token is the adapter's model, so for example a 
SPA2002 will look for /spa2002.cfg, a SPA3102 will look for spa3102.cfg, etc
- most of the settings in the XML are the same among different adapters, 
however, there are differences. For example the SPA2102 and SPA3102 
incorporate a router, so that are some additional settings related to that 
feature. The SPA3000 and SPA3102 have an FXO+an FXS port instead of 2 FXS, 
so the settings in the Line (FXO) tab are a little different. The best way 
to see what settings are available is to download the SPC tool from Cisco 
for that particular model and use it to generate a sample file.

Liviu

----- Original Message ----- 
From: "Chuck Mariotti" <cmario...@xunity.com>
To: <liviu.t...@gmail.com>; <asterisk@uc.org>
Sent: Friday, January 29, 2010 9:55 AM
Subject: RE: [on-asterisk] Help with auto provisioning on Linksys PAP2T ATA


Do you know if this applies to all of the sipura based ATAs? 3102, etc... 
Are the XML files compatible? I too would also like to auto provision my 
Sipuras. Only reason I'm using those instead of the PAP2's is T38... 
although I have yet to have to actually use T38.

-----Original Message-----
From: Liviu Toma [mailto:liviu.t...@gmail.com]
Sent: January-29-10 9:15 AM
To: asterisk@uc.org
Subject: Re: [on-asterisk] Help with auto provisioning on Linksys PAP2T ATA

To access the Provisioning settings of the PAP2T, use ****110# to find its 
IP address, then go to the web interface, click Admin Login on the right 
then click Switch to Advanced view in the middle. Now you should see the 
Provisioning tab (see this for what the web page should look
like: http://voipfan.net/emulators/pap2t/admin/advanced/)
The Profile Rule setting from that page specifies the URL for your 
provisioning server. You can point it to a web server or a TFTP server. 
Also, you can specify an encryption key for the configuration file. Usually, 
most people use a token like $MA in the URL, which the adapter will replace 
with its own MAC address.
As for the DHCP option 66: that can be used as well, if your provisioning 
server is located in the same LAN as your VoIP adapter(s). If I'm not 
mistaking, the PAP2 and PAP2T will look for a TFTP server using that DHCP 
option, and then they will ask for the file init.cfg from the root of the 
TFTP server. That init.cfg could have the whole configuration (but then if 
you have multiple ATAs they will all use the same configuration file), or 
you can use the init.cfg to point the adapter's provisioning to another 
server/URL. For example, my init.cfg is a simple XML that looks like this:

<flat-profile>
<Profile_Rule 
ua="na">http://sipconfig.anotherserver.net/$MA.xml</Profile_Rule>
</flat-profile>

This way, any factory reset adapter that connects to my LAN will grab that 
file automatically and set its provisioning URL to 
"http://sipconfig.anotherserver.net/$MA.xml";. From there, I can use separate 
configuration files based on the MAC address of the adapter.

To see what the configuration file would look like, I recommend downloading 
the SPC tool from 
http://www.cisco.com/en/US/prod/voicesw/ps6790/gatecont/ps10024/ps10029/PAP2T_Firmware.zip
You can use it to generate a sample configuration file for you, then 
customize that file to your needs. Just a friendly notice that due to the 
huge number of options that you can change in the Linksys ATAs, the sample 
XML can look a little scary. If you want a trimmed down version of the 
config file, have a look at the one I am using 
http://voipfan.net/files/sample.xml

Last, here's a good admin guide for the Linksys / Sipura adapters. It has 
lots of info on provisioning too:
http://voipfan.net/files/LinksysSPAAdminGuidev2.0.11-16.pdf


On Wed, Jan 27, 2010 at 7:09 PM, Erik Schwartz <asterisk...@gmail.com> 
wrote:
> Can anyone help with provisioning on this device? I've tried scouring
> the net for help from Linksys/Cisco and found very little. The best I
> can find is the "administration guide" which does little more than
> explain the **** IVR and it's codes.
> http://www.cisco.com/en/US/docs/voice_ip_comm/csbpvga/pap2t/administra
> tion/g
> uide/pap2t_user.pdf
>
> I'm trying to figure out where to tell the ATA look for configuration
> info and also understand what are the options that I can put in the 
> mac.cfg file.
> One slight wrinkle -- my Asterisk box is in a datacenter and not on
> the same LAN as the ATAs.
>
> Thanks in advance.
> Erik.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org For additional commands, 
e-mail: asterisk-h...@uc.org


---------------------------------------------------------------------
To unsubscribe, e-mail: asterisk-unsubscr...@uc.org
For additional commands, e-mail: asterisk-h...@uc.org

Reply via email to