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 template is stored in /home/ssp/etc/provisioning directory. Each softswitch environment has own sub-directory for own set of profiles:

  • Environment #1:
    • /var/env1/provisioning 
  • Environment #2: 
    • /var/env2/provisioning
  • Environment #3:
    • /var/env3/provisioning
  • Environment #N:
    • /var/envN/provisioning


Profile can have macros, which are substituted by real data from environment or account settings. 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


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:

<flat-profile>
<Provision_Enable>Yes</Provision_Enable>
<Resync_On_Reset>Yes</Resync_On_Reset>
<Resync_Periodic>3600</Resync_Periodic>
<Resync_From_SIP>No</Resync_From_SIP>
<Profile_Rule>http://%%SIP_PROXY%%/provisioning/linksys-$(MAU).cfg</Profile_Rule>
<Line_Enable_1_>Yes</Line_Enable_1_>
<SIP_Port_1_>%%SIP_PORT%%</SIP_Port_1_>
<Proxy_1_>%%SIP_PROXY%%</Proxy_1_>
<Register_1_>Yes</Register_1_>
<Register_Expires_1_>3600</Register_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_>Yes</Use_Auth_ID_1_>
<Preferred_Codec_1_>G729a</Preferred_Codec_1_>
<Use_Pref_Codec_Only_1_>No</Use_Pref_Codec_Only_1_>
</flat-profile>

 

For more info regarding Linksys provisioning see  Cisco Small Business IP Telephony Devices Provisioning Guide.