The issue is the call is coming IN on the E1… same as all other calls, but just some have this issue.
The call flow is:
PSTN -> E1 (PRI) -> Asterisk -> Internet (SIP) -> Cisco 5300 -> T1 (PRI) - > Switch
Here’s the first part of a SIP Debug on the Cisco side:
1d06h: Received:
INVITE sip:55112200@198.67.xx.xx SIP/2.0
Via: SIP/2.0/UDP 200.186.xxx.xx:5060;branch=z9hG4bK667c5bca;rport
From: “0115505xxxx” sip:0115505xxxx@200.186.xxx.xx;tag=as44005445
To: sip:55112200@198.67.xx.xx
Contact: sip:0115505xxxx@200.186.xxx.xx
Call-ID: 117ec3634fdbd3e0343f5b8e5acb382b@200.186.xxx.xx
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Thu, 26 Oct 2006 20:05:28 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Type: application/sdp
Content-Length: 219
v=0
o=root 11920 11920 IN IP4 200.186.xxx.xx
s=session
c=IN IP4 200.186.xxx.xx
t=0 0
m=audio 14928 RTP/AVP 3 101
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
1d06h: HandleUdpSocketReads :Msg enqueued for SPI with IPaddr: 200.186.xxx.xx:5060
1d06h: CCSIP-SPI-CONTROL: sipSPISipIncomingMsg
1d06h: 0x62B74CB8 : State change from (STATE_NONE, SUBSTATE_NONE) to (STATE_IDLE, SUBSTATE_NONE)
1d06h: CCSIP-SPI-CONTROL: act_idle_new_message
1d06h: sip_stats_method
1d06h: CCSIP-SPI-CONTROL: sact_idle_new_message_invite
1d06h: CCSIP-SPI-CONTROL: sipSPIUASSessionTimer
1d06h: ****Adding to UAS Request table. ccb=0x62B74CB8 key=117ec3634fdbd3e0343f5b8e5acb382b@200.186.xxx.xx55112200
1d06h: CCSIP-SPI-CONTROL: sipSPIMatchSrcIpGroup
1d06h: CCSIP-SPI-CONTROL: sipSPIMatchSrcIpGroup: Match not found on carrier id
1d06h: CCSIP-SPI-CONTROL: sipSPIMatchSrcIpGroup: Match not found on Incoming called number: 55112200
1d06h: CCSIP-SPI-CONTROL: sipSPIMatchSrcIpGroup: Match not found on destination pattern: 0115505xxxx
1d06h: CCSIP-SPI-CONTROL: sipSPIContinueNewMsgInvite
1d06h: sipSPIGetGtdBody: No valid GTD body found.
1d06h: UpdateSIPQ931Params: Calling Oct3: 0x00
1d06h: UpdateSIPQ931Params: Calling Oct3a: 0x80
1d06h: UpdateSIPQ931Params: Called Oct3: 0x80
1d06h: Received ;screen= ;privacy= -> Setting Octet3A=0x80
1d06h: sipSPIContinueNewMsgInvite:Not Using Voice Class Codec
1d06h: sipSPICopyPeerDataToCCB: From CLI: Modem NSE payload = 100, Passthrough = 0,Modem relay = 0, Gw-Xid = 1
SPRT latency 200, SPRT Retries = 12, Dict Size = 1024
String Len = 32, Compress dir = 3
1d06h: sipSPIHandleInviteMedia
1d06h: sipSPIDoMediaNegotiation: number of m lines is 1
1d06h: Dynamic Payload :101 in SDP Body
1d06h: sipSPIDoAudioNegotiation: No matching voice codec found for m-line 1
1d06h: sipSPIDoDTMFRelayNegotiation: m-line index 1
1d06h: sipSPIDoDTMFRelayNegotiation: Requested DTMF-RELAY option(s) not found in Preferred DTMF-RELAY option list!
1d06h: sipSPIStreamTypeAndDtmfRelay: ERROR - no voice codec and no dtmf-relay match
1d06h: sipSPIStreamTypeAndDtmfRelay: DTMF Relay mode : Inband Voice
1d06h: sipSPIGetSDPDirectionAttribute: No direction attribute present or multiple direction attributes that can’t be handled for m-line:1 and num-a-lines:0
1d06h: sipSPIDoAudioNegotiation: Media negotiation failed for m-line 1
1d06h: sipSPIDoMediaNegotiation: ERROR - no valid fax or audio streams
1d06h: sipSPIHandleInviteMedia: Media Negotiation failed for an incoming call - Sending 488
1d06h: CCSIP-SPI-CONTROL: sipRequestError
1d06h: CCSIP-SPI-CONTROL: sipSPISendInviteResponse
1d06h: Queued event from SIP SPI : SIPSPI_EV_SEND_MESSAGE