I have Asterisk running in between a legacy PBX and the phone company and it has been running flawlessly for months (probably since my last post here?).
Now, suddenly this afternoon we started receiving calls where we could not hear the caller, on random incoming calls. Then, we noticed that it is happening on some outgoing calls. Odd thing is that it seems to be with specific numbers.
I have power cycled the Asterisk server. I have not made any configuration changes recently, however I did do a yum update twice this week - one of which was today and after the problem occurred.
Running on latest CentOs 5.x. I don’t know how to read pri debugging files, but am posting the debug for the span that connects Asterisk to the telco. This is a call I made where I hear nothing but air. Callers who have experienced this tell us that they can hear us.
I am at a loss of what to do next.
PRI debug:
[code]-- Making new call for cref 32801
DL-DATA request
Protocol Discriminator: Q.931 (8) len=41
TEI=0 Call Ref: len= 2 (reference 33/0x21) (Sent from originator)
Message Type: SETUP (5)
TEI=0 Transmitting N(S)=2, window is open V(A)=2 K=7
Protocol Discriminator: Q.931 (8) len=41
TEI=0 Call Ref: len= 2 (reference 33/0x21) (Sent from originator)
Message Type: SETUP (5)
[04 03 90 90 a2]
Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: 3.1kHz audio (16)
Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
User information layer 1: u-Law (34)
[18 03 a1 83 81]
Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0 Preferred Dchan: 0
ChanSel: As indicated in following octets
Ext: 1 Coding: 0 Number Specified Channel Type: 3
Ext: 1 Channel: 1 Type: CPE]
[1e 02 80 83]
Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0)
Ext: 1 Progress Description: Calling equipment is non-ISDN. (3) ]
[6c 06 21 81 34 38 30 37]
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 passed network screening (1) ‘4807’ ]
[70 0c 80 31 38 30 30 32 33 36 35 30 31 30]
Called Number (len=14) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) ‘18002365010’ ]
q931.c:5039 q931_setup: Call 32801 enters state 1 (Call Initiated). Hold state: Idle
< Protocol Discriminator: Q.931 (8) len=12
< TEI=0 Call Ref: len= 2 (reference 33/0x21) (Sent to originator)
< Message Type: STATUS (125)
< [08 02 82 e4]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Public network serving the local user (2)
< Ext: 1 Cause: Invalid information element contents (100), class = Protocol Error (e.g. unknown message) (6) ]
< [14 01 01]
< Call State (len= 3) [ Ext: 0 Coding: CCITT (ITU) standard (0) Call state: Call Initiated (1)
Received message for call 0x19a8f840 on 0x1943a780 TEI/SAPI 0/0, call->pri is 0x1943a780 TEI/SAPI 0/0
– Processing IE 8 (cs0, Cause)
– Processing IE 20 (cs0, Call State)
< Protocol Discriminator: Q.931 (8) len=10
< TEI=0 Call Ref: len= 2 (reference 33/0x21) (Sent to originator)
< Message Type: CALL PROCEEDING (2)
< [18 03 a9 83 81]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0 Exclusive Dchan: 0
< ChanSel: As indicated in following octets
< Ext: 1 Coding: 0 Number Specified Channel Type: 3
< Ext: 1 Channel: 1 Type: CPE]
Received message for call 0x19a8f840 on 0x1943a780 TEI/SAPI 0/0, call->pri is 0x1943a780 TEI/SAPI 0/0
– Processing IE 24 (cs0, Channel Identification)
q931.c:7104 post_handle_q931_message: Call 32801 enters state 3 (Outgoing Call Proceeding). Hold state: Idle
< Protocol Discriminator: Q.931 (8) len=9
< TEI=0 Call Ref: len= 2 (reference 33/0x21) (Sent to originator)
< Message Type: ALERTING (1)
< [1e 02 84 88]
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the remote user (4)
< Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ]
Received message for call 0x19a8f840 on 0x1943a780 TEI/SAPI 0/0, call->pri is 0x1943a780 TEI/SAPI 0/0
– Processing IE 30 (cs0, Progress Indicator)
q931.c:6983 post_handle_q931_message: Call 32801 enters state 4 (Call Delivered). Hold state: Idle
< Protocol Discriminator: Q.931 (8) len=5
< TEI=0 Call Ref: len= 2 (reference 33/0x21) (Sent to originator)
< Message Type: CONNECT (7)
Received message for call 0x19a8f840 on 0x1943a780 TEI/SAPI 0/0, call->pri is 0x1943a780 TEI/SAPI 0/0
q931.c:7025 post_handle_q931_message: Call 32801 enters state 10 (Active). Hold state: Idle
DL-DATA request
Protocol Discriminator: Q.931 (8) len=5
TEI=0 Call Ref: len= 2 (reference 33/0x21) (Sent from originator)
Message Type: CONNECT ACKNOWLEDGE (15)
TEI=0 Transmitting N(S)=3, window is open V(A)=3 K=7
Protocol Discriminator: Q.931 (8) len=5
TEI=0 Call Ref: len= 2 (reference 33/0x21) (Sent from originator)
Message Type: CONNECT ACKNOWLEDGE (15)
q931_hangup: other hangup
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Active, peerstate Connect Request, hold-state Idle
q931.c:4845 q931_disconnect: Call 32801 enters state 11 (Disconnect Request). Hold state: Idle
DL-DATA request
Protocol Discriminator: Q.931 (8) len=9
TEI=0 Call Ref: len= 2 (reference 33/0x21) (Sent from originator)
Message Type: DISCONNECT (69)
TEI=0 Transmitting N(S)=4, window is open V(A)=4 K=7
Protocol Discriminator: Q.931 (8) len=9
TEI=0 Call Ref: len= 2 (reference 33/0x21) (Sent from originator)
Message Type: DISCONNECT (69)
[08 02 81 90]
Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
< Protocol Discriminator: Q.931 (8) len=5
< TEI=0 Call Ref: len= 2 (reference 33/0x21) (Sent to originator)
< Message Type: RELEASE (77)
Received message for call 0x19a8f840 on 0x1943a780 TEI/SAPI 0/0, call->pri is 0x1943a780 TEI/SAPI 0/0
q931.c:7237 post_handle_q931_message: Call 32801 enters state 0 (Null). Hold state: Idle
q931_hangup: other hangup
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Release Request, hold-state Idle
DL-DATA request
Protocol Discriminator: Q.931 (8) len=9
TEI=0 Call Ref: len= 2 (reference 33/0x21) (Sent from originator)
Message Type: RELEASE COMPLETE (90)
TEI=0 Transmitting N(S)=5, window is open V(A)=5 K=7
Protocol Discriminator: Q.931 (8) len=9
TEI=0 Call Ref: len= 2 (reference 33/0x21) (Sent from originator)
Message Type: RELEASE COMPLETE (90)
[08 02 81 90]
Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
q931_hangup: other hangup
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null, hold-state Idle
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null, hold-state Idle
[/code]
Thanks.