cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2683
Views
0
Helpful
2
Replies

ITPS---SIP---CME---SIP---CUCM Error Not Acceptable Media

jc.saavedra
Level 1
Level 1

Hi Everybody,

 

I Have an issue with a ITSP SIP TRUNK, the issue apparently is "SIP/2.0 488 Not Acceptable Media".

 

I Tried several things already, I Don´t know how to resolve this issue.

 

The outbound calls is already OK, the problem is with the inbound calls: from the ITSP to the CUCM.

 

I Have this topology to the ITSP SIP TRUNK:

 

ITSP --- sip --- CME --- sip --- CUCM

 

The configuration of CME is:

dial-peer voice 67 voip
 description ** SIP trunk ITSP**
 destination-pattern 591[67].......
 session protocol sipv2
 session target ipv4:172.17.0.13
 session transport udp
 voice-class sip early-offer forced
 no dtmf-interworking
 codec g711ulaw

!

dial-peer voice 68 voip
 description ** SIP trunk CUCM**
 answer-address .T
 session protocol sipv2
 session target ipv4:172.16.6.3
 voice-class sip early-offer forced
 codec g711ulaw

!

sip-ua
 disable-early-media 180
 connection-reuse

!

voice service voip
 ip address trusted list
  ipv4 0.0.0.0
  ipv4 0.0.0.0 0.0.0.0
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 allow-connections sip to sip
 no supplementary-service h450.7
 no supplementary-service sip moved-temporarily
 no supplementary-service sip refer
 fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
  sip
  bind control source-interface GigabitEthernet0/1.5
  bind media source-interface GigabitEthernet0/1.5
  registrar server
  early-offer forced

!

 

On the CUCM Side:

Media Termination Point (checked)
Disable Early Media on 180 (unchecked)
Require SDP Inactive Exchange for Mid-Call Media Change(checked)
Early Offer support for voice and video calls (checked)
Send send-receive SDP in mid-call INVITE(checked)

 

The result of "debug ccsip messages" and "debug dialpeer voice inout" is:

001062: 03:31:03: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:69200020@172.16.10.2:5060;user=phone SIP/2.0
Via: SIP/2.0/UDP 172.17.0.11:5060;branch=z9hG4bKi2mhl410do70mrc4s141.1
Call-ID: bb1rkaxkjaxx4vkv3y1u1y3xxqa2k12b@10.18.5.64
From: "70965999"<sip:70965999@172.17.0.11;transport=udp;user=phone>;tag=2u2uavrx-CC-1013
To: "69200020"<sip:69200020@172.16.10.2;transport=udp;user=phone>
CSeq: 1 INVITE
Max-Forwards: 69
Contact: <sip:172.17.0.11:5060;transport=udp>
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,INFO,PRACK,NOTIFY,MESSAGE,UPDATE
P-Asserted-Identity: <tel:70965999>
Supported: 100rel,histinfo,precondition
P-Early-Media: supported
Content-Length: 362
Content-Type: application/sdp

v=0
o=HuaweiSoftx3000 1102026905 1102026906 IN IP4 172.17.0.11
s=SipCall
c=IN IP4 172.17.0.11
t=0 0
m=audio 10386 RTP/AVP 8 18 116
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:116 telephone-event/8000
a=ptime:5
a=curr:qos local sendrecv
a=curr:qos remote none
a=des:qos mandatory local sendrecv
a=des:qos optional remote sendrecv
a=3gOoBTC

001063: 03:31:03: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
   Calling Number=69200020, Called Number=69200020, Peer Info Type=DIALPEER_INFO_SPEECH
001064: 03:31:03: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
   Match Rule=DP_MATCH_DEST; Called Number=69200020
001065: 03:31:03: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
   No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
001066: 03:31:03: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
   dialstring=69200020, saf_enabled=1, saf_dndb_lookup=1, dp_result=-1
001067: 03:31:03: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
   Result=NO_MATCH(-1)
001068: 03:31:03: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Calling Number=70965999, Called Number=, Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
001069: 03:31:03: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Result=Success(0) after DP_MATCH_ANSWER; Incoming Dial-peer=68
001070: 03:31:03: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
001071: 03:31:03: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Calling Number=70965999, Called Number=, Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
001072: 03:31:03: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
   Result=Success(0) after DP_MATCH_ANSWER; Incoming Dial-peer=68
001073: 03:31:03: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
001074: 03:31:03: //-1/CD12136099D5/DPM/dpAssociateIncomingPeerCore:
   Calling Number=70965999, Called Number=69200020, Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH
001075: 03:31:03: //-1/CD12136099D5/DPM/dpAssociateIncomingPeerCore:
   Result=Success(0) after DP_MATCH_ANSWER; Incoming Dial-peer=68
001076: 03:31:03: //-1/CD12136099D5/DPM/dpMatchSafModulePlugin:
   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
SIP: Trying to parse unsupported attribute at media level
001077: 03:31:03: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 488 Not Acceptable Media
Via: SIP/2.0/UDP 172.17.0.11:5060;branch=z9hG4bKi2mhl410do70mrc4s141.1
From: "70965999"<sip:70965999@172.17.0.11;transport=udp;user=phone>;tag=2u2uavrx-CC-1013
To: "69200020"<sip:69200020@172.16.10.2;transport=udp;user=phone>;tag=C139A0-1755
Date: Thu, 06 Nov 2014 13:01:04 GMT
Call-ID: bb1rkaxkjaxx4vkv3y1u1y3xxqa2k12b@10.18.5.64
CSeq: 1 INVITE
Allow-Events: telephone-event
Reason: Q.850;cause=65
Server: Cisco-SIPGateway/IOS-15.3.3.M2
Content-Length: 0


001078: 03:31:03: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:

GatewayTelf_JD#ACK sip:69200020@172.16.10.2:5060;user=phone SIP/2.0
Via: SIP/2.0/UDP 172.17.0.11:5060;branch=z9hG4bKi2mhl410do70mrc4s141.1
CSeq: 1 ACK
Call-ID: bb1rkaxkjaxx4vkv3y1u1y3xxqa2k12b@10.18.5.64
From: "70965999"<sip:70965999@172.17.0.11;transport=udp;user=phone>;tag=2u2uavrx-CC-1013
To: "69200020"<sip:69200020@172.16.10.2;transport=udp;user=phone>;tag=C139A0-1755
Max-Forwards: 69
Content-Length: 0

 

Some light at the end of of the tunnel?

Thanks in advance!!

 

1 Accepted Solution

Accepted Solutions

Hi,

 

can you collect debug voice ccapi inout & debug ccsip message from the CME and attach the logs here please?

 

your provider is sending G711 A Law codec in the INVITE message, but you have configured G711 U Law in the dial-peers.

 

can you try changing it G711 A Law in the dial-peers and check? Also make sure you have MTPs in the MRGL applied to CUCM SIP Trunk.

//Suresh Please rate all the useful posts.

View solution in original post

2 Replies 2

Hi,

 

can you collect debug voice ccapi inout & debug ccsip message from the CME and attach the logs here please?

 

your provider is sending G711 A Law codec in the INVITE message, but you have configured G711 U Law in the dial-peers.

 

can you try changing it G711 A Law in the dial-peers and check? Also make sure you have MTPs in the MRGL applied to CUCM SIP Trunk.

//Suresh Please rate all the useful posts.

Thanks a lot Suresh!!!

 

The issue was generated by codec mismatch ITSP g711a - CME g711u - CUCM g711u and I Don't have configured a destination-pattern to inbound.

 

THANKS!

 

The final config is:

 

dial-peer voice 67 voip
 description ** SIP trunk ITSP**
 destination-pattern 591[67].......
 no  translation-profile incoming 1
 session protocol sipv2
 session target ipv4:172.17.0.#
 session transport udp
 voice-class sip early-offer forced
 dtmf-relay sip-notify
 no dtmf-interworking
 codec g711alaw
!
dial-peer voice 68 voip
 description ** SIP trunk CUCM**
 answer-address .T
 destination-pattern 752#####
 session protocol sipv2
 session target ipv4:172.16.6.#
 voice-class sip early-offer forced
 dtmf-relay sip-notify
 codec g711alaw
!