No supplied with Asterisk

Joined: Sun 31 of Aug, 2008

No supplied with Asterisk

Posted:Mon 25 of Jul, 2011 (16:55 UTC)
No supplied with Asterisk

Postby plin ยป Sat Jul 23, 2011 12:28 am

I've installed Asterisk on a 64bit OpenSUSE 11.4. Asterisk is running well with SIP clients, but ISDN support is missing. When I check /usr/lib64/asterisk/modules/ I can't find a Obviously that rpm package was build without ISDN support.

I downloaded the source package and tried to rebuild Asterisk with --enable chan_misdn. misdn_chan didn't compile.

I checked the config.log in /usr/src/packages/BUILD/asterisk- and found

configure:20016: checking for mISDN_open in -lmisdn
configure:20041: gcc -o conftest -g -O2 conftest.c -lmisdn -lm >&5
/tmp/cc0IHpfN.o: In function `main':
/usr/src/packages/BUILD/asterisk- undefined reference to `mISDN_open'
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../lib64/ undefined reference to `pthread_create'
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../lib64/ undefined reference to `pthread_cancel'
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../lib64/ undefined reference to `pthread_join'
collect2: ld returned 1 exit status

The misdn modules supplied by the kernel are loaded
myhost:/usr/src/packages/BUILD/asterisk- # lsmod | grep mISDN
mISDNipac 37328 1 avmfritz
mISDN_core 101449 3 avmfritz,mISDNipac

mISDN_open is provided by the kernel
myhost:/usr/src/linux/drivers/isdn # grep -r "mISDN_open" *
mISDN/timerdev.c:mISDN_open(struct inode *ino, struct file *filep)
mISDN/timerdev.c: .open = mISDN_open,

What to do now to get mISDN supprt into Asterisk?