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/administration/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

Reply via email to