InstallationAsterisk Server KonfigurationSpezielle Geräte
Up

Auto Configuration

Page Index

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
  1. The auto configuration is designed to configure a single TAPI line (first line).
1. Create a pre-configured setup
  1. Extract the ZIP file of the Asterisk TAPI Driver.
    • Hint: The extracted folder "workingDir" contains the driver configuration files.
  2. Run the setup.exe.
  3. Configure the access to Asterisk PBX.
  4. Configure parameters for the first TAPI line device.
  5. Test if the driver is working.
  6. Open the driver's working directory via Button [Configure.. > Info-Tab > Working Directory]
  7. Copy the content of the driver's working directory into folder "workingDir" of expanded setup.
  8. Open the file "cfg\ast_lines.ini" in folder "workingDir".
  9. Remove not configured TAPI lines.
  10. 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
  1. Download and save auto_config.ini to any folder.
  2. 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
  1. You can copy the "auto_config.ini" into folder "workingDir\cfg" of expanded setup.
  2. 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
  1. Run setup.exe on a new computer.
  2. Open the driver's working directory via Button [Configure.. > Info-Tab > Working Directory]
  3. Copy the "auto_config.ini" into subfolder "cfg".
  4. Run a driver reset or restart the computer.