[asterisk-users] troubleshooting mISDN...

Julien Claassen julien at c-lab.de
Thu Aug 28 12:44:43 CDT 2008


Hi everyone!
   If I try to originate a call from the CLI using my ISDN-card, I get errors 
from the mISDN driver. Here's what I did:
CLI> originate mISDN1/029213399096 application Jack system:playback_1 
system:capture_1
   The output I get:
P[ 0]  --> * NEW CHANNEL dad:Extern1 oad:(null)
P[ 1] read_config: Getting Config
P[ 1]  --> TON: International
P[ 1]  --> LTON: International
P[ 1]  --> CTON: International
P[ 1] * CALL: 1/Extern1/029213191242
P[ 1]  --> * dad:Extern1 tech:mISDN/0-u0 ctx:Extern1
P[ 1]  --> * adding2newbc ext Extern1
P[ 1]  --> * adding2newbc callerid (null)
P[ 1]  --> pres: 0 screen: 0
P[ 1] I SEND:SETUP oad: dad:Extern1 pid:2
P[ 1]  --> channel:0 mode:TE cause:16 ocause:16 rad: cad:
P[ 1]  --> info_dad: onumplan:1 dnumplan:1 rnumplan:0 cpnnumplan:1
P[ 1]  --> caps:Speech pi:0 keypad: sending_complete:0
P[ 1] --> new_l3id 10001
P[ 1]  --> * SEND: State Dialing pid:2
mISDN: INTERNAL ERROR in drivers/isdn/hardware/mISDN/stack.c:235 st(00000100) 
ad
dr(41000100) layer -1 out of range
mISDN: INTERNAL ERROR in drivers/isdn/hardware/mISDN/stack.c:235 st(00000100) 
ad
dr(41000100) layer -1 out of range

   Now I must admit, that I had to hack the driver into the kernel a bit. but 
maybe still someone could help me here.
   About my mISDN: I got the latest svn and then
cd mISDN
./std2kern
cd linux-2.6.24-rt1
cd drivers/isdn/hardware/mISDN
changed stack.c and core.c (after doing a bit of reading)
replaced struct semaphore with struct compat_semaphore
   I found in some postings from the kernel mailinglist, that this is the usual 
way to go.
   Any idas? Any help? Alternative suggestions for my mISDN and 
linux-RT-patched kernel problem? If this is it at all...
   Kindest regards
         Julien

--------
Music was my first love and it will be my last (John Miles)

======== FIND MY WEB-PROJECT AT: ========
http://ltsb.sourceforge.net
the Linux TextBased Studio guide
======= AND MY PERSONAL PAGES AT: =======
http://www.juliencoder.de



More information about the asterisk-users mailing list