The configuration files for the TAPI driver are not
formated as standard INI-files. So it is not easy to edit these files.
To enable external configuration the TAPI driver supports an "auto_config.ini"
file.
Steps to create an Auto Configuration:
|
0. Limitations |
- The auto configuration is designed to configure a single TAPI
line (first line).
|
1. Create a pre-configured setup |
- Extract the ZIP file of the Asterisk TAPI Driver.
- Hint: The extracted folder "workingDir" contains the driver
configuration files.
- Run the setup.exe.
- Configure the access to Asterisk PBX.
- Configure parameters for the first TAPI line device.
- Test if the driver is working.
- Open the driver's working directory via Button [Configure.. >
Info-Tab > Working Directory]
- Copy the content of the driver's working directory into folder "workingDir"
of expanded setup.
- Open the file "cfg\ast_lines.ini" in folder "workingDir".
- Remove not configured TAPI lines.
- You can rename or remove some parameter items fom "cfg\ast_lines.ini"
and "cfg\ast_servers.ini" to anonymize the configuration. e.g.:
Rename the Channel and remove the encoded passwords.
|
2. Configure a "auto_config.ini" file |
- Download and save auto_config.ini
to any folder.
- Customize the "auto_config.ini" content for a new installation.
Element |
Description |
[ALL] |
Section [ALL] applies to all Windows logon user
names and computer names.
You can also rename the section to [COMPUTERNAME_XXX] or [USERNAME_XXX].
And you can also create multiple sections with different user/computer
names. |
LicenseKey=
LicenseeName= |
License key
Licensee Name = registered for |
AsteriskServer_IP= |
IP address or DNS name of the Asterisk PBX |
AsteriskServer_Username=
AsteriskServer_Pwd= |
Username and password to access the Asterisk
Manager API |
AsteriskLine_Channel= |
e.g. SIP/300 |
AsteriskLine_Username= |
= User display name |
AsteriskLine_Context = |
Context to execute the AMI Originate command.
= empty if not known |
Phone_IP=
Phone_Username=
Phone_Pwd= |
If [Special Device] = Snom or Aastra you have
to set the phone access parameters. |
|
=> Now the files are prepared for setup.
|
How to execute Auto Configuration:
|
1. Pre-Configuration Mode |
- You can copy the "auto_config.ini" into folder "workingDir\cfg"
of expanded setup.
- Run setup.exe on a new computer.
During installation the "auto_config.ini" is processed and renamed
to "auto_config-last.ini".
|
2. Post-Configuration Mode |
- Run setup.exe on a new computer.
- Open the driver's working directory via Button [Configure.. >
Info-Tab > Working Directory]
- Copy the "auto_config.ini" into subfolder "cfg".
- Run a driver reset or restart the computer.
|
|