Hi,

my setup: Debian testing with vanilla kernel 2.6.18, mISDN and mISDNuser are 
checked out from CVS HEAD a few hours ago, Asterisk 1.2.12.1.dfsg-1 binary 
packages in Debian, the included chan_misdn is overwritten with chan_misdn 
0.4.0-rc5 compiled from source.

I have two zaphfc cards in the box, the first is running in TE PtMP mode and 
connected to the NTBA of my local telco, the second is currently idling 
(supposed to be NT PtMP at a later stage). 

Incoming calls work fine. However, when I try to make outgoing calls things 
seem to break. 

The called party phone rings. The last lines in the asterisk console when 
having debug=2 in misdn.conf look like this

    -- Executing Dial("SIP/201-081a4610", "mISDN/1/00491795466xxx") in new 
stack
P[ 0]  --> * NEW CHANNEL dad:00491795466xxx oad:(null)
P[ 1]  --> TON: Unknown
P[ 1]  --> LTON: Unknown
P[ 1]  --> CTON: Unknown
P[ 1] * CALL: 1/00491795466xxx
P[ 1]  --> * dad:00491795466xxx tech:mISDN/0-u1 ctx:from-isdn
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] I SEND:SETUP oad:+498974140493 dad:00491795466xxx pid:2
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]  --> * SEND: State Dialing pid:2
    -- Called 1/00491795466xxx
P[ 1] I IND :STATUS oad:+498974140493 dad:00491795466xxx pid:2 state:CALLING
P[ 1]  --> channel:255 mode:TE cause:100 ocause:16 rad: cad:
P[ 1]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] I IND :NEW_CHANNEL oad:+498974140493 dad:00491795466xxx pid:2 
state:CALLING
P[ 1]  --> channel:1 mode:TE cause:100 ocause:16 rad: cad:
P[ 1]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1]  --> TRANSPARENT Mode
P[ 1] bchan: DL_ESTABLISH|CNF
P[ 1] I IND :SETUP_ACKNOWLEDGE oad:+498974140493 dad:00491795466xxx pid:2 
state:CALLING
P[ 1]  --> channel:1 mode:TE cause:100 ocause:16 rad: cad:
P[ 1]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] I IND :ALERTING oad:+498974140493 dad:00491795466xxx pid:2 
state:CALLING_ACKNOWLEDGE
P[ 1]  --> channel:1 mode:TE cause:100 ocause:16 rad: cad:
P[ 1]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] Set State Ringing
P[ 1] We have no inband Data, the other end must create ringing
    -- mISDN/1-u3 is ringing
Oct  3 22:38:08 WARNING[5815]: channel.c:787 channel_find_locked: Avoided 
initial deadlock for '0x81a9b60', 10 retries!

When I answer the called party phone I get the following messages:

P[ 1] I IND :CONNECT oad:+498974140493 dad:00491795466xxx pid:2 state:ALERTING
P[ 1]  --> channel:1 mode:TE cause:100 ocause:16 rad: cad:
P[ 1]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan: 
P[ 1] I SEND:CONNECT_ACKNOWLEDGE  oad:+498974140493 dad:00491795466xxx pid:2
P[ 1]  --> bc_state:BCHAN_ACTIVATED
P[ 1]  --> channel:1 mode:TE cause:100 ocause:16 rad: cad:
P[ 1]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan: 
P[ 1] ec_enable
P[ 1]  --> ECHO OFF

and thats it. The SIP phone still says "Rufe" (ringing), the called party 
believes to be connected, but no audio passes either direction. Additionally 
the following messages are flooded into my syslog:

Oct  3 22:38:28 obelix kernel: mISDN_rdata: rport queue overflow 256/256 
[addr:52010101 prim:120282 dinfo:ffffffff]
Oct  3 22:38:29 obelix last message repeated 57 times
Oct  3 22:38:29 obelix kernel: mISDN_rdata: rport queue overflow 256/256 
[addr:42000103 prim:37b82 dinfo:30001]
Oct  3 22:38:29 obelix kernel: mISDN_rdata: rport queue overflow 256/256 
[addr:52010101 prim:120282 dinfo:ffffffff]
Oct  3 22:38:36 obelix last message repeated 450 times
Oct  3 22:38:37 obelix kernel: mISDN_rdata: rport queue overflow 256/256 
[addr:42000103 prim:34582 dinfo:30001]
Oct  3 22:38:37 obelix kernel: mISDN_rdata: rport queue overflow 256/256 
[addr:52010101 prim:120282 dinfo:ffffffff]
Oct  3 22:38:37 obelix last message repeated 4 times
Oct  3 22:38:37 obelix kernel: mISDN_rdata: rport queue overflow 256/256 
[addr:42000103 prim:35a82 dinfo:30001]
Oct  3 22:38:37 obelix kernel: mISDN_rdata: rport queue overflow 256/256 
[addr:42000103 prim:3f182 dinfo:30001]
Oct  3 22:38:37 obelix kernel: mISDN_rdata: rport queue overflow 256/256 
[addr:52010101 prim:120282 dinfo:ffffffff]

The asterisk console shows no reaction anymore when I disconnect the call on 
either end. "misdn show channels" believes the channel to be still in 
ALERTING state:

Chan List: 0x81aa108
* Pid:2 Prt:1 Ch:1 Mode:TE Org:* dad:00491795466xxx oad:491795466xxx rad: 
ctx:from-isdn state:ALERTING
  --> astname: mISDN/1-u3
  --> ch_l3id: 30001
  --> ch_addr: 0
  --> bc_addr: 50010102
  --> bc_l3id: 30001
  --> display: 
  --> activated: 0
  --> state: BCHAN_ACTIVATED
  --> capability: Speech
  --> echo_cancel: 0
  --> notone : rx 0 tx:0
  --> bc_hold: 0 holded_bc :0

Anyone having any idea how to solve this problem? I tried fiddling with all 
possible switches in /etc/misdn-init.conf and /etc/asterisk/misdn.conf 
(including echo cancellation), no changes. 

The same hardware worked fine before with Asterisk/bristuff and zaphfc.

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

Reply via email to