OpenVox Document Center OpenVox Document Center
  • Home 
  • Products 
  • Solutions 
  • Resources 
    • Document Center 
    • Datasheets 
    • Firmwares 
    • Videos 
  • Partners 
  • Blog 
  • Company 
OpenVox Document Center OpenVox Document Center
OpenVox Document Center
  • Home 
  • Products 
  • Solutions 
  • Resources 
    • Document Center 
    • Datasheets 
    • Firmwares 
    • Videos 
  • Partners 
  • Blog 
  • Company 

Digital Gateways

  • folder icon closed folder iconUser Manual
    • DGW-100XR User Manual
    • DGW-L1 User Manual
    • DGW-L20X User Manual
    • DGW-L301 User Manual
  • folder icon closed folder iconFunctions Guide
    • SNMP
    • How to configure PRI signalling
    • How to configure MFC/R2 signalling
    • How to configure SS7 signalling
    • How to use Auto Provisioning
    • How to use DID function with OpenVox T1/E1 Gateway
  • folder icon closed folder iconApplication Notes
    • OpenVox TR069 Technote
    • Digital Gateways Connect with Elastix
    • connect E1 gateway with elastix via sip trunk
  • folder icon closed folder iconFAQ
    • SNMP Guide on Digital gateway
    • Digital Gateway connect with 3CX
    • Digital Gateway connect with Issabel
    • Digital Gateway connect with Asterisk16.15.1
    • Digital Gateway connect with Openvox UC
    • Digital Gateway connect with Freepbx 15
loading
Popular Searches
  • Array
  • Array
  • Array
  1. Home
  2. Docs
  3. Digital Gateways
  4. Functions Guide
  5. How to use Auto Provisioning
Updated on November 29, 2022

Digital Gateways

  • folder icon closed folder iconUser Manual
    • DGW-100XR User Manual
    • DGW-L1 User Manual
    • DGW-L20X User Manual
    • DGW-L301 User Manual
  • folder icon closed folder iconFunctions Guide
    • SNMP
    • How to configure PRI signalling
    • How to configure MFC/R2 signalling
    • How to configure SS7 signalling
    • How to use Auto Provisioning
    • How to use DID function with OpenVox T1/E1 Gateway
  • folder icon closed folder iconApplication Notes
    • OpenVox TR069 Technote
    • Digital Gateways Connect with Elastix
    • connect E1 gateway with elastix via sip trunk
  • folder icon closed folder iconFAQ
    • SNMP Guide on Digital gateway
    • Digital Gateway connect with 3CX
    • Digital Gateway connect with Issabel
    • Digital Gateway connect with Asterisk16.15.1
    • Digital Gateway connect with Openvox UC
    • Digital Gateway connect with Freepbx 15

How to use Auto Provisioning

Estimated reading: 5 minutes 928 views

 

Auto provisioning or auto-configuration is an easy, flexible and time-saving way to upgrade firmware and configurations for E1 gateways in mass deployment. With auto provisioning, all user information can be entered via the central ACS (Auto Configuration Server). ACS can be DHCP server or TFTP, HTTP and FTP server. It will not take effects immediately but in the next time system is power on. It could be postponed the execution of restart system also.

Note that system will not be upgrade the firmware and update configurations if the connection between ACS and gateway is disconnect.

1 Preparation

The following should be prepared before anto provisioning being applied.

  •  Enable the auto provisioning in gateway
  •  The ACS has been prepared
  • The network between gateway and ACS is connected

2 Configuring gateway

Usually, the feature is disabled before being on sale. To activate the auto provisioning function, please follow the procedures as below.

Step 1 On the ADVANCED-> Auto Provision interface

Step 2 Enable the ‘Enabled’ option and select ACS. DHCP option 66 can be enabled if ACS has been work as DHCP server, otherwise please select protocol of provisioning and fill the value of ‘Auto Config Server URL’. Username and password may need to be filled in FTP/HTTP for the purpose of system safety. Do not forget to select Firmware upgrade, upgrade mode and fill the value of timeout, and click ‘Save’.

Step 3 Set interval of checking in LOGS->System notice then enable it, and click ‘Save’.

Table 1 Definition of Auto Provision

 

Options Definition
Enabled Whether to enable or disable Auto Provision
DHCP Option 66 Get ACS server address from Option 66 via DHCP
Protocol Set protocol of connection
Auto Config Server URL The config server domain or IP address
User Name The account of downloading from ACS
Password The password of downloading from ACS
Timeout The max limit time for downloading firmware
Firmware Upgrade Enable/disable the mode of downloading firmware
Upgrade Mode Select upgrade time.

Power: start upgrade configuration when Power on. Power + Period: Set the frequency of checking the latest configuration when gateway running

 

 

Table 2 Definition of system notice

 

Options Definition
Enable Whether to enable or disable system notice
Check Interval When Upgrade Mode is set, this parameter specifies the interval of Checking.

 

 

word image 963

Figure 1 Auto Provision interface

 

3 Configuring ACS

The Auto Configuration Server can be the one of TFTP, FTP and HTTP server. The ACS is used to store the firmware release and configurations files of the devices under management.

List the primary files in ACS download directory as table 7-4-3:

Table 3 Definition of ACS files

 

Options Definition
DGW100x-current.bin The firmware image
common.conf The wildcard configuration file for the whole gateway
defconfig.tar.gz The default(factory) configuration file
EPC-{mac}.conf The private configuration file for the specified gateway.

Naming rules: “EPC-“ + “mac” +”.conf”. The naming prefix of “EPC-” stands for the private configuration file, “mac” is the physical address of network interface card but removed semicolon and “.conf” is the suffix. For example, the EPC-a0980501dbca.conf, ‘a0980501dbca’ is the MAC address (A0:98:05:01:DB:CA).

 

The format of common.conf , EPC-{mac}.conf and defconfig.tar.gz:

(1). Common.conf

[firmware]

FW_NAME=DGW100x-current.bin    //Firmware image name

FW_MD5=b3603f3c3b5e7eb6326498640f151c79 //The md5 of firmware image

FW_VERSION=1.1.2  //Firmware version

[configs]

CONFIG_NAME=defconfig.tar.gz   // default configuration file(compressed)

CONFIG_MD5KEY=2cd2dfbe52482405350816e3698cb530 // the md5 of default configuration file

(2).EPC-{mac}.conf

[dns]

DNS_SERVER1=8.8.8.8

DNS_SERVER2=8.8.4.4

DNS_SERVER3=

DNS_SERVER4=

[ntp]

NTP_SERVER1= 0.cn.pool.ntp.org

NTP_SERVER2= time.nist.gov

NTP_SERVER3= time.windows.com

[eth0]

ENABLE=yes

TYPE=static

DHCP=no

IPADDRESS=172.16.100.223

NETMASK=255.255.0.0

GATEWAY=172.16.0.1

[eth1]

ENABLE=yes

TYPE=static

DHCP=no

IPADDRESS=192.168.100.223

NETMASK=255.255.0.0

GATEWAY=192.168.0.1

[web_login]

username=admin

password=admin

(3). Defconfig.tar.gz

word image 964

Figure 2 the overview of defconfig.tar.gz\

4 Provisioning example

After auto provisioning is enabled, the gateway will visit the Auto Configuration Server and download the updated files periodically based on the timer Check Interval (LOGS->System notice). By default, the timer is set as every hour. System will receive a message from ACS, like figure 7-4-3, and the message will be display in the system notice (LOGS->System Notice).

Auto provisioning will not take effects immediately but in the next time system is power on. It could be postponed the execution of restart system also.

Now, an example of using Auto Provisioning will be given in the following.

  1. Activate the auto provision (TFTP) in ADVANCED-> Auto Provision like figure 7-4-4.

word image 965

Figure 4 Auto provision settings

  1. Enable the check interval in LOGS->Log settings->System Notice like figure 5.

 

word image 966

Figure 5 Check interval setting

  1. Configuring the ACS(Generate the md5 of firmware and defconfig.tar.gz)
  • Copy the firmware, defconfig.tar.gz, common.conf and EPC-{mac}.conf to the working directory of TFTP server.

 

word image 967

Figure 6 The working directory of TFTP server

Notice:

The demo of E1 gateway mac address is A0:98:05:01:DB:CA (eth0), therefore the private configuration file is EPC-a0980501dbca.conf.

  • Generate the md5 of firmware and defconfig.tar.gz. Then fill in common.conf and EPC-{mac}.config.

word image 968

 

Figure 7 Generate the md5 of firmware and configuration

word image 969

Figure 8 Common.conf

word image 970

 

Figure 7 EPC- a0980501dbca.conf

  • Start TFTP service. Tftpd32.exe is a useful TFTP tools in windows7, then make sure TFTP server is select.

 

word image 971

Figure 8 Demo TFTP server

  1. The system will receive an auto provision message in web GUI.

 

word image 972

Figure 9 System notice logs

 

word image 973

Figure10 Auto provision upgrade notification

  1. Restart the system. It will take about 3 minutes almost to download, upgrade Firmware and update configurations.

 

word image 974

Figure11 Downloading the firmware and configs

 

word image 975

Figure 12 Applying the firmware and configs

 

 

 

 

 

 

 

 

 

 

Still stuck? How can we help?

Was this page helpful? Yes No

How can we help?

Leave a Comment Cancel reply

CONTENTS

Copyright © 2002-2024 OpenVox all rights reserved.