Auto Provisioning

Overview


Supported since version 2.0.

 Auto-provisioning is intended to configure remotely IP Telephony Devices.

 To enable auto-provisioning an account should be assigned CPE# and Auto-Provisioning type.

 Depending on provisioning type there is profile template. The templates are stored in /home/ssp/etc/provisioning directory. Each softswitch environment has own sub-directory for own set of profiles:

  • Environment #1:
    • /home/ssp/etc/provisioning
  • Environment #2: 
    • /home/ssp/etc/provisioning/env2
  • Environment #3:
    • /home/ssp/etc/provisioning/env3
  • Environment #N:
    • /home/ssp/etc/provisioning/envN


If an environment does not have own profile, default one is used from /home/ssp/etc/provisioning directory.

Profile can have macros, which are substituted by real data from environment or account settings.

List of supported provisioning types:


List of supported devices:

  • SPA9000
  • PAP2T
  • SPA2102
  • SPA3102
  • SPA8000
  • WRP400
  • SPA901
  • SPA921
  • SPA922
  • SPA941
  • SPA942
  • SPA962
  • SPA525G
  • WIP310

Profile template:

linksys.cfg

Account parameters:

CPE# should be set to MAC-address of device.

In order to enable auto-provisioning the devices should be configured as follows:

  • Provision Enable: Yes
  • Resync On Reset: Yes
  • Profile Rule: http://%%SIP_PROXY%%/provisioning/linksys-$(MAU).cfg
  • where %%SIP_PROXY%% - the IP of environment

An example of profile template:

HTML

<flat-profile>
<Provision_Enable>YesProvision_Enable>
<Resync_On_Reset>YesResync_On_Reset>
<Resync_Periodic>3600Resync_Periodic>
<Resync_From_SIP>NoResync_From_SIP>
<Profile_Rule>http://%%SIP_PROXY%%/provisioning/linksys-$(MAU).cfgProfile_Rule>
<Line_Enable_1_>YesLine_Enable_1_>
<SIP_Port_1_>%%SIP_PORT%%SIP_Port_1_>
<Proxy_1_>%%SIP_PROXY%%Proxy_1_>
<Register_1_>YesRegister_1_>
<Register_Expires_1_>3600Register_Expires_1_>
<User_ID_1_>%%SIP_USERNAME%%User_ID_1_>
<Password_1_>%%SIP_PASSWORD%%Password_1_>
<Auth_ID_1_>%%SIP_AUTHNAME%%Auth_ID_1_>
<Use_Auth_ID_1_>YesUse_Auth_ID_1_>
<Preferred_Codec_1_>G729aPreferred_Codec_1_>
<Use_Pref_Codec_Only_1_>NoUse_Pref_Codec_Only_1_>
flat-profile>

A macro should be enclosed by '%%' (double percent), e.g. %%MACRO%%. The list of supported macros are:

  • SIP_PROXY - SIP IP-address of environment
  • SIP_PORT - SIP PORT of environment
  • SIP_USERNAME - Account Name
  • SIP_PASSWORD - VoIP Password
  • SIP_AUTHNAME - VoIP Login
  • SIP_CALLER_NAME - Caller Name

For more information on Auto provisioning please visit the following link.

Cisco Small Business IP Telephony Devices Provisioning Guide.