cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1333
Views
0
Helpful
12
Replies

SIP ITSP dtmf is not working

asherif82
Level 1
Level 1

We have that Scenario when trying to call Unity Connection, Cisco WebEx or any service that requires DTMF ,it does not sense the digits. the call flow is as follow:

 

SIP ISP-->CUBE (Inbound Dial-peer)--->CUBE(outbound Dial-peer)---->Unified CM

 

I have attached the configuration as well as the debug ccsip message .As far as I can see the SIP is sending dtmf 96 rtp-nte however the call manager is responding with dtmf 101 rtp-nte. I tried to configure  "rtp payload-type cisco-codec-fax-ind 102" and  "rtp payload-type nte 96" under dial-peers inbound and outbound but with no luck. Also,I tried on inbound to be dtmf 96 and on outbound to be 101 hardcoded but with no hope.

So guys, what do I Miss here?

 

12 Replies 12

Hi,

 

It sounds to me that you are using SCCP integration with applications like cuc while you are using RTP-NTE which won't work. 

 

In the dialpeer facing cucm change dtmf relay to SIP notify.

 

The second option is to deploy MTP which will handle the translation of DTMF RTP.

 

I suggest to try SIP notify for simplicity 

I tired a combination to add an MTP on SIP trunk and also deployed dtmf-relay sip-notify but with no luck.

The strange thing is that I'm adding what it looks like in the debug which is nte 96 but it refuses to accept it.

Any ideas guys?

 

Are you sure that the call is matching the inbound dial peer you think it is?

I had a similar issue and it turned out that the inbound call leg was matching the default dial peer rather than the one I assumed it was.

Hi,

 

Well I'm matching dial-peer 2 for incoming and dial-peer 4 for outgoing,I don't think I'm matching dial-peer 0.

 

I have attached the debug voip dialpeer and show call active voice br

Hi,

 

Your call is using G729r8 but your MTP is configure for G711ulaw. Please correct this config and test again.

dspfarm profile 3 mtp  
 codec g729r8

If didn't working share the output of show call active voice br, show sccp and show sccp conn.

Hi,

 

I have changed dsp profile 3 as you mentioned above and made sure it registered to the Unified CM but it did not work.

below is the show commands :

 

#show call active voice brief
<ID>: <CallID> <start>ms.<index> (<start>) +<connect> pid:<peer_id> <dir> <addr> <state>
  dur hh:mm:ss tx:<packets>/<bytes> rx:<packets>/<bytes> dscp:<packets violation> media:<packets violation> audio tos:<audio tos value> video tos:<video tos value>
 IP <ip>:<udp> rtt:<time>ms pl:<play>/<gap>ms lost:<lost>/<early>/<late>
  delay:<last>/<min>/<max>ms <codec> <textrelay> <transcoded
 
 media inactive detected:<y/n> media cntrl rcvd:<y/n> timestamp:<time>
 
 long duration call detected:<y/n> long duration call duration :<sec> timestamp:<time>
 LostPacketRate:<%> OutOfOrderRate:<%>
  MODEMPASS <method> buf:<fills>/<drains> loss <overall%> <multipkt>/<corrected>
   last <buf event time>s dur:<Min>/<Max>s
 FR <protocol> [int dlci cid] vad:<y/n> dtmf:<y/n> seq:<y/n>
  <codec> (payload size)
 ATM <protocol> [int vpi/vci cid] vad:<y/n> dtmf:<y/n> seq:<y/n>
  <codec> (payload size)
 Tele <int> (callID) [channel_id] tx:<tot>/<v>/<fax>ms <codec> noise:<l> acom:<l> i/o:<l>/<l> dBm
  MODEMRELAY info:<rcvd>/<sent>/<resent> xid:<rcvd>/<sent> total:<rcvd>/<sent>/<drops>
         speeds(bps): local <rx>/<tx> remote <rx>/<tx>
 Proxy <ip>:<audio udp>,<video udp>,<tcp0>,<tcp1>,<tcp2>,<tcp3> endpt: <type>/<manf>
 bw: <req>/<act> codec: <audio>/<video>
  tx: <audio pkts>/<audio bytes>,<video pkts>/<video bytes>,<t120 pkts>/<t120 bytes>
 rx: <audio pkts>/<audio bytes>,<video pkts>/<video bytes>,<t120 pkts>/<t120 bytes>
 


Telephony call-legs: 0
SIP call-legs: 4
H323 call-legs: 0
Call agent controlled call-legs: 0
SCCP call-legs: 0
Multicast call-legs: 0
Total call-legs: 4
0    : 79509 1194320720ms.1 (06:36:37.448 UTC Tue Sep 8 2015) +-1 pid:4 Answer 10060 connecting
 dur 00:00:00 tx:0/0 rx:0/0 dscp:0 media:0 audio tos:0xB8 video tos:0x0
 IP 10.165.41.45:19466 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g729r8 TextRelay: off Transcoded: No
 media inactive detected:n media contrl rcvd:n/a timestamp:n/a
 long duration call detected:n long duration call duration:n/a timestamp:n/a
 LostPacketRate:0.00 OutOfOrderRate:0.00

0    : 79510 1194320730ms.1 (06:36:37.458 UTC Tue Sep 8 2015) +-1 pid:14 Originate 0548060821 connected
 dur 00:00:00 tx:0/0 rx:2/40 dscp:0 media:0 audio tos:0xB8 video tos:0x0
 IP 94.77.248.70:28338 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g729r8 TextRelay: off Transcoded: No
 media inactive detected:n media contrl rcvd:n/a timestamp:n/a
 long duration call detected:n long duration call duration:n/a timestamp:n/a
 LostPacketRate:0.00 OutOfOrderRate:0.00

13FD : 79513 1194337390ms.1 (06:36:54.118 UTC Tue Sep 8 2015) +130 pid:2 Answer 0555189574 active
 dur 00:00:07 tx:0/0 rx:0/0 dscp:0 media:0 audio tos:0xB8 video tos:0x0
 IP 94.77.248.70:29970 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g711alaw TextRelay: off Transcoded: No
 media inactive detected:n media contrl rcvd:n/a timestamp:n/a
 long duration call detected:n long duration call duration:n/a timestamp:n/a
 LostPacketRate:0.00 OutOfOrderRate:0.00

13FD : 79514 1194337400ms.1 (06:36:54.128 UTC Tue Sep 8 2015) +110 pid:4 Originate 88200 active
 dur 00:00:07 tx:0/0 rx:0/0 dscp:0 media:0 audio tos:0xB8 video tos:0x0
 IP 10.165.192.14:18184 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g711alaw TextRelay: off Transcoded: No
 media inactive detected:n media contrl rcvd:n/a timestamp:n/a
 long duration call detected:n long duration call duration:n/a timestamp:n/a
 LostPacketRate:0.00 OutOfOrderRate:0.00


Telephony call-legs: 0
SIP call-legs: 4
H323 call-legs: 0
Call agent controlled call-legs: 0
SCCP call-legs: 0
Multicast call-legs: 0
Total call-legs: 4

 

show sccp connections       

Total number of active session(s) 0, and connection(s) 0

 

 

show sccp connections       

Total number of active session(s) 0, and connection(s) 0

DC-VG-RT01#show sccp                   
SCCP Admin State: UP
Gateway Local Interface: GigabitEthernet0
        IPv4 Address: 10.165.160.19
        Port Number: 2000
IP Precedence: 5
User Masked Codec list: None
Call Manager: 10.165.192.12, Port Number: 2000
                Priority: N/A, Version: 7.0, Identifier: 1
                Trustpoint: N/A
Call Manager: 10.165.192.11, Port Number: 2000
                Priority: N/A, Version: 7.0, Identifier: 2
                Trustpoint: N/A

Transcoding Oper State: ACTIVE - Cause Code: NONE
Active Call Manager: 10.165.192.12, Port Number: 2000
TCP Link Status: CONNECTED, Profile Identifier: 2
Reported Max Streams: 10, Reported Max OOS Streams: 0
Supported Codec: g729r8, Maximum Packetization Period: 60
Supported Codec: g711ulaw, Maximum Packetization Period: 30
Supported Codec: g711alaw, Maximum Packetization Period: 30
Supported Codec: g729ar8, Maximum Packetization Period: 60
Supported Codec: g729abr8, Maximum Packetization Period: 60
Supported Codec: rfc2833 dtmf, Maximum Packetization Period: 30
Supported Codec: rfc2833 pass-thru, Maximum Packetization Period: 30
Supported Codec: inband-dtmf to rfc2833 conversion, Maximum Packetization Period: 30

Conferencing Oper State: ACTIVE - Cause Code: NONE
Active Call Manager: 10.165.192.12, Port Number: 2000
TCP Link Status: CONNECTED, Profile Identifier: 1
Reported Max Streams: 40, Reported Max OOS Streams: 0
Supported Codec: g711ulaw, Maximum Packetization Period: 30
Supported Codec: g711alaw, Maximum Packetization Period: 30
Supported Codec: g729ar8, Maximum Packetization Period: 60
Supported Codec: g729abr8, Maximum Packetization Period: 60
Supported Codec: g729r8, Maximum Packetization Period: 60
Supported Codec: g729br8, Maximum Packetization Period: 60
Supported Codec: rfc2833 dtmf, Maximum Packetization Period: 30
Supported Codec: rfc2833 pass-thru, Maximum Packetization Period: 30
Supported Codec: inband-dtmf to rfc2833 conversion, Maximum Packetization Period: 30
TLS : ENABLED

MTP Oper State: ACTIVE - Cause Code: NONE
Active Call Manager: 10.165.192.12, Port Number: 2000
TCP Link Status: CONNECTED, Profile Identifier: 3
Reported Max Streams: 120, Reported Max OOS Streams: 0
Supported Codec: g729r8, Maximum Packetization Period: 60
Supported Codec: rfc2833 dtmf, Maximum Packetization Period: 30
Supported Codec: rfc2833 pass-thru, Maximum Packetization Period: 30
Supported Codec: inband-dtmf to rfc2833 conversion, Maximum Packetization Period: 30
TLS : ENABLED

 

I have tried adding MTP on the SIP Trunk but with no luck.

 

what else can be done?

 

 

Looks that you changed your config. Now the call using PID 2 & 4 is using G711alway which is different from the original config and previous output. Also, MTP isn't being inserted by IOS.

 

You need to stick on one config and post the latest information.

 

Also, you need to make sure that MTP is assigned to MRG, MRG assigned to MRGL, MRGL is assigned to SIP trunk.

 

You are right I have changed the configuration little bit. I'll revert it back using MTP check box on the SIP trunk with g729 codec and mtp profile has g729r8.Also the MTP is registered on the Unified CM and located in the DP assigned to the SIP trunk.

 

Below is the output:

 

DC-VG-RT01#show call active voice brief
<ID>: <CallID> <start>ms.<index> (<start>) +<connect> pid:<peer_id> <dir> <addr> <state>
  dur hh:mm:ss tx:<packets>/<bytes> rx:<packets>/<bytes> dscp:<packets violation> media:<packets violation> audio tos:<audio tos value> video tos:<video tos value>
 IP <ip>:<udp> rtt:<time>ms pl:<play>/<gap>ms lost:<lost>/<early>/<late>
  delay:<last>/<min>/<max>ms <codec> <textrelay> <transcoded
 
 media inactive detected:<y/n> media cntrl rcvd:<y/n> timestamp:<time>
 
 long duration call detected:<y/n> long duration call duration :<sec> timestamp:<time>
 LostPacketRate:<%> OutOfOrderRate:<%>
  MODEMPASS <method> buf:<fills>/<drains> loss <overall%> <multipkt>/<corrected>
   last <buf event time>s dur:<Min>/<Max>s
 FR <protocol> [int dlci cid] vad:<y/n> dtmf:<y/n> seq:<y/n>
  <codec> (payload size)
 ATM <protocol> [int vpi/vci cid] vad:<y/n> dtmf:<y/n> seq:<y/n>
  <codec> (payload size)
 Tele <int> (callID) [channel_id] tx:<tot>/<v>/<fax>ms <codec> noise:<l> acom:<l> i/o:<l>/<l> dBm
  MODEMRELAY info:<rcvd>/<sent>/<resent> xid:<rcvd>/<sent> total:<rcvd>/<sent>/<drops>
         speeds(bps): local <rx>/<tx> remote <rx>/<tx>
 Proxy <ip>:<audio udp>,<video udp>,<tcp0>,<tcp1>,<tcp2>,<tcp3> endpt: <type>/<manf>
 bw: <req>/<act> codec: <audio>/<video>
  tx: <audio pkts>/<audio bytes>,<video pkts>/<video bytes>,<t120 pkts>/<t120 bytes>
 rx: <audio pkts>/<audio bytes>,<video pkts>/<video bytes>,<t120 pkts>/<t120 bytes>
 


Telephony call-legs: 0
SIP call-legs: 4
H323 call-legs: 0
Call agent controlled call-legs: 0
SCCP call-legs: 2
Multicast call-legs: 0
Total call-legs: 6
16AA : 80009 1200517620ms.1 (08:19:54.344 UTC Tue Sep 8 2015) +110 pid:2 Answer 0555189574 active
 dur 00:00:12 tx:612/12240 rx:0/0 dscp:0 media:0 audio tos:0xB8 video tos:0x0
 IP 94.77.248.70:29824 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g729r8 TextRelay: off Transcoded: No
 media inactive detected:n media contrl rcvd:n/a timestamp:n/a
 long duration call detected:n long duration call duration:n/a timestamp:n/a
 LostPacketRate:0.00 OutOfOrderRate:0.00

16AA : 80010 1200517630ms.1 (08:19:54.354 UTC Tue Sep 8 2015) +100 pid:4 Originate 88200 active
 dur 00:00:12 tx:0/0 rx:612/12240 dscp:0 media:0 audio tos:0xB8 video tos:0x0
 IP 10.165.160.19:19680 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g729r8 TextRelay: off Transcoded: No
 media inactive detected:n media contrl rcvd:n/a timestamp:n/a
 long duration call detected:n long duration call duration:n/a timestamp:n/a
 LostPacketRate:0.00 OutOfOrderRate:0.00

0    : 80011 1200517720ms.1 (08:19:54.444 UTC Tue Sep 8 2015) +0 pid:0 Originate  connecting
 dur 00:00:12 tx:612/12240 rx:0/0 dscp:0 media:0 audio tos:0xB8 video tos:0x0
 IP 10.165.144.2:19678 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g729r8 TextRelay: off Transcoded: No
 media inactive detected:n media contrl rcvd:n/a timestamp:n/a
 long duration call detected:n long duration call duration:n/a timestamp:n/a
 LostPacketRate:0.00 OutOfOrderRate:0.00

0    : 80012 1200517720ms.2 (08:19:54.444 UTC Tue Sep 8 2015) +0 pid:0 Originate  connecting
 dur 00:00:12 tx:0/0 rx:612/12240 dscp:0 media:0 audio tos:0xB8 video tos:0x0
 IP 10.165.192.14:19668 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g729r8 TextRelay: off Transcoded: No
 media inactive detected:n media contrl rcvd:n/a timestamp:n/a
 long duration call detected:n long duration call duration:n/a timestamp:n/a
 LostPacketRate:0.00 OutOfOrderRate:0.00

16B6 : 80016 1200524690ms.1 (08:20:01.414 UTC Tue Sep 8 2015) +130 pid:2 Answer 0548382981 active
 dur 00:00:05 tx:0/0 rx:0/0 dscp:0 media:0 audio tos:0xB8 video tos:0x0
 IP 94.77.248.70:20244 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g711alaw TextRelay: off Transcoded: No
 media inactive detected:n media contrl rcvd:n/a timestamp:n/a
 long duration call detected:n long duration call duration:n/a timestamp:n/a
 LostPacketRate:0.00 OutOfOrderRate:0.00

16B6 : 80017 1200524690ms.2 (08:20:01.414 UTC Tue Sep 8 2015) +130 pid:4 Originate 88200 active
 dur 00:00:05 tx:0/0 rx:0/0 dscp:0 media:0 audio tos:0xB8 video tos:0x0
 IP 10.165.192.10:25364 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g711alaw TextRelay: off Transcoded: No
 media inactive detected:n media contrl rcvd:n/a timestamp:n/a
 long duration call detected:n long duration call duration:n/a timestamp:n/a
 LostPacketRate:0.00 OutOfOrderRate:0.00


Telephony call-legs: 0
SIP call-legs: 4
H323 call-legs: 0
Call agent controlled call-legs: 2
SCCP call-legs: 0
Multicast call-legs: 0
Total call-legs: 6

DC-VG-RT01#
DC-VG-RT01#
DC-VG-RT01#
DC-VG-RT01#show sccp con
DC-VG-RT01#show sccp connections
sess_id    conn_id      stype mode     codec   sport rport ripaddr conn_id_tx

50334727   50332389     mtp   sendrecv g729    19682 19668 10.165.192.14          
50334727   50332388     mtp   sendrecv g729    19680 19678 10.165.144.2          

Total number of active session(s) 1, and connection(s) 2

DC-VG-RT01#
DC-VG-RT01#
DC-VG-RT01#
DC-VG-RT01#
DC-VG-RT01#
DC-VG-RT01#
DC-VG-RT01#
DC-VG-RT01#
DC-VG-RT01#
DC-VG-RT01#
DC-VG-RT01#show sccp
DC-VG-RT01#show sccp
SCCP Admin State: UP
Gateway Local Interface: GigabitEthernet0
        IPv4 Address: 10.165.160.19
        Port Number: 2000
IP Precedence: 5
User Masked Codec list: None
Call Manager: 10.165.192.12, Port Number: 2000
                Priority: N/A, Version: 7.0, Identifier: 1
                Trustpoint: N/A
Call Manager: 10.165.192.11, Port Number: 2000
                Priority: N/A, Version: 7.0, Identifier: 2
                Trustpoint: N/A

Transcoding Oper State: ACTIVE - Cause Code: NONE
Active Call Manager: 10.165.192.12, Port Number: 2000
TCP Link Status: CONNECTED, Profile Identifier: 2
Reported Max Streams: 10, Reported Max OOS Streams: 0
Supported Codec: g729r8, Maximum Packetization Period: 60
Supported Codec: g711ulaw, Maximum Packetization Period: 30
Supported Codec: g711alaw, Maximum Packetization Period: 30
Supported Codec: g729ar8, Maximum Packetization Period: 60
Supported Codec: g729abr8, Maximum Packetization Period: 60
Supported Codec: rfc2833 dtmf, Maximum Packetization Period: 30
Supported Codec: rfc2833 pass-thru, Maximum Packetization Period: 30
Supported Codec: inband-dtmf to rfc2833 conversion, Maximum Packetization Period: 30

Conferencing Oper State: ACTIVE - Cause Code: NONE
Active Call Manager: 10.165.192.12, Port Number: 2000
TCP Link Status: CONNECTED, Profile Identifier: 1
Reported Max Streams: 40, Reported Max OOS Streams: 0
Supported Codec: g711ulaw, Maximum Packetization Period: 30
Supported Codec: g711alaw, Maximum Packetization Period: 30
Supported Codec: g729ar8, Maximum Packetization Period: 60
Supported Codec: g729abr8, Maximum Packetization Period: 60
Supported Codec: g729r8, Maximum Packetization Period: 60
Supported Codec: g729br8, Maximum Packetization Period: 60
Supported Codec: rfc2833 dtmf, Maximum Packetization Period: 30
Supported Codec: rfc2833 pass-thru, Maximum Packetization Period: 30
Supported Codec: inband-dtmf to rfc2833 conversion, Maximum Packetization Period: 30
TLS : ENABLED

MTP Oper State: ACTIVE - Cause Code: NONE
Active Call Manager: 10.165.192.12, Port Number: 2000
TCP Link Status: CONNECTED, Profile Identifier: 3
Reported Max Streams: 120, Reported Max OOS Streams: 0
Supported Codec: g729r8, Maximum Packetization Period: 60
Supported Codec: rfc2833 dtmf, Maximum Packetization Period: 30
Supported Codec: rfc2833 pass-thru, Maximum Packetization Period: 30
Supported Codec: inband-dtmf to rfc2833 conversion, Maximum Packetization Period: 30

Hi,

 

So with this config, is DTMF working?

 

If not, can you share the output of 'deb voip rtp session named-event' when you press DTMF digits?

Hi,

 

The problem finally solved. It was related to network as UCS servers hosting unity connection is connected to Nexus 9k which has a bug in the software that remove the DTMF from rtp packet . After upgrading it the problem resolved.

Hi Ashraf,

We are facing same issue after migrated all UCS server on the Nexus 9K the DTMF is not working . I need your help to resolve this issue. could you tell which software version you upgraded in order to resolution.

I need the prompt reply from you. currently i am using the below software in 9K.

HQ-DC.AGG-9504-1# sh version
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (C) 2002-2015, Cisco and/or its affiliates.
All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under their own
licenses, such as open source. This software is provided "as is," and unless
otherwise stated, there is no warranty, express or implied, including but not
limited to warranties of merchantability and fitness for a particular purpose.
Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or
GNU General Public License (GPL) version 3.0 or the GNU
Lesser General Public License (LGPL) Version 2.1 or
Lesser General Public License (LGPL) Version 2.0.
A copy of each such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://opensource.org/licenses/gpl-3.0.html and
http://www.opensource.org/licenses/lgpl-2.1.php and
http://www.gnu.org/licenses/old-licenses/library.txt.

Software
BIOS: version 08.06
NXOS: version 6.1(2)I3(3a)
BIOS compile time: 09/10/2014
NXOS image file is: bootflash:///n9000-dk9.6.1.2.I3.3a.bin
NXOS compile time: 1/26/2015 11:00:00 [01/26/2015 22:45:44]


Hardware
cisco Nexus9000 C9504 (4 Slot) Chassis ("Supervisor Module")
Intel(R) Xeon(R) CPU E5-2403 with 16402332 kB of memory.
Processor Board ID SAL18506CZJ

Device name: HQ-DC.AGG-9504-1
bootflash: 51496280 kB
Kernel uptime is 37 day(s), 8 hour(s), 45 minute(s), 34 second(s)

Last reset at 645522 usecs after Mon Jan 4 10:11:52 2016

Reason: Reset Requested by CLI command reload
System version: 6.1(2)I3(3a)
Service:

plugin
Core Plugin, Ethernet Plugin

Hi,

 

Please share the latest config with debug voip dialpeer and show call active voice br (please mention the calling and called numbers).