[asterisk-users] Inbound DAHDI Error

Thorsten Göllner tg at ovm-group.com
Wed Apr 30 03:45:06 CDT 2014


Hi,

it seems, that the caller hangs up immediatly after calling. Try to 
reproduce it by yourself. Dial the number (to reach your asterisk 
server) and hangup after ~ 0.5 sec (or whatever).

Best regards,
-Thorsten-

Am 30.04.2014 01:11, schrieb Bryce Lowe:
>
> Hello,
>
> I am trying to diagnose an intermittent error when a call comes in 
> over our PRI lines.
>
> The problem appears random, however I have feeling it has something to 
> do with the call volume, as the frequency increases with more calls on 
> the system.
>
> I am not an expert when it comes to reading the PRI Span Debug 
> statements but here is a call that had a problem and I bolded, 
> italicized, and underlined the part of the debug statement that looks 
> odd (listed under PRI Debug Output (failed call)).
>
>
> Any help is appreciated.
>
>
> Thanks,
>
> Bryce
>
> *Version(s):*
>
> **
>
> Asterisk 11.8.1, installed from the Digium YUM Repositories
>
> DAHDI Version: 2.9.0
>
> Digium Card: Wildcard TE235 (VPMOCT064)
>
> OS: CentOS 6.5
>
> *My Observations:*
>
> **
>
> When I have the problem, the only way I see that Asterisk received a 
> signal on my PRI lines was through the pri debug statements, I don't 
> see anything being hit in the dialplan (for instance the NoOp at the 
> start of my sub-dial-cudatel-extension sub context).  Is there another 
> tool I should be using to debug this issue?
>
> *PRI Debug Output (failed call):*
>
> **
>
> PRI Span: 1
>
> PRI Span: 1 < Protocol Discriminator: Q.931 (8)  len=73
>
> PRI Span: 1 < TEI=0 Call Ref: len= 2 (reference 23832/0x5D18) (Sent 
> from originator)
>
> PRI Span: 1 < Message Type: SETUP (5)
>
> PRI Span: 1 < [04 03 80 90 a2]
>
> PRI Span: 1 < Bearer Capability (len= 5) [ Ext: 1  Coding-Std: 0  Info 
> transfer capability: Speech (0)
>
> PRI Span: 1 < Ext: 1  Trans mode/rate: 64kbps, circuit-mode (16)
>
> PRI Span: 1 < User information layer 1: u-Law (34)
>
> PRI Span: 1 < [18 03 a1 83 81]
>
> PRI Span: 1 < Channel ID (len= 5) [ Ext: 1  IntID: Implicit  
> Other(PRI)  Spare: 0 Preferred  Dchan: 0
>
> PRI Span: 1 < ChanSel: As indicated in following octets
>
> PRI Span: 1 < Ext: 1  Coding: 0  Number Specified  Channel Type: 3
>
> PRI Span: 1 < Ext: 1  Channel: 1 Type: CPE]
>
> PRI Span: 1 < [1c 1d 9f 8b 01 00 a1 17 02 01 01 02 01 00 80 0f 4f 4d 
> 41 58 20 43 4f 52 50 20 4e 20 47 53 4d]
>
> PRI Span: 1 < Facility (len=31, codeset=0) [ 0x9F, 0x8B, 0x01, 0x00, 
> 0xA1, 0x17, 0x02, 0x01, 0x01, 0x02, 0x01, 0x00, 0x80, 0x0F, 
> '<source_caller_name>' ]
>
> PRI Span: 1 < [6c 0c 21 83 32 35 33 33 38 30 35 35 39 31]
>
> PRI Span: 1 < Calling Party Number (len=14) [ Ext: 0  TON: National 
> Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
>
> PRI Span: 1 < Presentation: Presentation allowed, Network provided (3) 
> '<calling_caller_id>' ]
>
> PRI Span: 1 < [70 0b a1 32 35 33 38 37 32 32 33 30 30]
>
> PRI Span: 1 < Called Party Number (len=13) [ Ext: 1  TON: National 
> Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) 
> '<dest_number>' ]
>
> PRI Span: 1 -- Making new call for cref 23832
>
> PRI Span: 1 Received message for call 0x7f7a900012f0 on link 0x1a3cf70 
> TEI/SAPI 0/0
>
> PRI Span: 1 -- Processing Q.931 Call Setup
>
> PRI Span: 1 -- Processing IE 4 (cs0, Bearer Capability)
>
> PRI Span: 1 -- Processing IE 24 (cs0, Channel ID)
>
> PRI Span: 1 -- Processing IE 28 (cs0, Facility)
>
> PRI Span: 1 -- Processing IE 108 (cs0, Calling Party Number)
>
> PRI Span: 1 -- Processing IE 112 (cs0, Called Party Number)
>
> PRI Span: 1 -- Delayed processing IE 28 (cs0, Facility)
>
> PRI Span: 1 ASN.1 dump
>
> PRI Span: 1 Context Specific [11 0x0B] <8B> Len:1 <01>
>
> PRI Span: 1 <00> - "~"
>
> PRI Span: 1 Context Specific/C [1 0x01] <A1> Len:23 <17>
>
> PRI Span: 1 Integer(2 0x02) <02> Len:1 <01>
>
> PRI Span: 1       <01> - "~"
>
> PRI Span: 1 Integer(2 0x02) <02> Len:1 <01>
>
> PRI Span: 1       <00> - "~"
>
> PRI Span: 1 Context Specific [0 0x00] <80> Len:15 <0F>
>
> PRI Span: 1       <4F 4D 41 58 20 43 4F 52-50 20 4E 20 47 53 4D> - 
> "<source_caller_name>"
>
> PRI Span: 1 ASN.1 end
>
> PRI Span: 1 interpretation Context Specific [11 0x0B] = 0 0x0000
>
> PRI Span: 1 INVOKE Component Context Specific/C [1 0x01]
>
> PRI Span: 1 invokeId Integer(2 0x02) = 1 0x0001
>
> PRI Span: 1 operationValue Integer(2 0x02) = 0 0x0000
>
> PRI Span: 1 operationValue = ROSE_QSIG_CallingName
>
> PRI Span: 1 callingName Name
>
> PRI Span: 1 namePresentationAllowedSimple Context Specific [0 0x00] =
>
> PRI Span: 1 <4F 4D 41 58 20 43 4F 52-50 20 4E 20 47 53 4D> - 
> "<source_caller_name>"
>
> PRI Span: 1 q931.c:8646 post_handle_q931_message: Call 23832 enters 
> state 6 (Call Present).  Hold state: Idle
>
> Span 1: Processing event PRI_EVENT_RING(5)
>
> */_PRI Span: 1 q931.c:7135 q931_hangup: Hangup other cref:23832_/*
>
> */_PRI Span: 1 q931.c:6892 __q931_hangup: ourstate Call Present, 
> peerstate Call Initiated, hold-state Idle_/*
>
> */_PRI Span: 1 q931.c:6081 q931_disconnect: Call 23832 enters state 11 
> (Disconnect Request).  Hold state: Idle_/*
>
> PRI Span: 1
>
> PRI Span: 1 < Protocol Discriminator: Q.931 (8)  len=73
>
> PRI Span: 1 < TEI=0 Call Ref: len= 2 (reference 23832/0x5D18) (Sent 
> from originator)
>
> PRI Span: 1 < Message Type: SETUP (5)
>
> PRI Span: 1 < [04 03 80 90 a2]
>
> PRI Span: 1 < Bearer Capability (len= 5) [ Ext: 1  Coding-Std: 0  Info 
> transfer capability: Speech (0)
>
> PRI Span: 1 < Ext: 1  Trans mode/rate: 64kbps, circuit-mode (16)
>
> PRI Span: 1 <                           User information layer 1: 
> u-Law (34)
>
> PRI Span: 1 < [18 03 a1 83 81]
>
> PRI Span: 1 < Channel ID (len= 5) [ Ext: 1  IntID: Implicit  
> Other(PRI)  Spare: 0 Preferred  Dchan: 0
>
> PRI Span: 1 < ChanSel: As indicated in following octets
>
> PRI Span: 1 < Ext: 1  Coding: 0  Number Specified  Channel Type: 3
>
> PRI Span: 1 < Ext: 1  Channel: 1 Type: CPE]
>
> PRI Span: 1 < [1c 1d 9f 8b 01 00 a1 17 02 01 01 02 01 00 80 0f 4f 4d 
> 41 58 20 43 4f 52 50 20 4e 20 47 53 4d]
>
> PRI Span: 1 < Facility (len=31, codeset=0) [ 0x9F, 0x8B, 0x01, 0x00, 
> 0xA1, 0x17, 0x02, 0x01, 0x01, 0x02, 0x01, 0x00, 0x80, 0x0F, 
> '<source_caller_name>' ]
>
> PRI Span: 1 < [6c 0c 21 83 32 35 33 33 38 30 35 35 39 31]
>
> PRI Span: 1 < Calling Party Number (len=14) [ Ext: 0  TON: National 
> Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
>
> PRI Span: 1 < Presentation: Presentation allowed, Network provided (3) 
> '<calling_caller_id>' ]
>
> PRI Span: 1 < [70 0b a1 32 35 33 38 37 32 32 33 30 30]
>
> PRI Span: 1 < Called Party Number (len=13) [ Ext: 1  TON: National 
> Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) 
> '<dest_number>' ]
>
> PRI Span: 1 Received message for call 0x7f7a900012f0 on link 0x1a3cf70 
> TEI/SAPI 0/0
>
> PRI Span: 1 -- Processing Q.931 Call Setup
>
> PRI Span: 1 -- Processing IE 4 (cs0, Bearer Capability)
>
> PRI Span: 1 -- Processing IE 24 (cs0, Channel ID)
>
> PRI Span: 1 -- Processing IE 28 (cs0, Facility)
>
> PRI Span: 1 -- Processing IE 108 (cs0, Calling Party Number)
>
> PRI Span: 1 -- Processing IE 112 (cs0, Called Party Number)
>
> PRI Span: 1 -- Delayed processing IE 28 (cs0, Facility)
>
> PRI Span: 1 ASN.1 dump
>
> PRI Span: 1 Context Specific [11 0x0B] <8B> Len:1 <01>
>
> PRI Span: 1 <00> - "~"
>
> PRI Span: 1 Context Specific/C [1 0x01] <A1> Len:23 <17>
>
> PRI Span: 1 Integer(2 0x02) <02> Len:1 <01>
>
> PRI Span: 1       <01> - "~"
>
> PRI Span: 1 Integer(2 0x02) <02> Len:1 <01>
>
> PRI Span: 1       <00> - "~"
>
> PRI Span: 1  Context Specific [0 0x00] <80> Len:15 <0F>
>
> PRI Span: 1       <4F 4D 41 58 20 43 4F 52-50 20 4E 20 47 53 4D> - 
> "<source_caller_name>"
>
> PRI Span: 1 ASN.1 end
>
> PRI Span: 1 interpretation Context Specific [11 0x0B] = 0 0x0000
>
> PRI Span: 1 INVOKE Component Context Specific/C [1 0x01]
>
> PRI Span: 1 invokeId Integer(2 0x02) = 1 0x0001
>
> PRI Span: 1 operationValue Integer(2 0x02) = 0 0x0000
>
> PRI Span: 1 operationValue = ROSE_QSIG_CallingName
>
> PRI Span: 1 callingName Name
>
> PRI Span: 1 namePresentationAllowedSimple Context Specific [0 0x00] =
>
> PRI Span: 1 <4F 4D 41 58 20 43 4F 52-50 20 4E 20 47 53 4D> - 
> "<source_caller_name>"
>
> PRI Span: 1
>
> PRI Span: 1 < Protocol Discriminator: Q.931 (8)  len=9
>
> PRI Span: 1 < TEI=0 Call Ref: len= 2 (reference 23832/0x5D18) (Sent 
> from originator)
>
> PRI Span: 1 < Message Type: RELEASE COMPLETE (90)
>
> PRI Span: 1 < [08 02 82 92]
>
> PRI Span: 1 < Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard 
> (0)  Spare: 0  Location: Public network serving the local user (2)
>
> PRI Span: 1 < Ext: 1  Cause: No user responding (18), class = Normal 
> Event (1) ]
>
> PRI Span: 1 Received message for call 0x7f7a900012f0 on link 0x1a3cf70 
> TEI/SAPI 0/0
>
> PRI Span: 1 -- Processing IE 8 (cs0, Cause)
>
> PRI Span: 1 q931.c:8944 post_handle_q931_message: Call 23832 enters 
> state 0 (Null).  Hold state: Idle
>
> PRI Span: 1 q931.c:7135 q931_hangup: Hangup other cref:23832
>
> PRI Span: 1 q931.c:6892 __q931_hangup: ourstate Null, peerstate Null, 
> hold-state Idle
>
> PRI Span: 1 Destroying call 0x7f7a900012f0, ourstate Null, peerstate 
> Null, hold-state Idle
>
> *Below is my dahdi-channels.conf:*
>
> ; Span 1: WCTE2/0/1 "WCTE23X (PCI) Card 0 Span 1" (MASTER)
>
> group=0,11
>
> context=from-pstn
>
> switchtype = national
>
> signalling = pri_cpe
>
> channel => 1-23
>
> context = default
>
> group = 63
>
> ; Span 2: WCTE2/0/2 "WCTE23X (PCI) Card 0 Span 2"
>
> group=0,12
>
> context=from-pstn
>
> switchtype = national
>
> signalling = pri_cpe
>
> channel => 25-47
>
> context = default
>
> group = 63
>
> *Below is my chan_dahdi.conf:*
>
> ; chan_dahdi.conf Configuration File
>
> [trunkgroups]
>
> [channels]
>
> callerid=asreceived
>
> 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=1
>
> callgroup=1
>
> pickupgroup=1
>
> immediate=no
>
> #include /etc/asterisk/dahdi-channels.conf
>
> *Excerpt from extensions.conf (from-pstn is the context that calls 
> come in on):*
>
> ; calls coming in from the pstn
>
> [from-pstn]
>
> exten => _X.,1,GoSub(sub-dial-cudatel-extension,start,1(${EXTEN}))
>
> ; sends a call to cudatel
>
> [sub-dial-cudatel-extension]
>
> exten => start,1,NoOp(Forwarding Call for ${ARG1} from 
> ${CALLERID(num)} to CudaTel)
>
> same => n,Answer()
>
> same => n,Set(DialedExten=${FILTER(0-9, ${ARG1})})
>
> same => n,Dial(${INTERNALSIP}/${DialedExten})
>
> same => n,HangUp()
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140430/89539eed/attachment-0001.html>


More information about the asterisk-users mailing list