On Thu, 2006-12-14 at 15:37 +0100, Christian Richter wrote:
> Hi Patrick,
> 
> you do not need a NT-1 to power it, a BRI Crosscable is OK, pinout is:
> 3456 which you cross like:
> 
> 3-4
> 4-3
> 5-6
> 6-5

Thanks for the pinout Christian! I made the 20cm cable and tried to get
a call across but no succes. mISDN 1.0.4, mISDNuser 1.0.3, chan_misdn
0.3.1rc27, asterisk 1.2 svn. My config is below. Anyone have an idea?

/etc/asterisk/misdn.conf:
[portte]
ports=1
context=misdin
msns=*

[portnt]
ports=2
context=misdnout

/etc/asterisk/extensions.conf
[default]
exten => 333,1,Dial(SIP/333,60,tT)
exten => 333,n,Hangup

include => misdnout

[misdnout]
exten => _X.,1,Dial(mISDN/2/${EXTEN})
exten => _X.,n,Hangup()

[misdnin]
exten => _X.,1,Answer
exten => _X.,n,MusicOnHold
exten => _X.,n,Hangup()

# misdn-init start spits out these messages:
[EMAIL PROTECTED] ~]# misdn-init start
-----------------------------------------
 Loading module(s) for your misdn-cards:
-----------------------------------------
/sbin/modprobe --ignore-install hfcsusb protocol=0x2,0x12
layermask=0xf,0x3  poll=128
modprobe mISDN_dsp debug=0x0 options=0  dtmftreshold=100

Messages in /var/log/messages:
Dec 16 04:03:37 laptop kernel: HFC-S USB: device disconnect
Dec 16 04:03:51 laptop kernel: Modular ISDN Stack core $Revision: 1.37 $
Dec 16 04:03:51 laptop kernel: ISDN L1 driver version 1.18
Dec 16 04:03:51 laptop kernel: ISDN L2 driver version 1.31
Dec 16 04:03:51 laptop kernel: mISDN: DSS1 Rev. 1.42
Dec 16 04:03:51 laptop kernel: mISDN Capi 2.0 driver file version 1.20
Dec 16 04:03:52 laptop kernel: hfcsusb driver Rev. 1.19 (debug=131071)
Dec 16 04:03:52 laptop kernel: HFC-S USB: probing interface(0) actalt(0)
minor(0) vend_idx(2)
Dec 16 04:03:52 laptop kernel: HFC-S USB: no valid endpoint found in USB
descriptor
Dec 16 04:03:52 laptop kernel: mISDN_hfcsusb: probe of 1-4:1.0 failed
with error -5
Dec 16 04:03:52 laptop kernel: HFC-S USB: probing interface(1) actalt(0)
minor(0) vend_idx(2)
Dec 16 04:03:52 laptop kernel: HFC-S USB: detected "Billion tiny USB
ISDN TA 128"
Dec 16 04:03:52 laptop kernel: HFC-S USB: Endpoint-Config: 3 Interrupt
IN + 3 Isochron OUT (if=1 alt=2)
Dec 16 04:03:52 laptop kernel: hfcsusb_1 wants TE Mode
Dec 16 04:03:52 laptop kernel: HFC-S USB: starting intr IN fifo:5
Dec 16 04:03:52 laptop kernel: HFC-S USB: starting intr IN fifo:1
Dec 16 04:03:52 laptop kernel: HFC-S USB: starting intr IN fifo:3
Dec 16 04:03:52 laptop kernel: HFC-S USB: starting ISO-chain for Fifo 4
Dec 16 04:03:52 laptop kernel: HFC-S USB: starting ISO-chain for Fifo 0
Dec 16 04:03:52 laptop kernel: HFC-S USB: starting ISO-chain for Fifo 2
Dec 16 04:03:52 laptop kernel: HFC-S USB: probing interface(0) actalt(0)
minor(0) vend_idx(2)
Dec 16 04:03:52 laptop kernel: HFC-S USB: no valid endpoint found in USB
descriptor
Dec 16 04:03:52 laptop kernel: mISDN_hfcsusb: probe of 2-3:1.0 failed
with error -5
Dec 16 04:03:52 laptop kernel: HFC-S USB: probing interface(1) actalt(0)
minor(0) vend_idx(2)
Dec 16 04:03:52 laptop kernel: HFC-S USB: detected "Billion tiny USB
ISDN TA 128"
Dec 16 04:03:52 laptop kernel: HFC-S USB: Endpoint-Config: 3 Interrupt
IN + 3 Isochron OUT (if=1 alt=2)
Dec 16 04:03:52 laptop kernel: hfcsusb_2 wants NT Mode
Dec 16 04:03:52 laptop kernel: HFC-S USB: starting intr IN fifo:5
Dec 16 04:03:52 laptop kernel: HFC-S USB: starting intr IN fifo:1
Dec 16 04:03:52 laptop kernel: HFC-S USB: starting intr IN fifo:3
Dec 16 04:03:52 laptop kernel: HFC-S USB: starting ISO-chain for Fifo 4
Dec 16 04:03:52 laptop kernel: HFC-S USB: starting ISO-chain for Fifo 0
Dec 16 04:03:52 laptop kernel: HFC-S USB: starting ISO-chain for Fifo 2
Dec 16 04:03:52 laptop kernel: usbcore: registered new driver
mISDN_hfcsusb
Dec 16 04:03:52 laptop kernel: mISDN_dsp: Audio DSP  Rev. 1.24
(debug=0x0) EchoCancellor MG2 dtmftreshold(100)
Dec 16 04:03:52 laptop kernel: mISDN_dsp: DSP clocks every 64 samples.
This equals 8 jiffies.

Display of a call to 555 with debug=2 in /etc/asterisk/misdn.conf:
    -- Executing Dial("SIP/333-007b4490", "mISDN/2/555") in new stack
P[ 0]  --> * NEW CHANNEL dad:555 oad:(null)
P[ 2]  --> TON: Unknown
P[ 2]  --> LTON: Unknown
P[ 2]  --> CTON: Unknown
P[ 2] * CALL: 2/555
P[ 2]  --> * dad:555 tech:mISDN/2-u2 ctx:misdnout
P[ 2]  --> pres: -1 screen: -1
P[ 2]  --> pres: 0
P[ 2]  --> PRES: Allowed (0x0)
P[ 2]  --> SCREEN: Unscreened (0x0)
P[ 2] NO OPTS GIVEN
P[ 2] I SEND:SETUP oad:333 dad:555 pid:4
P[ 2]  --> channel:0 mode:NT cause:16 ocause:16 rad: cad:
P[ 2]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 2]  --> * SEND: State Dialing pid:4
    -- Called 2/555
P[ 2] I IND :CC_SETUP|CONFIRM: old l3id:ff02 new l3id:8003ff02
P[ 2] I IND :NEW_L3ID oad:333 dad:555 pid:4 state:CALLING
P[ 2]  --> channel:1 mode:NT cause:16 ocause:16 rad: cad:
P[ 2]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 2] I IND :RELEASE_COMPLETE oad: dad: pid:4 state:CALLING
P[ 2]  --> channel:0 mode:NT cause:18 ocause:16 rad: cad:
P[ 2]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 2]  --> queue_hangup
P[ 2] * RELEASING CHANNEL pid:4 ctx:misdnout dad:555 oad:555 state:
CALLING
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing Hangup("SIP/333-007b4490", "") in new stack
  == Spawn extension (default, 555, 2) exited non-zero on
'SIP/333-007b4490'

And /var/log/messages shows during start of asterisk:

Dec 16 04:05:35 laptop kernel: hfcsusb_2 handle_dmsg: unknown
prim(20180)
Dec 16 04:05:36 laptop kernel: HFC-S USB: CRC or minlen ERROR
Dec 16 04:05:36 laptop last message repeated 4 times
Dec 16 04:05:41 laptop kernel: MDL_ERROR|REQ (tei_l2)

And during a call:
Dec 16 04:05:41 laptop kernel: MDL_ERROR|REQ (tei_l2)
(and many, many more of these)

Thanks and regards,
Patrick

_______________________________________________
Misdn-asterisk mailing list
[email protected]
http://lists.beronet.com/cgi-bin/mailman/listinfo/misdn-asterisk

Reply via email to