[asterisk-r2] chan_dahdi.so

Alexandre Cavalcante Alencar alexandre.alencar at gmail.com
Fri Jun 26 14:02:59 CDT 2009


Hi Pablo,

On Fri, Jun 26, 2009 at 3:42 PM, Pablo
Bernasconi<bernasconi.pablo at gmail.com> wrote:
> Hi,
>
> I have a new inconvenient, if someone can help me, great!
>
> I ´ve installed Libpri 1.4.10, Dahdi linux 2.2.0 (as said in the openR2
> pdf), Dahdi tools 2.2.0 (as said in the openR2 pdf), OpenR2 1.1.0 (as said
> in the openR2 pdf), Asterisk 1.6.0.6 patched with
> openr2-asterisk-1.6.0.6.patch (as said in the openR2 pdf, with autoconf 2.60
> and no errors) and Asterisk addons 1.6.0.2.
> I had no errors while installing.
>
> But:
>
> [root at isb247 asterisk-1.6.0.6]# ldd channels/chan_dahdi.so | grep openr2
> ldd: channels/chan_dahdi.so: No existe el fichero o el directorio
>

It tells you that chan_dahdi.so was not built yet. Make sure you have
all needed dependences installed and you already issued ./configure &&
make before running this command.

> [root at isb247 asterisk-1.6.0.6]# ldd channels/chan_dahdi.
> chan_dahdi.c   chan_dahdi.eo  chan_dahdi.o
>

Exactly what I said up

>
> chan_dahdi.so doesn´t exist, I have watched in other computer with Asterisk
> 1.6.0.6 in production with chan unicall and working fine, and it doesnt
> exist either. I have searched in the mailing list, and something similar
> happened some time ago
> http://lists.digium.com/pipermail/asterisk-r2/2009-March/000542.html, I try,
> but the make menuselect options of dahdi where all selected, and the make
> menuselect / channels options where all selected too.
>

You are missing some dependence of DAHDI Channel Driver (maybe DAHDI
Linux, DAHDI tools and it's headers, as of OpenR2 headers if you want
R2 support)

> [root at isb247 asterisk-1.6.0.6]# ls /usr/lib/libopenr2.
> libopenr2.a         libopenr2.la        libopenr2.so
> libopenr2.so.1      libopenr2.so.1.0.1
>

check for OpenR2 headers in /usr/include/openr2.h and /usr/include/openr2

> [root at isb247 asterisk-1.6.0.6]# service dahdi start
> Loading DAHDI hardware modules:
>   wct4xxp:                                                 [  OK  ]
>   wcte12xp:                                                [  OK  ]
>   wct1xxp:                                                 [  OK  ]
>   wcte11xp:                                                [  OK  ]
>   wctdm24xxp:                                              [  OK  ]
>   wcfxo:                                                   [  OK  ]
>   wctdm:                                                   [  OK  ]
>   wcb4xxp:                                                 [  OK  ]
>   wctc4xxp:                                                [  OK  ]
>   xpp_usb:                                                 [  OK  ]
>
> Running dahdi_cfg:                                         [  OK  ]
>
> isb247*CLI> dahdi show version
> DAHDI Version: 2.2.0 Echo Canceller: MG2
>
> isb247*CLI> mfcr2 show version
> OpenR2 version: 1.1.0, revision: exportado
>
> In the asterisk cli I have the command mfcr2, but chan_dahdi.so doesn ´t
> even exist.

You are completely lost here guy. You can't have dahdi and mfcr2
commands without chan_dahdi.so build and loaded.

> Do I have correctly installed LibOpenR2??? I suppose not, but what did I
> make wrong?
>

If you have mfcr2 commands, you have OpenR2 installed and Asterisk
build with DAHDI Channel driver with R2 support.

> Thank you very much!!
>
>
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-r2 mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-r2
>



-- 
Alexandre C Alencar (Skarmeth)
http://blog.alexandrealencar.net/
http://www.alexandrealencar.net/
http://people.debian-ce.org/skarmeth/



More information about the asterisk-r2 mailing list