B410P on UK NtlTelewest ISDN does not detect Busy

Running Asterisk 1.4.21 and Zaptel 1.4.11. Iif I dial out on an ISDN channel to a number that is busy, the call just rings, it does not give a busy response.

I checked the called number is really busy using a mobile phone (as well as having the called phone off hook in my hand) - so its not accepting my call on ‘call waiting’ to confuse matters.

Looking at the debug output for the call (below) it seems to be getting a Ringing response from remote, but other bits of ISDN kit I have tried on the line successfully return Busy.

I have tried everything I can think of and I am looking for ideas for what to do next. Help would be much appreciated. If this has been covered in a previous post then I apologize, but I can’t find it.

With ‘misdn set debug 2’ in ‘asterisk -r’, the output for the call is :-

-- Executing [645000@internal:1] ChanIsAvail("SIP/EJATA2-008563d0", "Zap/1") in new stack
-- Executing [645000@internal:102] Dial("SIP/EJATA2-008563d0", "mISDN/g:isdn/645000") in new stack

P[ 0] --> Group Call group: isdn
P[ 1] channel with stid:0 for one second still in use!
P[ 0] --> * NEW CHANNEL dad:645000 oad:(null)
P[ 1] read_config: Getting Config
P[ 1] --> TON: Unknown
P[ 1] --> LTON: Unknown
P[ 1] --> CTON: Unknown
P[ 1] * CALL: g:isdn/645000
P[ 1] --> * dad:645000 tech:mISDN/0-u3 ctx:incoming
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:1706 dad:645000 pid:5
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:5
– Called g:isdn/645000
P[ 1] I IND :NEW_CHANNEL oad:1706 dad:645000 pid:5 state:CALLING
P[ 1] --> channel:2 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] --> TRANSPARENT Mode
P[ 1] I IND :SETUP_ACKNOWLEDGE oad:1706 dad:645000 pid:5 state:CALLING
P[ 1] --> channel:2 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] I IND :stuck_out_tongue:ROCEEDING oad:1706 dad:645000 pid:5 state:CALLING_ACKNOWLEDGE
P[ 1] --> channel:2 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
– mISDN/2-u6 is proceeding passing it to SIP/EJATA2-008563d0
P[ 1] I IND :ALERTING oad:1706 dad:645000 pid:5 state:PROCEEDING
P[ 1] --> channel:2 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
– mISDN/2-u7 is ringing
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
P[ 1] * IND : HANGUP pid:5 ctx:incoming dad:645000 oad:645000 State:ALERTING
P[ 1] --> out_cause:16
P[ 1] --> state:ALERTING
P[ 1] I SEND:DISCONNECT oad:1706 dad:645000 pid:5
P[ 1] --> channel:2 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
== Spawn extension (internal, 645000, 102) exited non-zero on 'SIP/EJATA2-008563d0’
P[ 1] I IND :RELEASE oad:1706 dad:645000 pid:5 state:CLEANING
P[ 1] --> channel:2 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] --> No need to queue hangup
P[ 1] Cannot hangup chan, no ast
P[ 1] $$$ Cleaning up bc with stid :10020100 pid:5

The XXXXXXX line is where I hung up the call,

My misdn-init file is what Asterisk built for me, with te_ptmp selected :-
card=1,0x4
te_ptmp=1,2,3,4
poll=128
dsp_poll=128
dsp_options=0
dtmfthreshold=100
debug=0

and misdn.conf again is standard apart from the gain figures, contexts and call groups :-
[general]
misdn_init=/etc/misdn-init.conf
debug=0
ntdebugflags=0
ntdebugfile=/var/log/misdn-nt.log
ntkeepcalls=no
bridging=no
stop_tone_after_first_digit=yes
append_digits2exten=yes
dynamic_crypt=no
crypt_prefix=**
crypt_keys=test,muh

[default]
context=misdn
language=en
musicclass=default
senddtmf=yes
far_alerting=no
allowed_bearers=all
nationalprefix=0
internationalprefix=00
rxgain=2.0
txgain=2.0
te_choose_channel=no
pmp_l1_check=no
reject_cause=16
need_more_infos=no
nttimeout=no
method=standard
overlapdial=yes
dialplan=0
localdialplan=0
cpndialplan=0
early_bconnect=yes
incoming_early_audio=no
nodialtone=no
presentation=-1
screen=-1
jitterbuffer=4000
jitterbuffer_upper_threshold=0
hdlc=no
max_incoming=-1
max_outgoing=-1

[isdn]
ports=1
context=incoming
callgroup=10
pickupgroup=10
msns=*