c. Dial the new Default Gateway address (e.g., 192*168*0*1), and then press # to
finish.
d. Review the new Default Gateway address, and then press 1 to save.
7. Hang up (on-hook) the handset.
Alternatively, initial configuration may be performed using an HTTP server, as discussed in
the Product Reference Manual ('Automatic Update Facility'). The Voice Menu may be used
to specify the configuration URL.
 To set a configuration URL:
1. Obtain the IP address of the configuration HTTP server (e.g., 36.44.0.6).
2. Connect a telephone to one of the FXS ports.
3. Lift the handset and dial ***12345 (three stars followed by the digits 1, 2, 3, 4, and 5).
4. Wait for the "configuration menu" voice prompt to be played.
5. Dial 31 followed by the # key; the current IP address is played.
6. To change the IP address:
a. Press the # key.
b. Dial the configuration server's IP address. Use the star (*) key instead of dots
("."), e.g., 36*44*0*6, and then press # to finish.
c. Review the configuration server's IP address, and then press 1 to save.
7. Dial 32 followed by the # key, and then do the following to change the configuration
file name pattern:
a. Press the # key.
b. Select one of the patterns listed in the table below (aa.bb.cc.dd denotes the IP
address of the configuration server):
# Configuration File Name Pattern Description
1 http://aa.bb.cc.dd/config.ini Standard config.ini.
2 https://aa.bb.cc.dd/config.ini Secure HTTP.
3 http://aa.bb.cc.dd/audiocodes/<MAC>.ini
The device's MAC address is appended to the file
name (e.g.,
http://36.44.0.6/audiocodes/00908f012300.ini).
4 http://aa.bb.cc.dd:8080/config.ini HTTP on port 8080.
5 http://aa.bb.cc.dd:1400/config.ini HTTP on port 1400.
6
http://aa.bb.cc.dd/cgi-
bin/acconfig.cgi?mac=<MAC>&ip=<IP>
Generating configuration per IP/MAC address
dynamically, using a CGI script. See perl example
below.
a. Press the selected pattern code, and then press # to finish.
8. Press 1 to save, and then hang up the handset. The device retrieves the configuration
from the HTTP server.
The following is an example perl CGI script, suitable for most Apache-based HTTP servers
for generating configuration dynamically per pattern #6 above. Copy this script to
/var/www/cgi-bin/acconfig.cgi on your Apache server and edit it as required:
#!/usr/bin/perl
use CGI;
$query = new CGI;
$mac = $query->param('mac');
$ip = $query->param('ip');