[asterisk-users] database queries from extensions.conf

Klaus Darilion klaus.mailinglists at pernau.at
Thu Nov 13 12:11:51 CST 2008

Hi Jared!

Thanks for the info - looks very flexible - you only have to edit 4 
configuration files for a simple query :-)

just a few questions:
The ODBC library is unixodbc?

How does it compare to the other solutions in terms of performance? e.g. 
(I have to make several queries for each call (caller preferences, LNP, 


Jared Smith schrieb:
> On Thu, 2008-11-13 at 15:16 +0100, Klaus Darilion wrote:
>> What is the preferred way to make database lookups from within the dialplan?
> The preferred method is to use func_odbc, which takes SQL queries and
> builds custom dialplan functions from them.  I've used it quite a bit,
> and am very happy with it.
> I also presented on func_odbc at AstriCon, and you can download my
> presentation:
> http://www.astricon.net/2008/glendale/web/presentations/DatabaseDriven_JSmith.pdf

More information about the asterisk-users mailing list