Is it possible to LookupCIDName from a unixODBC/MSSQL database? If yes, how? grazie
Matteo Rancilio wrote:> Is it possible to LookupCIDName from a unixODBC/MSSQL database?Not exactly what you're after, but possibly interesting to you: http://voip-info.org/wiki-Asterisk+cmd+LookupCIDname This uses Asterisk's internal database. If you want to store in an external database, then this will do the trick: http://asterisk.bkw.org/other/app_dbodbc.c Used in a similar way to: http://voip-info.org/wiki-Asterisk+cmd+DBput F
earlier <matteor@comvert.com> wrote...> Is it possible to LookupCIDName from a unixODBC/MSSQL database? > > If yes, how?If Asterisk supports unixodbc or iodbc then you can use FreeTDS http://www.freetds.org to connect to the MSSQL box. We use Perl and FreeTDS to produce our config files automatically. nat, -- http://photos.nuqe.net
nat ha scritto:>earlier <matteor@comvert.com> wrote... > > > >>Is it possible to LookupCIDName from a unixODBC/MSSQL database? >> >>If yes, how? >> >> > >If Asterisk supports unixodbc or iodbc then you can use FreeTDS >http://www.freetds.org to connect to the MSSQL box. > >We use Perl and FreeTDS to produce our config files automatically. > >nat, > >I already know that but how tell asterisk to read the specified custom filed in our database?