chan_datacard

omide
Posts: 3
Member Since:
2010-07-19

Hello

I have the following issue

I need to connect to my trixbox two Huawei E220 modems via USB and to use them as trunks. For that i'm tryng to install chan_datacard or chan_sebi
I mention that I'm using Asterisk 1.6.0.26-FONCORE-r78.
i found 2 modules already compiled, but I get the following error:
For chan_sebi:
[Jul 19 12:15:48] WARNING[22386] loader.c: Error loading module 'chan_sebi': /usr/lib/asterisk/modules/chan_sebi.so: undefined symbol: manager_event
[Jul 19 12:15:48] WARNING[22386] loader.c: Module 'chan_sebi' could not be loaded.

and for chan_datacard:
[Jul 19 12:16:13] WARNING[22386] loader.c: Error loading module 'chan_datacard': /usr/lib/asterisk/modules/chan_datacard.so: undefined symbol: __ast_verbose
[Jul 19 12:16:13] WARNING[22386] loader.c: Module 'chan_datacard' could not be loaded.

Where I cand find a module for my asterisk version?

10x

Omide



SkykingOH
Posts: 9681
Member Since:
2007-12-17
You need to get the source

You need to get the source for your driver and build it against the Asterisk you have with the development packages.

I have not found this process to be 100% so I recommend downloading Asterisk, Asterisk Add-ons, Zaptel/DAHDI and the source for your module and building them all at once.

--

Scott

aka "Skyking"



omide
Posts: 3
Member Since:
2010-07-19
where i can found soruce for

where i can found soruce for Asterisk 1.6.0.26-FONCORE-r78 and Add-Ons ?



omide
Posts: 3
Member Since:
2010-07-19
so.... i took asterisk

so....
i took asterisk 1.6.0.28 and asterisk-addons-1.6.0.6

when I tryed to compile asterisk-addons-1.6.0.6 i get the following error

chan_sebi.c:160: warning: initialization from incompatible pointer type
chan_sebi.c:160: warning: initialization from incompatible pointer type
chan_sebi.c:1340:36: error: macro "ast_config_load" requires 2 arguments, but only 1 given
chan_sebi.c: In function âmodem_load_configâ:
chan_sebi.c:1340: error: âast_config_loadâ undeclared (first use in this function)
chan_sebi.c:1340: error: (Each undeclared identifier is reported only once
chan_sebi.c:1340: error: for each function it appears in.)
make[1]: *** [chan_sebi.o] Error 1
make[1]: Leaving directory `/root/asterisk-addons-1.6.0.6/channels'
make: *** [channels] Error 2



SkykingOH
Posts: 9681
Member Since:
2007-12-17
Do you have all of your

Do you have all of your dependencies resolved? Did you run the configure script?

You also have to build in order Asterisk, Asterisk Add-ons and LIBPRI

--

Scott

aka "Skyking"



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.