[Asterisk-Users] mISDN not initialising properly my Fritz cards

Craig Guy cguy at bigpond.net.au
Fri Mar 4 19:07:06 MST 2005


I use a startup script with nothing in modprobe.conf:

#!/bin/bash
#
# System startup script for the isdn-capi subsystem

case "$1" in
     start)
        echo -n "Starting mISDN and CAPI"
 modprobe capi
 modprobe mISDN_core
 modprobe mISDN_l1
 modprobe mISDN_l2
 modprobe l3udss1
 modprobe mISDN_capi
 modprobe mISDN_isac
 modprobe avmfritz protocol=2
        ;;

     stop)
        echo -n "Stopping mISDN and CAPI"
        rmmod avmfritz
 rmmod mISDN_isac
 rmmod mISDN_capi
 rmmod l3udss1
 rmmod mISDN_l2
 rmmod mISDN_l1
 rmmod mISDN_dtmf
 rmmod mISDN_core
 rmmod capi
 rmmod kernelcapi
        ;;
     restart)
        $0 stop
        $0 start
        ;;
     *)
        echo "Usage:$0{start|stop|restart}"
        ;;
esac
exit 0

Craig

----- Original Message ----- 
From: "JunkMail" <junkmail at segurajuda.dyndns.org>
To: <asterisk-users at lists.digium.com>
Sent: Friday, March 04, 2005 8:48 PM
Subject: [Asterisk-Users] mISDN not initialising properly my Fritz cards


> Hi all!
>
> I have two Fritz!PCI cards on a Debian with Kernel 2.6.9.
> I recompiled the Kernel to support mISDN and all went OK.
>
> Usually I initialize CAPI with this :
> ----------------
> alias /dev/capi20 avmfritz
> alias char-major-68-0 avmfritz
>
> install avmfritz /sbin/modprobe capi; \
> /sbin/modprobe mISDN_core; \
> /sbin/modprobe mISDN_l1; \
> /sbin/modprobe mISDN_l2; \
> /sbin/modprobe l3udss1; \
> /sbin/modprobe mISDN_capi; \
> /sbin/modprobe mISDN_x25dte; \
> /sbin/modprobe --ignore-install avmfritz
>
> remove avmfritz /sbin/modprobe -r --ignore-remove avmfritz; \
> /sbin/modprobe -r mISDN_x25dte; \
> /sbin/modprobe -r mISDN_capi; \
> /sbin/modprobe -r l3udss1; \
> /sbin/modprobe -r mISDN_l2; \
> /sbin/modprobe -r mISDN_l1; \
> /sbin/modprobe -r mISDN_core; \
> /sbin/modprobe -r capi
> ----------------
> ...and CAPIINFO starts reporting both cards ok.
>
> However,
> asterisk with chan_capi reports both cards (capi info) but never manages
to
> uses them,
> OR,
> asterisk with chan_misdn never even gets to start saying "No Upper ID
port:1
> /   init_stack: No such device"
>
> So I tried "capiinit reload" and it says :
> rootKABox:~# capiinit reload
> 1 mISDN      detected mISDN1           -
> 2 mISDN      detected mISDN2           -
> ERROR: missing config entry for controller 1 driver mISDN name mISDN1
> ERROR: missing config entry for controller 2 driver mISDN name mISDN2
>
> What the heck can be wrong ?!?
>
> Thanks for helping a (not so) newbie (anymore)
>
> M.G.
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list