[asterisk-users] Module res_odbc is not loading

Philipp Kempgen philipp.kempgen at amooma.de
Tue Jan 27 18:52:23 CST 2009


Philipp Kempgen schrieb:
> Pascal Bruno schrieb:
>> Actually I installed them after, so do you recommend I recompile asterisk?
> 
> Yes. The unixodbc header files (package unixodbc-dev on Debian,
> might be called -headers/-source/-devel on other distros) have to
> be present before compiling Asterisk.
> 
> cd /usr/src/asterisk-X.X.X/

Maybe
make clean
./configure
here.

> make menuconfig
> -> 8.  Resource Modules
> -> [*] 13. res_odbc
> Make sure it lets you tick res_odbc and res_config_odbc.

Tick with the space key.

> On the bottom of the screen it says something like
> "Depends on: unixodbc(E), ltdl(E)" which tells you what it
> depends on. If the dependencies are not satisfied it won't let
> you tick the option.
> Leave menuselect with q without saving or with x to save your
> changes.
> make
> rm -rf /usr/lib/asterisk/modules
> make install
> 
>> If
>> I do so, I wont loose my current configuration files right?
> 
> As long as you *don't*
> make samples
> you're fine.
> 
>> On Tue, Jan 27, 2009 at 6:27 PM, Philipp Kempgen
>> <philipp.kempgen at amooma.de>wrote:
>> 
>>> Pascal Bruno schrieb:
>>> > I have remove the comment defor res_odbc.so and res_config_odbc.so in my
>>> > modules.conf, but the module is still not loading
>>> >
>>> > when I do:
>>> >
>>> > module show like odbc
>>> > I have o module returned
>>> >
>>> > anybody knows why?
>>>
>>> Did you install unixodbc and unixodbc-dev before compiling Asterisk?


   Philipp Kempgen

-- 
AMOOCON 2009, May 4-5, Rostock / Germany   ->  http://www.amoocon.de
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied  ->  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
-- 



More information about the asterisk-users mailing list