[asterisk-r2] ldd on channels/chan_dahdi.so don't show libopenr2

Moises Silva moises.silva at gmail.com
Tue Apr 14 13:34:41 CDT 2009


most likely openr2 found old zaptel headers in your system and is
looking for /dev/zap/ctl instead of /dev/dahdi/ctl

Make sure you run ./configure in the system when just dahdi headers
are present and not zaptel (/usr/include/zaptel or
/usr/linux/zaptel.h)

Moy

On Tue, Apr 14, 2009 at 2:19 PM, Evandro Santin
<evandro at delgrande.com.br> wrote:
> Sorry, it's bacause I have an old guide.
>
> Now I downloaded the 1.1.0 library version, installed it sucefully,
> installed dahdi too, but when I try to run r2test, give me the error:
>
> # r2test -c doc/r2test.conf
> found category = NATIONAL_SUBSCRIBER
> found Log Level = all
> found option callfiles=no
> found R2 variant = br
> found MAX ANI= 10
> found MAX DNIS= 4
> found option Get ANI First = no
> DAHDI R2 MF is not available, ignoring option usedahdimf.
> found option MF threshold = 0
> found option MF backward timeout = -1
> found option meteringpulsetimeout=-1
> found option collectcalls=no
> found option chargecalls=yes
> found option doubleanswer=no
> found option immediateaccept=no
> found channel range = 1-15
> found channel range = 17-31
> [ERROR] Context -- Failed to open zap control device (No such file or
> directory)
> failed to create R2 channel 1: System call failed
> Aborting test.
>
> I sure that the dahdi drivers are loaded and the cards are configured. The
> output of "cat /proc/dahdi/1" is:
>
> Span 1: WCT1/0 "Wildcard TE120P Card 0" (MASTER) HDB3/ YELLOW RED RECOVERING
>         IRQ misses: 1
>
>            1 WCT1/0/1 CAS RED
>            2 WCT1/0/2 CAS RED
>            3 WCT1/0/3 CAS RED
>            4 WCT1/0/4 CAS RED
>            5 WCT1/0/5 CAS RED
>            6 WCT1/0/6 CAS RED
>            7 WCT1/0/7 CAS RED
>            8 WCT1/0/8 CAS RED
>            9 WCT1/0/9 CAS RED
>           10 WCT1/0/10 CAS RED
>           11 WCT1/0/11 CAS RED
>           12 WCT1/0/12 CAS RED
>           13 WCT1/0/13 CAS RED
>           14 WCT1/0/14 CAS RED
>           15 WCT1/0/15 CAS RED
>           16 WCT1/0/16 HDLCFCS RED
>           17 WCT1/0/17 CAS RED
>           18 WCT1/0/18 CAS RED
>           19 WCT1/0/19 CAS RED
>           20 WCT1/0/20 CAS RED
>           21 WCT1/0/21 CAS RED
>           22 WCT1/0/22 CAS RED
>           23 WCT1/0/23 CAS RED
>           24 WCT1/0/24 CAS RED
>           25 WCT1/0/25 CAS RED
>           26 WCT1/0/26 CAS RED
>           27 WCT1/0/27 CAS RED
>           28 WCT1/0/28 CAS RED
>           29 WCT1/0/29 CAS RED
>           30 WCT1/0/30 CAS RED
>           31 WCT1/0/31 CAS RED
>
> Can help me with this?
>
> Moises Silva escreveu:
>
> Why are you trying to install 1.0.0 when 1.1.0 is the latest?
>
> On Mon, Apr 13, 2009 at 3:57 PM, Evandro Santin
> <evandro at delgrande.com.br> wrote:
>
>
> I'm trying to install the library, but the "make" give me the following
> output:
>
>  cd . && /bin/sh /dg/asterisk/Asterisk-Install/openr2-1.0.0/missing --run
> automake-1.9 --foreign
> src/Makefile.am: required file `./compile' not found
> make: *** [Makefile.in] Error 1
>
> Before this the comand "./configure --prefix=/usr" did have not show errors.
>
> Ideas of what's wrong!
>
> Thanks!
>
> Melcon Moraes escreveu:
>
> And that needs to be the first one to be installed.
>
> - MM
>
>
> On Mon, Apr 13, 2009 at 5:38 PM, Alexandre Cavalcante Alencar
> <alexandre.alencar at gmail.com> wrote:
>
>
> Hi Evandro,
>
> Did you installed OpenR2 library too? As I can see from you message,
> you installed everything except OpenR2 library itself (needed by the
> patch).
>
> On Mon, Apr 13, 2009 at 5:27 PM, Evandro Santin
> <evandro at delgrande.com.br> wrote:
>
>
> Evandro Santin escreveu:
>
> Hi,
>
> I'm trying to install asterisk-1.4.23.1 with openr2-asterisk-1.4.23.patch
> patch, but testing chan_dahdi.so whith ldd don't show libopenr2 as a
> dependence library.
>
> I did installed the dahdi-linux and dahdi-tools sucefully, downloaded the
> patch, and followed the steps how explained below:
>
> #patch -p0 < openr2-asterisk-1.4.23.patch
>
>
>
> patching file channels/chan_dahdi.c
> patching file configure.ac
> patching file include/asterisk/dahdi_compat.h
> patching file makeopts.in
> patching file configs/chan_dahdi.conf.sample
>
>
> #autoconf --version
>
>
>
>
> autoconf (GNU Autoconf) 2.60
> Written by David J. MacKenzie and Akim Demaille.
>
> Copyright (C) 2006 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
>
>
> #./bootstrap.sh:
>
>
>
> Generating the configure script ...
>
>
> #./configure -prefix=/usr
>
> #make
>
> #make install
>
> #ldd channels/chan_dahdi.so
>
>         linux-gate.so.1 =>  (0xffffe000)
>         libtonezone.so.2.0 => /usr/lib/libtonezone.so.2.0 (0xb7ed9000)
>         libpri.so.1.4 => /usr/lib/libpri.so.1.4 (0xb7eae000)
>         libpthread.so.0 => /lib/libpthread.so.0 (0xb7e96000)
>         libc.so.6 => /lib/libc.so.6 (0xb7d68000)
>         libm.so.6 => /lib/libm.so.6 (0xb7d41000)
>         /lib/ld-linux.so.2 (0x80000000)
>
>
> My file system is Suse 10.2. I did have asterisk-1.4.22 in this computer,
> then uninstall it and now try to install asterisk-1.4.23.1 with openr2 to
> can test a E1 Digium Card with R2 signalling.
>
> Do I made something wrong??
>
> Can someone help??
>
> Thanks
>
>
> --
> Att
>
> Evandro Santin
> Del Grande Informática
>
> Fone: +55 48 32548600
> Fax:   +55 48 32548601
> Estrada Geral do Ambrósio, 390
> Garopaba - SC
>
> --
> Att
>
> Evandro Santin
> Del Grande Informática
>
> Fone: +55 48 32548600
> Fax:   +55 48 32548601
> Estrada Geral do Ambrósio, 390
> Garopaba - SC
> _______________________________________________
> --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/
>
> _______________________________________________
> --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
>
>
>
> _______________________________________________
> --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
>
> ________________________________
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.0.238 / Virus Database: 270.11.54/2056 - Release Date: 04/13/09
> 05:51:00
>
>
>
> --
> Att
>
> Evandro Santin
> Del Grande Informática
>
> Fone: +55 48 32548600
> Fax:   +55 48 32548601
> Estrada Geral do Ambrósio, 390
> Garopaba - SC
> _______________________________________________
> --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
>
>
>
>
>
> ________________________________
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.0.238 / Virus Database: 270.11.54/2056 - Release Date: 04/13/09
> 05:51:00
>
>
>
> --
> Att
>
> Evandro Santin
> Del Grande Informática
>
> Fone: +55 48 32548600
> Fax:   +55 48 32548601
> Estrada Geral do Ambrósio, 390
> Garopaba - SC
> _______________________________________________
> --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
>



-- 
"I do not agree with what you have to say, but I’ll defend to the
death your right to say it." Voltaire



More information about the asterisk-r2 mailing list