Re: [asterisk-users] Inbound DAHDI Error

2014-04-30 Thread Thorsten Göllner

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 0x

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 0x

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 

Re: [asterisk-users] Inbound DAHDI Error

2014-04-30 Thread Bryce Lowe
Thank you for your feedback.


The call that I attached was actually from me.  I get a message on my ATT
phone that says the wireless customer you...message 1 WA01ML.  It is
pretty hit or miss.


On Wed, Apr 30, 2014 at 1:45 AM, Thorsten Göllner t...@ovm-group.com wrote:

  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-

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

[asterisk-users] Inbound DAHDI Error

2014-04-29 Thread 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: 1ChanSel: As indicated in following
octets

PRI Span: 1Ext: 1  Coding: 0  Number Specified
Channel Type: 3

PRI Span: 1Ext: 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 0x

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 0x

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