Setup FoxPro
for authenticating extensions

In this chapter you can learn how to authenticate SIP extensions using a FoxPro database server with your Ozeki Phone System XE. You can see the installation steps, the database connection string, the database connection type and the recommended database table layout for FoxPro database.

After you have followed this guide, you will be able to authenticate SIP extensions with FoxPro database server.

During the configuration you have the chances to use OleDb or Odbc connection types.

In case of the OleDb connection you need to choose OleDb type:

OleDb

Connection string for OleDb connection:

Provider=any oledb provider's name;OledbKey1=someValue;OledbKey2=someValue;

If you use Odbc connection type, you need to select Odbc connection type:

Odbc

Connection string for Odbc driver:

Driver={Microsoft Visual FoxPro Driver};SourceType=DBC;SourceDB=c:myvfpdb.dbc; Exclusive=No;NULL=NO;Collate=Machine;BACKGROUNDFETCH=NO;DELETED=NO;

The database connection string have to be modified to match your database.

The connection string and the connection type should be entered on the Database Authenticator SQL API configuration form.


Figure 5 - Specifying the connection string for the FoxPro database

The following figure shows the SQL queries that allow you to verify if a SIP account is available or not in your database.


Figure 6 - SQL queries for authenticating

After the Database Authenticator SQL API has been configured in the Ozeki Phone System XE, you need to create the database tables for Database Authenticator SQL API. Use the following table layout:

-- -----------------------------------------------------
-- Table `OzekiPBX`.`ozpbxusers`
-- -----------------------------------------------------
CREATE TABLE ozpbxusers
   (authname C(45) PRIMARY KEY,
    username C(45) NOT NULL,
    password C(45) NOT NULL}

If you have any questions or need assistance, please contact us at info@ozekiphone.com.

Dig deeper!
People who read this also read...

More information