10-02-2015 12:27 PM - edited 03-17-2019 04:27 AM
Hi Guys
I have the follow problem:
PSTN----Cisco CUBE Sip Trunk--- CUCM----UCCX
When calls form PSTN there no audio from UCCX IVR. The calls remain for a moment and then are disconnected.
Please see the attach. with deb ccapi - deb ccsip message - deb ccsip calls and media.
Calling number is: 226861431
Called number is: 2450640
UCCX Trigger is : 1380
IP CUCM: 10.56.240.57
IP CUBE: 172.16.22.81
TIA
Miguel.
10-02-2015 03:55 PM
Hi can you try and enable mtp on the sip trunk, reset the trunk and then test again. Please send your sh run
10-02-2015 09:21 PM
Seems either MTP is already enabled or because of some other reason, CUCM is sending CUBE IP 172.16.22.81 in 'c' line under 200 OK SDP answer. If MTP wouldn't have been enabled, CUCM should have sent UCCX IP address in 'c' line under 200 OK SDP answer.
Along with what Ayodeji said, you should also share how your SIP Trunk and CTI Port configuration looks in CUCM.
Thanks
10-02-2015 10:34 PM
Vivek,
You are right, but this may not be because mtp is enabled on the sip trunk. It's most likely due to dtmf mismatch since uccx ports do not support rfc2833.
Best way to determine what's going on is to look at cucm logs..
Can you please send cucm logs for the period of your test
10-04-2015 07:36 PM
Hi,
what log you need especifically?
Thanks.
10-05-2015 01:55 AM
Hi,
We need cucm logs.. Please us the link below to collect the logs
https://supportforums.cisco.com/document/126666/collecting-cucm-traces-cucm-862-tac-sr
Inlcude the calling and called number and time of call..
Please open up the logs and ensure the trace for the call is present. If you have multiple nodes in your cluster collect the logs from all..
10-05-2015 04:58 PM
Hi, I attach you the requested file.
The calling number is 6861431. The MTP is already enabled.
Thanks for your help.
Regards,
10-05-2015 04:58 PM
Okay here is my observation from your logs..
1. +++ CUCM invokes MTP due to DTMF mismatch between CUBE and CTI Port_1383 +++
01593825.012 |11:00:33.280 |AppInfo |DET-MediaManager-(59743404)::isMTPNeededForMismatchOrConfig, MTPNeededDueToDTMFCapMismatch(2833/OOB) mtpinsertionReason=1 dtmfMTPSide=1
2. +++ CUCM allocates MTP for dtmf mismatch +++
MediaTerminationPointControl(833)::getResourcesAllocated -- DeviceName=MTP24E9B3C43B40 Ci=60677010 ResourceAllocated=1
3. +++ CUCM exchanges OLC and OLC ACK between CTI_Port and MTP +++
MediaTerminationPointControl(833)::star_StationOutputOpenReceiveChannel - TCPPid = [3.100.13.56447617] myIP: 0x511610ac (172.16.22.81) ConferenceID: 62714836, MediaPartyId: 65846813, msecPacketSize: 20 compressionType: 4
MXAgenaOpenLogicalChannel|connect_request8|StationCdpc(3,100,59,5440416)|StationD(3,100,58,414648)|2,200,13,61.4832679^10.56.240.60^CHILL_1383
4. +++ finally media transmission starts between MTP and CTI_port +++
MediaTerminationPointControl(833)::star_StationOutputStartMediaTransmission - TCPPid = [3.100.13.56447617] myIP: 0x511610ac (172.16.22.81)
01593981.002 |11:00:33.286 |AppInfo |MediaTerminationPointControl(833)::star_StationOutputStartMediaTransmission - ConferenceID: 62714836, MediaPartyId: 65846813, RemoteIpAddr: 0x3cf0380a (10.56.240.60) RemoteRtpPortNumber: 28552 msecPacketSize: 20 compressionType: 4
5. +++ Finally CUCM sends 200 OK with ip address of MTP for media +++
01594016.001 |11:00:33.299 |AppInfo |//SIP/SIPUdp/wait_SdlSPISignal: Outgoing SIP UDP message to 172.16.22.81:[5060]:
[929935070,NET]
SIP/2.0 200 OK
Via: SIP/2.0/UDP 172.16.22.81:5060;branch=z9hG4bK141D887
From: <sip:226861431@172.16.22.81>;tag=5C7391A0-143F
--
P-Asserted-Identity: <sip:1383@10.56.240.57>
Remote-Party-ID: <sip:1383@10.56.240.57>;party=called;screen=yes;privacy=off
Contact: <sip:1380@10.56.240.57:5060>
Content-Type: application/sdp
Content-Length: 240
v=0
o=CiscoSystemsCCM-SIP 269784370 1 IN IP4 10.56.240.57
s=SIP Call
c=IN IP4 172.16.22.81
b=TIAS:64000
b=AS:64
t=0 0
m=audio 32158 RTP/AVP 0 101
So based on this this is what your media flow should look like..
CTI_Port 1383---RTP-----MTP (CUBE)-------RTP------MTP(CUBE)
The first question to ask since you are not getting media is this..
Can the IP subnet of CTI_Port (10.56.240.60) reach the cube IP subnet ??
Is there any firewall between these two subnets?
10-07-2015 06:26 AM
The resources in the router are the problem (MTP and transcoder).
When we hang up the call, the resources are held in the router and don't close. We think that can be a ios Bug.
In show sccp all, there are many errors for MTP and Transcoder resources.
If we restart the router, the resources are closed and the calls work in the right way (audio and dtmf).
Thanks :)
10-07-2015 07:32 AM
Ok great. Glad you have figured it out..Don't forget to rate any useful posts :)
04-17-2023 01:36 AM
Thanks a lot !!
10-02-2015 10:50 PM
Vivek,
If you look at the logs closely, you will notice that the 200 OK sent to the ITSP doesn't include any dtmf attributes.
+++
Sent: SIP/2.0 200 OK Via: SIP/2.0/UDP x.x.x.x:5060;branch=z9hG4bKmur0uk00d051pr8me6p1.1 From: <sip:226861431@x.x.x.x:5060;user=phone>;tag=eh3co3hk-CC-27 To: <sip:2450640@172.16.22.81:5060;user=phone>;tag=4E0BD450-90B Date: Fri, 02 Oct 2015 18:49:37 GMT Call-ID: uckdugodlhleb3fmbmofpdu3bdtptbmh@SoftX3000 CSeq: 1 INVITE Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER Allow-Events: telephone-event Remote-Party-ID: <sip:1382@172.16.22.81>;party=called;screen=yes;privacy=off Contact: <sip:2450640@172.16.22.81:5060> Supported: replaces Supported: sdp-anat Server: Cisco-SIPGateway/IOS-15.2.4.M5 Supported: timer Content-Type: application/sdp Content-Disposition: session;handling=required Content-Length: 191 v=0 o=CiscoSystemsSIP-GW-UserAgent 5118 4846 IN IP4 172.16.22.81 s=SIP Call c=IN IP4 172.16.22.81 t=0 0 m=audio 30780 RTP/AVP 0 c=IN IP4 172.16.22.81 a=rtpmap:0 PCMU/8000 a=ptime:20
10-03-2015 02:35 AM
Yes Ayodeji, I noticed it now.
10-04-2015 07:58 AM
Hi Vivek,
Reset CTI ports connecting UCCX to CUCM
call should have been routed to UCCX but is diverted to gateway instead [ SPI ]
let me know if i am wrong
thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide