Can't dial with the ISDN BRI card

Hi all,

I can’t dial with my ISDN BRI card. it show the following message:

-- Executing [s@macro-dialout-trunk:27] Dial("SIP/806-0833d910", "misdn/1/8008205555|300|") in new stack

P[ 0] --> * NEW CHANNEL dad:8008205555 oad:(null)
P[ 1] * Queuing chan 0x83499e8
P[ 1] read_config: Getting Config
P[ 1] config_jb: Called
P[ 1] --> * CallGrp: PickupGrp:
P[ 1] --> TON: Unknown
P[ 1] --> LTON: Unknown
P[ 1] --> CTON: Unknown
P[ 1] * CALL: 1/8008205555
P[ 1] --> * dad:748008205555 tech:mISDN/0-u18 ctx:from-zaptel
P[ 1] --> * adding2newbc ext 748008205555
P[ 1] --> * adding2newbc callerid 806
P[ 1] update_config: Getting Config
P[ 1] --> pres: -1 screen: -1
P[ 1] --> pres: 0
P[ 1] --> PRES: Allowed (0x0)
P[ 1] --> SCREEN: Unscreened (0x0)
P[ 1] NO OPTS GIVEN
P[ 1] SENDEVENT: stack->nt:0 stack->uperid:40000104
P[ 1] I SEND:SETUP oad:806 dad:8008205555 pid:20
P[ 1] --> bc_state:BCHAN_CLEANED
P[ 1] --> channel:0 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] --> caps:Speech pi:0 keypad: sending_complete:0
P[ 1] --> screen:0 --> pres:0
P[ 1] --> addr:0 l3id:30012 b_stid:0 layer_id:0
P[ 1] --> facility:Fac_None out_facility:Fac_None
P[ 1] --> urate:0 rate:16 mode:0 user1:0
P[ 1] --> bc:820bf2c h:0 sh:0
P[ 1] find_free_chan: req_chan:0
P[ 1] --> found chan: 1
P[ 1] set_chan_in_stack: 1
P[ 1] Idx:0 stack->cchan:0 in_use:1 Chan:1
P[ 1] Idx:1 stack->cchan:0 in_use:0 Chan:2
P[ 1] Idx:2 stack->cchan:0 in_use:0 Chan:3
P[ 1] --> found channel: 1
P[ 1] --> new_l3id 30013
P[ 1] --> * SEND: State Dialing pid:20
– Called 1/8008205555
P[ 1] Sending msg, prim:30580 addr:41000104 dinfo:30013
P[ 0] MGMT: Short status dinfo 1000000
P[ 0] MGMT: SSTATUS: L1_DEACTIVATED
P[ 1] handle_frm: frm->addr:42000103 frm->prim:3f182
P[ 1] --> lib: RELEASE_CR Ind with l3id:30013
P[ 1] --> lib: CLEANING UP l3id: 30013
P[ 0] get_index: event not found!
P[ 1] I IND :CLEAN_UP oad:806 dad:8008205555 pid:20 state:CALLING
P[ 1] hangup_chan called
P[ 1] --> queue_hangup
P[ 1] release_chan: bc with l3id: 30013
P[ 1] * RELEASING CHANNEL pid:20 ctx:from-zaptel dad:8008205555 oad:748008205555 state: CALLING
P[ 1] --> * State Down
P[ 1] --> Setting AST State to down
P[ 1] $$$ CLEANUP CALLED pid:20
P[ 1] $$$ Already cleaned up bc with stid :0
P[ 1] empty_chan_in_stack: 1
P[ 1] Idx:0 stack->cchan:0 in_use:1 Chan:1
P[ 1] Idx:1 stack->cchan:0 in_use:0 Chan:2
P[ 1] Idx:2 stack->cchan:0 in_use:0 Chan:3
P[ 1] Idx:0 stack->cchan:0 in_use:0 Chan:1
P[ 1] Idx:1 stack->cchan:0 in_use:0 Chan:2
P[ 1] Idx:2 stack->cchan:0 in_use:0 Chan:3
== Everyone is busy/congested at this time (1:0/0/1)

file misdn-init.conf

card=1,w6692pci
te_ptmp=1
poll=128
dsp_poll=128
dsp_options=0
dtmfthreshold=100
debug=0

file misdn.conf

[general]
misdn_init=/etc/misdn-init.conf
tracefile=/var/log/asterisk/misdn.log
debug=3
append_digits2exten=yes
bridging=no
te_choose_channel=yes

[default]
language=cn
nationalprefix=0
internationalprefix=00
rxgain=0
txgain=0
dialplan=0
hdlc=no
pmp_l1_check=yes
echocancel=yes
senddtmf=yes

[TEports]
context=from-zaptel
ports=1
msns=*

Thanks a lots

/Bill

[root@phone install-misdn-mqueue]# misdnportinfo

Port 1: TE-mode BRI S/T interface line (for phone lines)
-> Interface is Poin-To-Point.
-> Protocol: DSS1 (Euro ISDN)
-> Layer 4 protocol 0x04000001 is detected, but not allowed for TE lib.
-> childcnt: 2

  • Port NOT useable for PBX (maybe there is already a PBX running?)

phone*CLI> misdn show stacks
BEGIN STACK_LIST:

  • Port 1 Type TE Prot. PTP L2Link DOWN L1Link:DOWN Blocked:0 Debug:999

[root@phone install-misdn-mqueue]# misdn-init scan
[OK] found the following devices:
card=1,w6692pci
[ii] run “/usr/sbin/misdn-init config” to store this information to /etc/misdn-init.conf