database sql

General discussions about Asterisk.

Moderators: Moderator, Support

database sql

Postby RDouro » Wed Dec 16, 2015 6:06 pm

Hi All ,
i have database in Microsoft sql can to integrate asterisk ?
When the guest call can i can identify the guest wiht number of phone ou serial number of equipment ?


Same body can help me ?

Regards,
RDouro
Newsterisk
 
Posts: 38
Joined: Tue Jan 10, 2012 8:28 am
Location: Portugal

Re: database sql

Postby ambiorixg12 » Wed Dec 16, 2015 11:08 pm

You need to install the the ODBC connector, The ODBC connector is a database abstraction layer that makes it possible for Asterisk to communicate with a wide range of databases without requiring the developers to create a separate database connector for every database Asterisk wants to support.

Connecting to Microsoft SQL (MS SQL) is similar to connecting to either MySQL or PostgreSQL.

To connect to MS SQL, you need to install the FreeTDS drivers using the package manager (or by compiling via the source files available at http://www.freetds.org).

http://asteriskdocs.org/en/3rd_Edition/ ... sk-DB.html

http://www.asteriskdocs.org/en/2nd_Edit ... funky.html
ambiorixg12
Astmaster
 
Posts: 967
Joined: Sun Mar 04, 2007 9:32 pm
Location: Dominican Republic


Return to Asterisk General

Who is online

Users browsing this forum: No registered users and 1 guest