[asterisk-users] Diva Server BRI hangs up after about 25 seconds

kjcsb kjcsb at yahoo.com
Tue Jul 24 04:43:13 CDT 2007


I have a Diva Server BRI installed in a Debian system
running Asterisk 1.2.22. When a call comes in the
Background application plays a couple of times.
Halfway through the second time, the call is
disconnected (total time connected about 25 seconds).
I've posted various configs below. Any advice on how
to debug would be appreciated. We are located in New
Zealand.

CLI showing capi debug (just before hangup)
    -- EICONISDN#02: DATA_B3_IND (len=160)
fr.datalen=160 fr.subclass=8
DATA_B3_REQ ID=001 #0x04e1 LEN=0030
  Controller/PLCI/NCCI            = 0x10201
  Data32                          = 0x816d494
  DataLength                      = 0xa0
  DataHandle                      = 0x4d9
  Flags                           = 0x0
  Data64                          = 0x0

DATA_B3_CONF ID=001 #0x04e1 LEN=0016
  Controller/PLCI/NCCI            = 0x10201
  DataHandle                      = 0x4d9
  Info                            = 0x0

DATA_B3_IND ID=001 #0x04ed LEN=0022
  Controller/PLCI/NCCI            = 0x10201
  Data32                          = 0x405b1362
  DataLength                      = 0xa0
  DataHandle                      = 0x163
  Flags                           = 0x0
  Data64                          = 0x8b8b8b8b8b8b8b8b

DATA_B3_RESP ID=001 #0x04ed LEN=0014
  Controller/PLCI/NCCI            = 0x10201
  DataHandle                      = 0x163

    -- EICONISDN#02: DATA_B3_IND (len=160)
fr.datalen=160 fr.subclass=8
DATA_B3_REQ ID=001 #0x04e2 LEN=0030
  Controller/PLCI/NCCI            = 0x10201
  Data32                          = 0x816d574
  DataLength                      = 0xa0
  DataHandle                      = 0x4da
  Flags                           = 0x0
  Data64                          = 0x0

DATA_B3_CONF ID=001 #0x04e2 LEN=0016
  Controller/PLCI/NCCI            = 0x10201
  DataHandle                      = 0x4da
  Info                            = 0x0

INFO_IND ID=001 #0x04ee LEN=0017
  Controller/PLCI/NCCI            = 0x201
  InfoNumber                      = 0x8
  InfoElement                     = <82 90>

INFO_RESP ID=001 #0x04ee LEN=0012
  Controller/PLCI/NCCI            = 0x201

    -- EICONISDN#02: info element CAUSE 82 90
INFO_IND ID=001 #0x04ef LEN=0015
  Controller/PLCI/NCCI            = 0x201
  InfoNumber                      = 0x8045
  InfoElement                     = default

INFO_RESP ID=001 #0x04ef LEN=0012
  Controller/PLCI/NCCI            = 0x201

    -- EICONISDN#02: info element DISCONNECT
    -- EICONISDN#02: Disconnect case 3
    -- CAPI queue frame:[ TYPE: Control (4) SUBCLASS:
Hangup (1) ] [EICONISDN#02]
  == Spawn extension (incoming, 093759999, 3) exited
non-zero on 'CAPI/EICONISDN/093759999-0'
  == EICONISDN#02: CAPI Hangingup for PLCI=0x201 in
state 2
    -- EICONISDN#02: activehangingup (cause=16) for
PLCI=0x201
DISCONNECT_B3_REQ ID=001 #0x04e3 LEN=0013
  Controller/PLCI/NCCI            = 0x10201
  NCPI                            = default

DISCONNECT_B3_CONF ID=001 #0x04e3 LEN=0014
  Controller/PLCI/NCCI            = 0x10201
  Info                            = 0x0

DISCONNECT_B3_IND ID=001 #0x04f1 LEN=0015
  Controller/PLCI/NCCI            = 0x10201
  Reason_B3                       = 0x0
  NCPI                            = default

DISCONNECT_B3_RESP ID=001 #0x04f1 LEN=0012
  Controller/PLCI/NCCI            = 0x10201

DISCONNECT_REQ ID=001 #0x04e4 LEN=0018
  Controller/PLCI/NCCI            = 0x201
  AdditionalInfo                 
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default
   SendingComplete                = default

       > CAPI devicestate requested for
EICONISDN/093759999
       > CAPI devicestate requested for
EICONISDN/093759999
DISCONNECT_CONF ID=001 #0x04e4 LEN=0014
  Controller/PLCI/NCCI            = 0x201
  Info                            = 0x0

INFO_IND ID=001 #0x04f2 LEN=0015
  Controller/PLCI/NCCI            = 0x201
  InfoNumber                      = 0x805a
  InfoElement                     = default

INFO_RESP ID=001 #0x04f2 LEN=0012
  Controller/PLCI/NCCI            = 0x201

    -- EICONISDN#02: info element RELEASE COMPLETE
DISCONNECT_IND ID=001 #0x04f4 LEN=0014
  Controller/PLCI/NCCI            = 0x201
  Reason                          = 0x3490

DISCONNECT_RESP ID=001 #0x04f4 LEN=0012
  Controller/PLCI/NCCI            = 0x201

       > EICONISDN#02: CAPI INFO 0x3490: Normal call
clearing
  == EICONISDN#02: Interface cleanup PLCI=0x201

/usr/lib/divas/Config 
Interface mode: TE (verified)
D Channel: ETSI-DSS1 (verified)
NT-2 mode: No
D-Channel Layer activation: Deactivation by other side
Voice companding: National default
Hunt group operation: Standard
Trunk Operation mode: point to point (fixed TEI)
(verified)
TEI value: 0 (verified)
Source of tones: Provided by ISDN
CAPI call distribution: Off
Max fax speed: No limit
Min fax speed: No limit
Fax session limit: 0
T.30 protocol options: None selected
Part 68 voice signal limiter: National default
DTMF clamping: Off
Audio recording AGC: Off

[general]
nationalprefix=0
internationalprefix=00
language=nz  
[EICONISDN]
isdnmode=msn
incomingmsn=*
controller=2
group=1
context=incoming           
echocancel=yes
devices=2

Full asterisk log
Jul 24 20:35:39 VERBOSE[3217] logger.c:     --
Executing BackGround("CAPI/EICONISDN/093759999-0",
"supportmain") in new stack
Jul 24 20:35:39 DEBUG[3217] channel.c: Scheduling
timer at 160 sample intervals
Jul 24 20:35:39 VERBOSE[3217] logger.c:     -- Playing
'supportmain' (language 'nz')                
Jul 24 20:35:46 DEBUG[3217] channel.c: Scheduling
timer at 0 sample intervals    
Jul 24 20:35:46 VERBOSE[3217] logger.c:   == Spawn
extension (incoming, 093759999, 3) exited non-zero on
'CAPI/EICONISDN/093759999-0'
Jul 24 20:35:46 VERBOSE[3217] logger.c:   ==
EICONISDN#02: CAPI Hangingup for PLCI=0x201 in state 2
Jul 24 20:35:46 DEBUG[3217] pbx.c: Function result is
'094469999'                
Jul 24 20:35:46 DEBUG[3217] pbx.c: Function result is
'094469999'
Jul 24 20:35:46 DEBUG[3217] pbx.c: Function result is
'093759999'                  
Jul 24 20:35:46 DEBUG[3217] pbx.c: Function result is
'incoming'                 
Jul 24 20:35:46 DEBUG[3217] pbx.c: Function result is
'CAPI/EICONISDN/093759999-0'
Jul 24 20:35:46 DEBUG[3217] pbx.c: Function result is
'(null)'
Jul 24 20:35:46 DEBUG[3217] pbx.c: Function result is
'BackGround'               
Jul 24 20:35:46 DEBUG[3217] pbx.c: Function result is
'supportmain'
Jul 24 20:35:46 DEBUG[3217] pbx.c: Function result is
'2007-07-24 20:35:21'        
Jul 24 20:35:46 DEBUG[3217] pbx.c: Function result is
'2007-07-24 20:35:21'      
Jul 24 20:35:46 DEBUG[3217] pbx.c: Function result is
'2007-07-24 20:35:46'
Jul 24 20:35:46 DEBUG[3217] pbx.c: Function result is
'25'
Jul 24 20:35:46 DEBUG[3217] pbx.c: Function result is
'25'
Jul 24 20:35:46 DEBUG[3217] pbx.c: Function result is
'ANSWERED'                 
Jul 24 20:35:46 DEBUG[3217] pbx.c: Function result is
'DOCUMENTATION'          
Jul 24 20:35:46 DEBUG[3217] pbx.c: Function result is
'(null)'
Jul 24 20:35:46 DEBUG[3217] pbx.c: Function result is
'1185266121.0'
Jul 24 20:35:46 DEBUG[3217] pbx.c: Function result is
'(null)'
Jul 24 20:35:46 VERBOSE[2946] logger.c:        >
EICONISDN#02: CAPI INFO 0x3490: Normal call clearing

Any advice appreciated.

Regards

Cameron


      ___________________________________________________________ 
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html 



More information about the asterisk-users mailing list