We have the following weird issue.
When we call an unallocated number from asterisk through an E1/PRI
euroisdn, the call disconnect with cause 31 (unspecified), This produce
an Asterisk congestion message.
If the same E1/PRI trunk is now connected to a Nortel BCM400, the call
disconnect with cause 1 (unallocated number) which is correct, and the
telco play the message "the dialled number does not exist".
All other calls work fine so far.
Testing with  "priindication = outofband" and "priindication = inband"
give the same results.

Any pointer please?

Jorge Mendoza

Our information:
- OS Centos 5,  64 bits
- Asterisk 1.4.13
- Zaptel 1.4.6
- libpri 1.4.1
- Wanpipe-3.2.1 (Sangoma A104DX)

Attached are:
- zapata.conf
- zaptel.conf
- debug_invalid_20071204 (a call to a unallocated number)

 
T203 counter expired, sending RR and scheduling T203 again
Sending Receiver Ready (36)

> [ 00 01 01 49 ]

> Supervisory frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 036 P/F: 1
> 0 bytes of data
-- Restarting T203 counter

< [ 00 01 01 45 ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 034 P/F: 1
< 0 bytes of data
-- ACKing all packets from 33 to (but not including) 34
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
-- Got RR response to our frame
-- Restarting T203 counter
T203 counter expired, sending RR and scheduling T203 again
Sending Receiver Ready (36)

> [ 00 01 01 49 ]

> Supervisory frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 036 P/F: 1
> 0 bytes of data
-- Restarting T203 counter

< [ 00 01 01 45 ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 034 P/F: 1
< 0 bytes of data
-- ACKing all packets from 33 to (but not including) 34
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
-- Got RR response to our frame
-- Restarting T203 counter
T203 counter expired, sending RR and scheduling T203 again
Sending Receiver Ready (36)

> [ 00 01 01 49 ]

> Supervisory frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 036 P/F: 1
> 0 bytes of data
-- Restarting T203 counter

< [ 00 01 01 45 ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 034 P/F: 1
< 0 bytes of data
-- ACKing all packets from 33 to (but not including) 34
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
-- Got RR response to our frame
-- Restarting T203 counter
T203 counter expired, sending RR and scheduling T203 again
Sending Receiver Ready (36)

> [ 00 01 01 49 ]

> Supervisory frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 036 P/F: 1
> 0 bytes of data
-- Restarting T203 counter

< [ 00 01 01 45 ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 034 P/F: 1
< 0 bytes of data
-- ACKing all packets from 33 to (but not including) 34
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
-- Got RR response to our frame
-- Restarting T203 counter
-- Making new call for cr 32772

> [ 00 01 44 48 08 02 00 04 05 04 03 80 90 a3 18 03 a9 83 81 6c 06 21 80 31 30 
> 33 34 70 08 a1 34 32 38 37 30 35 36 a1 ]

> Informational frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> N(S): 034   0: 0
> N(R): 036   P: 0
> 34 bytes of data
-- Restarting T203 counter
Stopping T_203 timer
Starting T_200 timer
> Protocol Discriminator: Q.931 (8)  len=34
> Call Ref: len= 2 (reference 4/0x4) (Originator)
> Message type: SETUP (5)
> [04 03 80 90 a3]
> Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer capability: 
> Speech (0)
>                              Ext: 1  Trans mode/rate: 64kbps, circuit-mode 
> (16)
>                              Ext: 1  User information layer 1: A-Law (35)
> [18 03 a9 83 81]
> Channel ID (len= 5) [ Ext: 1  IntID: Implicit  PRI  Spare: 0  Exclusive  
> Dchan: 0
>                        ChanSel: Reserved
>                       Ext: 1  Coding: 0  Number Specified  Channel Type: 3
>                       Ext: 1  Channel: 1 ]
> [6c 06 21 80 31 30 33 34]
> Calling Number (len= 8) [ Ext: 0  TON: National Number (2)  NPI: 
> ISDN/Telephony Numbering Plan (E.164/E.163) (1)
>                           Presentation: Presentation permitted, user number 
> not screened (0)  '1034' ]
> [70 08 a1 34 32 38 37 30 35 36]
> Called Number (len=10) [ Ext: 1  TON: National Number (2)  NPI: 
> ISDN/Telephony Numbering Plan (E.164/E.163) (1)  '4287056' ]
> [a1]
> Sending Complete (len= 1)
q931.c:2879 q931_setup: call 32772 on channel 1 enters state 1 (Call Initiated)

< [ 00 01 01 46 ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 035 P/F: 0
< 0 bytes of data
-- ACKing all packets from 33 to (but not including) 35
-- ACKing packet 34, new txqueue is -1 (-1 means empty)
-- Since there was nothing left, stopping T200 counter
-- Nothing left, starting T203 counter
-- Restarting T203 counter

< [ 02 01 48 46 08 02 80 04 02 18 03 a9 83 81 ]

< Informational frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< N(S): 036   0: 0
< N(R): 035   P: 0
< 10 bytes of data
-- ACKing all packets from 34 to (but not including) 35
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
< Protocol Discriminator: Q.931 (8)  len=10
< Call Ref: len= 2 (reference 4/0x4) (Terminator)
< Message type: CALL PROCEEDING (2)
< [18 03 a9 83 81]
< Channel ID (len= 5) [ Ext: 1  IntID: Implicit  PRI  Spare: 0  Exclusive  
Dchan: 0
<                        ChanSel: Reserved
<                       Ext: 1  Coding: 0  Number Specified  Channel Type: 3
<                       Ext: 1  Channel: 1 ]
-- Processing IE 24 (cs0, Channel Identification)
q931.c:3426 q931_receive: call 32772 on channel 1 enters state 3 (Outgoing call 
 Proceeding)
Sending Receiver Ready (37)

> [ 02 01 01 4a ]

> Supervisory frame:
> SAPI: 00  C/R: 1 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 037 P/F: 0
> 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter

< [ 02 01 4a 46 08 02 80 04 45 08 02 84 9f 1e 02 82 88 ]

< Informational frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< N(S): 037   0: 0
< N(R): 035   P: 0
< 13 bytes of data
-- ACKing all packets from 34 to (but not including) 35
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
< Protocol Discriminator: Q.931 (8)  len=13
< Call Ref: len= 2 (reference 4/0x4) (Terminator)
< Message type: DISCONNECT (69)
< [08 02 84 9f]
< Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0  
Location: Public network serving the remote user (4)
<                  Ext: 1  Cause: Normal, unspecified (31), class = Normal 
Event (1) ]
< [1e 02 82 88]
< Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  0: 0  
Location: Public network serving the local user (2)
<                               Ext: 1  Progress Description: Inband 
information or appropriate pattern now available. (8) ]
-- Processing IE 8 (cs0, Cause)
-- Processing IE 30 (cs0, Progress Indicator)
q931.c:3561 q931_receive: call 32772 on channel 1 enters state 12 (Disconnect 
Indication)
Sending Receiver Ready (38)

> [ 02 01 01 4c ]

> Supervisory frame:
> SAPI: 00  C/R: 1 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 038 P/F: 0
> 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, 
peerstate Disconnect Request
q931.c:2715 q931_release: call 32772 on channel 1 enters state 19 (Release 
Request)

> [ 00 01 46 4c 08 02 00 04 4d 08 02 81 9f ]

> Informational frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> N(S): 035   0: 0
> N(R): 038   P: 0
> 9 bytes of data
-- Restarting T203 counter
Stopping T_203 timer
Starting T_200 timer
> Protocol Discriminator: Q.931 (8)  len=9
> Call Ref: len= 2 (reference 4/0x4) (Originator)
> Message type: RELEASE (77)
> [08 02 81 9f]
> Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0  
> Location: Private network serving the local user (1)
>                  Ext: 1  Cause: Normal, unspecified (31), class = Normal 
> Event (1) ]

< [ 00 01 01 48 ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 036 P/F: 0
< 0 bytes of data
-- ACKing all packets from 34 to (but not including) 36
-- ACKing packet 35, new txqueue is -1 (-1 means empty)
-- Since there was nothing left, stopping T200 counter
-- Nothing left, starting T203 counter
-- Restarting T203 counter

< [ 02 01 4c 48 08 02 80 04 5a ]

< Informational frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< N(S): 038   0: 0
< N(R): 036   P: 0
< 5 bytes of data
-- ACKing all packets from 35 to (but not including) 36
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
< Protocol Discriminator: Q.931 (8)  len=5
< Call Ref: len= 2 (reference 4/0x4) (Terminator)
< Message type: RELEASE COMPLETE (90)
q931.c:3501 q931_receive: call 32772 on channel 1 enters state 0 (Null)
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
Sending Receiver Ready (39)

> [ 02 01 01 4e ]

> Supervisory frame:
> SAPI: 00  C/R: 1 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 039 P/F: 0
> 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter
T203 counter expired, sending RR and scheduling T203 again
Sending Receiver Ready (39)

> [ 00 01 01 4f ]

> Supervisory frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 039 P/F: 1
> 0 bytes of data
-- Restarting T203 counter

< [ 00 01 01 49 ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 036 P/F: 1
< 0 bytes of data
-- ACKing all packets from 35 to (but not including) 36
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
-- Got RR response to our frame
-- Restarting T203 counter
T203 counter expired, sending RR and scheduling T203 again
Sending Receiver Ready (39)

> [ 00 01 01 4f ]

> Supervisory frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 039 P/F: 1
> 0 bytes of data
-- Restarting T203 counter

< [ 00 01 01 49 ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 036 P/F: 1
< 0 bytes of data
-- ACKing all packets from 35 to (but not including) 36
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
-- Got RR response to our frame
-- Restarting T203 counter
;autogenerated by /usr/local/sbin/config-zaptel  do not hand edit
;Zaptel Channels Configurations (zapata.conf)
;
;For detailed zapata options, view /etc/asterisk/zapata.conf.orig

[trunkgroups]

[channels]
language=es
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no

;Sangoma A104 port 1 [slot:4 bus:29 span: 1]
switchtype=euroisdn
;context=from-pstn
context=from-zaptel
group=0
signalling=pri_cpe
;signalling=pri_net
channel => 1-15,17-31

;Sangoma A104 port 2 [slot:4 bus:29 span: 2]
switchtype=euroisdn
;context=from-pstn
context=from-zaptel
group=0
signalling=pri_cpe
;signalling=pri_net
channel => 32-46,48-62

;;Sangoma A104 port 3 [slot:4 bus:29 span: 3]
;switchtype=euroisdn
;;context=from-pstn
;context=from-zaptel
;group=0
;signalling=pri_cpe
;;signalling=pri_net
;channel => 63-77,79-93

;;Sangoma A104 port 4 [slot:4 bus:29 span: 4]
;switchtype=euroisdn
;;context=from-pstn
;context=from-zaptel
;group=0
;;signalling=pri_cpe
;signalling=pri_net
;channel => 94-108,110-124

# Autogenerated by /usr/local/sbin/sangoma/setup-sangoma -- do not hand edit
# Zaptel Channels Configurations (zaptel.conf)
#
loadzone=us
defaultzone=us

#Sangoma A104 port 1 [slot:4 bus:29 span: 1]
span=1,1,0,ccs,hdb3,crc4
bchan=1-15,17-31
dchan=16

#Sangoma A104 port 2 [slot:4 bus:29 span: 2]
span=2,2,0,ccs,hdb3,crc4
bchan=32-46,48-62
dchan=47

#Sangoma A104 port 3 [slot:4 bus:29 span: 3]
#span=3,2,0,ccs,hdb3,crc4
#bchan=63-77,79-93
#dchan=78

#Sangoma A104 port 4 [slot:4 bus:29 span: 4]
#span=4,0,0,ccs,hdb3,crc4
#bchan=94-108,110-124
#dchan=109

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to