[Asterisk-Users] Outbound call using ISDN extension disconnected after *exactly* 30 seconds

Francesco Peeters (Asterisk) francesco at fampeeters.com
Fri Dec 30 03:43:05 MST 2005


Hello all,

I have a curious issue, and I was hoping maybe somebody has an idea...

I have a Siemens DECT ISDN base connected to a HFC-PCI card in NT mode.
When I use it (or one of the connected DECT phones) pending outbound calls
are disconnected after *exactly* 30 seconds (if the call is answered
before that all works fine! It is only when the phone is still ringing
that this fails!)

When I use the base it reports 'Ongeldig' (Invalid) on the screen after
disconnect.

I have included the BRI INTENSE DEBUG output below, maybe someone has an
idea what to look for.

Also included is the config of the ISDN extensions and zapata.conf.

I may be missing something totally obvious, but I am baffled, and this way
it is unusable...

Any thoughts will be appreciated!

-- 
F Peeters
  PIII 450 - 1 GB - * 1.2 - BRIstuff 0.3.0 Pre 1 - Florz patch
  2 Sweex HFC-PCI modes=2 sync_slave=2 timer_card=0
    Cologne HFC-S pins #52, #54, #55 connected in parallel for synching.



----------- CLI output ------------
> Supervisory frame:
2 > SAPI: 00  C/R: 0 EA: 0
>  TEI: 064        EA: 1
2 > Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 002 P/F: 1
> 0 bytes of data
2 -- Restarting T203 counter
2 -- Restarting T203 counter
2 terisk1*CLI>
< [ 00 81 04 04 08 01 01 45 08 02 80 e6 ]
2 terisk1*CLI>
< Informational frame:
2 < SAPI: 00  C/R: 0 EA: 0
<  TEI: 064        EA: 1
2 < N(S): 002   0: 0
< N(R): 002   P: 0
< 8 bytes of data
2 -- ACKing all packets from 1 to (but not including) 2
2 -- Since there was nothing left, stopping T200 counter
2 -- Stopping T203 counter since we got an ACK
2 -- Nothing left, starting T203 counter
2 < Protocol Discriminator: Q.931 (8)  len=8
2 < Call Ref: len= 1 (reference 1/0x1) (Originator)
2 < Message type: DISCONNECT (69)
2 < [2 082  022  802  e62 ]
2 < Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0  
Location: User (0)
2 <                  Ext: 1  Cause: Unknown (102), class = Protocol Error
(6) ]
2 Sending Receiver Ready (3)
2 terisk1*CLI>
> [ 00 81 01 06 ]
2 terisk1*CLI>
> Supervisory frame:
2 > SAPI: 00  C/R: 0 EA: 0
>  TEI: 064        EA: 1
2 > Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 003 P/F: 0
> 0 bytes of data
2 -- Restarting T203 counter
2 -- Restarting T203 counter
    -- Channel 0/2, span 2 got hangup request
    -- Hungup 'IAX2/voipbuster-4'
  == Spawn extension (macro-dialout-trunk, s, 14) exited non-zero on
'Zap/5-1' in macro 'dialout-trunk'
  == Spawn extension (from-internal, 0174287004, 1) exited non-zero on
'Zap/5-1'
    -- Executing Macro("Zap/5-1", "hangupcall") in new stack
    -- Executing ResetCDR("Zap/5-1", "w") in new stack
Tx-Frame Retry[000] -- OSeqno: 009 ISeqno: 010 Type: IAX     Subclass: HANGUP
   Timestamp: 22039ms  SCall: 00004  DCall: 00150 [213.61.187.146:4569]
   CAUSE CODE      : 0

    -- Executing NoCDR("Zap/5-1", "") in new stack
    -- Executing Wait("Zap/5-1", "5") in new stack
  == Spawn extension (macro-hangupcall, s, 3) exited non-zero on 'Zap/5-1'
in macro 'hangupcall'
  == Spawn extension (from-internal, h, 1) exited non-zero on 'Zap/5-1'




----------- ZAPATA.CONF ----------
;
; Zapata telephony interface
;
; Configuration file

[channels]
;
; Default language
;
language=nl
;
; Default context
;
;
switchtype = euroisdn
rxwink=300

usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=10.0
txgain=0.0
nationalprefix = 0
internationalprefix = 00
faxdetect=incoming
callgroup=1
pickupgroup=1
context=from-pstn

; PRI Out of band indications.
; Enable this to report Busy and Congestion on a PRI using out-of-band
; notification. Inband indication, as used by Asterisk doesn't seem to
work
; outofband:      Signal Busy/Congestion out of band with
RELEASE/DISCONNECT
; inband:         Signal Busy/Congestion using in-band tones
priindication = inband

; p2mp TE mode
;signalling = bri_cpe_ptmp

; p2p TE mode
;signalling = bri_cpe
; p2mp NT mode
;signalling = bri_net_ptmp
; p2p NT mode
;signalling = bri_net

pridialplan = dynamic
prilocaldialplan = unknown
nationalprefix = 0
internationalprefix = 00

echocancel=yes
echotraining = 100
echocancelwhenbridged=yes

signalling = bri_cpe_ptmp
immediate=no
relaxdtmf=yes
overlapdial=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
group = 1,2,3,4
channel => 1-2

signalling = bri_net_ptmp
priindication = outofband
context=from-internal
;context=ext-local
relaxdtmf=yes
immediate=no
overlapdial=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
group = 11,12,13,14
channel => 4-5

;Include genzaptelconf configs
#include zapata-auto.conf

;Include AMP configs
#include zapata_additional.conf



---------- ZAP ----------
;;;;;;[2010]
signalling=bri_cpe_ptmp
record_out=Adhoc
record_in=Adhoc
mailbox=2010 at device
echotraining=100
echocancelwhenbridged=yes
echocancel=yes
context=from-internal
callprogress=no
callerid=device <2010>
busydetect=no
busycount=7
channel=>4/2010

;;;;;;[2011]
signalling=bri_cpe_ptmp
record_out=Adhoc
record_in=Adhoc
mailbox=2011 at device
echotraining=200
echocancelwhenbridged=yes
echocancel=yes
context=from-internal
callprogress=no
callerid=device <2011>
busydetect=no
busycount=7
channel=>4/2011

;;;;;;[2012]
signalling=bri_cpe_ptmp
record_out=Adhoc
record_in=Adhoc
mailbox=2012 at device
echotraining=200
echocancelwhenbridged=yes
echocancel=yes
context=from-internal
callprogress=no
callerid=device <2012>
busydetect=no
busycount=7
channel=>4/2012

;;;;;;[2013]
signalling=bri_cpe_ptmp
record_out=Adhoc
record_in=Adhoc
mailbox=2013 at device
echotraining=200
echocancelwhenbridged=yes
echocancel=yes
context=from-internal
callprogress=no
callerid=device <2013>
busydetect=no
busycount=7
channel=>4/2013

;;;;;;[2014]
signalling=bri_cpe_ptmp
record_out=Adhoc
record_in=Adhoc
mailbox=2014 at device
echotraining=200
echocancelwhenbridged=yes
echocancel=yes
context=from-internal
callprogress=no
callerid=device <2014>
busydetect=no
busycount=7
channel=>4/2014

;;;;;;[2020]
signalling=bri_cpe_ptmp
record_out=Adhoc
record_in=Adhoc
mailbox=2020 at device
echotraining=200
echocancelwhenbridged=yes
echocancel=yes
context=from-internal
callprogress=no
callerid=device <2020>
busydetect=no
busycount=7
channel=>4/2020




More information about the asterisk-users mailing list