userdoc:tt_asterisk-odbc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
userdoc:tt_asterisk-odbc [2014/07/03 13:24]
abelbeck [Mass Deployment SQL Table]
userdoc:tt_asterisk-odbc [2014/07/03 13:34]
abelbeck [Mass Deployment SQL Table]
Line 103: Line 103:
 !!Note: AstLinux 1.1.7 or later is required!! !!Note: AstLinux 1.1.7 or later is required!!
  
-Using the SQL-Data tab in the web interface, view an example phoneprov table generated by the PhoneProv tab:+Using the SQL-Data tab in the web interface, view an example 'phoneprovtable generated by the PhoneProv tab:
  
 {{:userdoc:odbc-phoneprov-table.jpg?nolink|}} {{:userdoc:odbc-phoneprov-table.jpg?nolink|}}
 +
 +The SQL schema is of the form:
 +
 +  CREATE TABLE 'phoneprov' (
 +    'id' INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
 +    'ext' TEXT DEFAULT '',
 +    'cid_name' TEXT DEFAULT '',
 +    'account' TEXT DEFAULT '',
 +    'line' INTEGER DEFAULT 1,
 +    'mac_addr' TEXT DEFAULT '',
 +    'template' TEXT DEFAULT '',
 +    'model' TEXT DEFAULT '',
 +    'vendor' TEXT DEFAULT ''
 +  );
 +
 +Following the examples above, adding a context to ''/etc/asterisk/func_odbc.conf'' to define a new function, the dialplan can use the PhoneProv data.
  
 Mass Deployment detailed documentation found here: Mass Deployment detailed documentation found here:
  • userdoc/tt_asterisk-odbc.txt
  • Last modified: 2014/07/03 14:02
  • by droemel