Lee Garrett escribió:
Victor Seva wrote:Hi all,[snip]I have now a version [0] of misdn-[kernel | user] with I can finally build chan_misdn [1] only adding the proper build-depends ( libisdnnet-dev ). misdn-user builds static libraries as Simon point me to do.I noticed that your asterisk_1.4.21.2~dfsg-2~bpo40+1_i386.deb in your backports section doesn't have chan_misdn.so shipped. So I recompiled that with the suggested build-depends. It compiles all right, chan_misdn is there, but is not loadable. Asterisk's error log says:
AFAIK asterisk_1.4.21.2~dfsg-2~bpo40+1_i386.deb has chan_misdn.so shipped [0].
[studebaker]$ debc asterisk_1.4.21.2~dfsg-2~bpo40+1_i386.changes | grep chan_misdn -rw-r--r-- root/root 422976 2008-07-30 00:28:06 ./usr/lib/asterisk/ modules/chan_misdn.so -rw-r--r-- root/root 622520 2008-07-30 00:28:06 ./usr/lib/debug/usr/ lib/asterisk/modules/chan_misdn.so
[studebaker]$ pwd/home/linuxmaniac/linuxmaniac.torreviejawireless.org/debian/asterisk +misdn_backports
[0] http://linuxmaniac.torreviejawireless.org/debian/asterisk+misdn_backports/
[Aug 3 20:29:57] WARNING[9076] loader.c: Error loading module 'chan_misdn.so': libisdnnet.so: cannot open shared object file: No such file or directory
I can load chan_misdn.so with no such error: openser:~# LC_ALL=C dpkg -l asterisk Desired=Unknown/Install/Remove/Purge/Hold| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half- installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description+++-==========================-==========================- ==================================================================== ii asterisk 1.4.21.2~dfsg-2~bpo40+1 Open Source Private Branch Exchange (PBX)
openser:~# LC_ALL=C dpkg -l *isdn* Desired=Unknown/Install/Remove/Purge/Hold| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half- installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description+++-==========================-==========================- ==================================================================== ii libisdnnet-dev 1.1.8-1~bpo40+1 ISDN networking library ii libmisdn-dev 1.1.8-1~bpo40+1 mISDN interface library ii linux-headers-misdn 1.1.8-1~bpo40+1 Header files for the mISDN drivers ii misdn-config 1.1.8-1~bpo40+1 init-script to auto-configure and load the mISDN kernel drivers un misdn-kernel-source <none> (no description available) un misdn-modules <none> (no description available) ii misdn-modules-2.6.18-6-686 1.1.8-1~bpo40+1 mISDN modules for Linux (kernel 2.6.18-6-686) ii misdn-source 1.1.8-1~bpo40+1 Source code for the mISDN modules
openser:~# dpkg -L libisdnnet-dev /. /usr /usr/share /usr/share/doc /usr/share/doc/libisdnnet-dev /usr/share/doc/libisdnnet-dev/changelog.Debian.gz /usr/share/doc/libisdnnet-dev/copyright /usr/lib /usr/lib/libisdnnet.a /usr/include /usr/include/mISDNuser /usr/include/mISDNuser/net_l3.h /usr/include/mISDNuser/fsm.h /usr/include/mISDNuser/net_l2.h openser:~# asterisk -rAsterisk 1.4.21.2~dfsg-2~bpo40+1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <[EMAIL PROTECTED]>Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.= ========================================================================
This package has been modified for the Debian GNU/Linux distribution Please report all bugs to http://bugs.debian.org/asterisk= ======================================================================== Connected to Asterisk 1.4.21.2~dfsg-2~bpo40+1 currently running on openser (pid = 13486)
openser*CLI> core show channeltypesType Description Devicestate Indications Transfer ---------- ----------- ----------- ----------- -------- SIP Session Initiation Protocol (SIP) yes yes yes mISDN Channel driver for mISDN Support (Bri/Pr no yes no DS Application for sending device state mes yes no no MGCP Media Gateway Control Protocol (MGCP) yes yes no Agent Call Agent Proxy Channel yes yes no Phone Standard Linux Telephony API Driver no yes no Console OSS Console Channel Driver no yes no Skinny Skinny Client Control Protocol (Skinny) no yes no Gtalk Gtalk Channel Driver no yes no Local Local Proxy Channel Driver yes yes no Zap Zapata Telephony Driver w/PRI no yes no IAX2 Inter Asterisk eXchange Driver (Ver 2) yes yes yes
---------- 12 channel drivers registered.
Thanks for the work in getting asterisk with chan_misdn done!
Thanks for yor testing and feedback
PGP.sig
Description: This is a digitally signed message part