Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] DTMF not passing from the A Leg to the B Leg


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
keithxcroxford at gmai...
Guest





PostPosted: Mon Feb 22, 2021 12:52 pm    Post subject: [Freeswitch-users] DTMF not passing from the A Leg to the B Reply with quote

I'm coming across a strange, intermittent behavior with RFC2833 DTMF packets. This is occurring in a production environment, and I've been able to duplicate this with a very minimal FreeSWITCH installation in a virtual machine. 

Details of the problem: 
A customer occasionally has a problem report where their callers are unable to use the IVR menu. From the user's standpoint, the digits are not detected. Upon further review, we do receive DTMF event packets from the carrier, however, they do not traverse the bridge from the A leg to the B leg.  



From the console logs, I see the following with the first digit. 
--
2021-02-20 11:28:30.842108 [DEBUG] mod_sofia.c:645 SOFIA EXCHANGE_MEDIA
2021-02-20 11:28:30.881612 [DEBUG] switch_rtp.c:1890 rtcp_stats_init: audio ssrc[1488669269] base_seq[26830]
2021-02-20 11:28:30.933002 [DEBUG] switch_rtp.c:7550 Correct audio ip/port confirmed.
2021-02-20 11:28:34.881612 [DEBUG] switch_rtp.c:7550 Correct audio ip/port confirmed.
2021-02-20 11:28:34.923555 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 1:400
2021-02-20 11:28:34.923555 [INFO] switch_channel.c:515 RECV DTMF 1:400
2021-02-20 11:28:34.923555 [DEBUG] switch_rtp.c:5424 Send start packet for [1] ts=160 dur=160/160/400 seq=51938 lw=160
2021-02-20 11:28:34.942196 [DEBUG] switch_rtp.c:5323 Send middle packet for [1] ts=160 dur=320/320/400 seq=51939 lw=320
2021-02-20 11:28:34.942196 [DEBUG] switch_rtp.c:5323 Send end packet for [1] ts=160 dur=480/480/400 seq=51940 lw=320
2021-02-20 11:28:34.942196 [DEBUG] switch_rtp.c:5323 Send end packet for [1] ts=160 dur=480/480/400 seq=51941 lw=320
2021-02-20 11:28:34.942196 [DEBUG] switch_rtp.c:5323 Send end packet for [1] ts=160 dur=480/480/400 seq=51942 lw=320
2021-02-20 11:28:34.942196 [DEBUG] switch_rtp.c:5271 Queue digit delay of 40ms
2021-02-20 11:28:35.421487 [DEBUG] switch_rtp.c:6985 Correct audio RTCP ip/port confirmed.
--


However, on the following series of digits, they are detected as seen in the logs from switch_rtp.c and switch_channel.c. However, they do not proceed to the "Send start packet" step as seen with the previous digit. This mirrors what I see on the B leg client, as it only detects the first digit. 

--
2021-02-20 11:28:37.521489 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 1:400
2021-02-20 11:28:37.521489 [INFO] switch_channel.c:515 RECV DTMF 1:400
2021-02-20 11:28:46.082031 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 3:400
2021-02-20 11:28:46.082031 [INFO] switch_channel.c:515 RECV DTMF 3:400
2021-02-20 11:28:46.481377 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 6:400
2021-02-20 11:28:46.481377 [INFO] switch_channel.c:515 RECV DTMF 6:400
2021-02-20 11:28:47.061795 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 4:400
2021-02-20 11:28:47.061795 [INFO] switch_channel.c:515 RECV DTMF 4:400
2021-02-20 11:28:47.461504 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 5:400
2021-02-20 11:28:47.461504 [INFO] switch_channel.c:515 RECV DTMF 5:400
2021-02-20 11:28:47.881346 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 0:400
2021-02-20 11:28:47.881346 [INFO] switch_channel.c:515 RECV DTMF 0:400
2021-02-20 11:28:48.281220 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 0:400
2021-02-20 11:28:48.281220 [INFO] switch_channel.c:515 RECV DTMF 0:400
2021-02-20 11:28:48.805572 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF #:400
2021-02-20 11:28:48.805572 [INFO] switch_channel.c:515 RECV DTMF #:400
2021-02-20 11:29:04.881294 [NOTICE] sofia.c:1079 Hangup sofia/external/nobody@192.168.1.71 (nobody@192.168.1.71) [CS_EXECUTE] [NORMAL_CLEARING]
--


Yet, they do arrive on the Freeswitch instances. I've attempted to add <action application="set" data="rtp_manual_rtp_bugs=ignore_dtmf_duration"/>  to my inbound dialplan xml. I'm leaning toward these being a "weird" DTMF packet and not a FreeSWITCH issue, but I'm curious if anyone has encountered a similar problem, or has advice of what we could test on the FS side. 
--
Supporting Details: 
Test Environment: I took a packet capture from production and filtered it down to the A leg's RFC2833 packets, and saved this to a new file. I then used this pcap file in a SIPP UAC scenario which is acting as the A Leg. 

Freeswitch sits in the middle and I've configured it following this guide (https://freeswitch.org/confluence/display/FREESWITCH/SBC+FreeSWITCH+Configuration+Example+2) as a barebones SBC. Freeswitch is version 1.8.3

The B Leg is a simple pjsua client configured to answer an inbound call. 
--
Best Regards, 


KC
Back to top
dragos at freeswitch.org
Guest





PostPosted: Wed Feb 24, 2021 3:36 am    Post subject: [Freeswitch-users] DTMF not passing from the A Leg to the B Reply with quote

Try setting channel variable "sensitive_dtmf" to true.

On Mon, Feb 22, 2021 at 7:17 PM Keith Croxford <keithxcroxford@gmail.com (keithxcroxford@gmail.com)> wrote:

Quote:
I'm coming across a strange, intermittent behavior with RFC2833 DTMF packets. This is occurring in a production environment, and I've been able to duplicate this with a very minimal FreeSWITCH installation in a virtual machine. 

Details of the problem: 
A customer occasionally has a problem report where their callers are unable to use the IVR menu. From the user's standpoint, the digits are not detected. Upon further review, we do receive DTMF event packets from the carrier, however, they do not traverse the bridge from the A leg to the B leg.  



From the console logs, I see the following with the first digit. 
--
2021-02-20 11:28:30.842108 [DEBUG] mod_sofia.c:645 SOFIA EXCHANGE_MEDIA
2021-02-20 11:28:30.881612 [DEBUG] switch_rtp.c:1890 rtcp_stats_init: audio ssrc[1488669269] base_seq[26830]
2021-02-20 11:28:30.933002 [DEBUG] switch_rtp.c:7550 Correct audio ip/port confirmed.
2021-02-20 11:28:34.881612 [DEBUG] switch_rtp.c:7550 Correct audio ip/port confirmed.
2021-02-20 11:28:34.923555 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 1:400
2021-02-20 11:28:34.923555 [INFO] switch_channel.c:515 RECV DTMF 1:400
2021-02-20 11:28:34.923555 [DEBUG] switch_rtp.c:5424 Send start packet for [1] ts=160 dur=160/160/400 seq=51938 lw=160
2021-02-20 11:28:34.942196 [DEBUG] switch_rtp.c:5323 Send middle packet for [1] ts=160 dur=320/320/400 seq=51939 lw=320
2021-02-20 11:28:34.942196 [DEBUG] switch_rtp.c:5323 Send end packet for [1] ts=160 dur=480/480/400 seq=51940 lw=320
2021-02-20 11:28:34.942196 [DEBUG] switch_rtp.c:5323 Send end packet for [1] ts=160 dur=480/480/400 seq=51941 lw=320
2021-02-20 11:28:34.942196 [DEBUG] switch_rtp.c:5323 Send end packet for [1] ts=160 dur=480/480/400 seq=51942 lw=320
2021-02-20 11:28:34.942196 [DEBUG] switch_rtp.c:5271 Queue digit delay of 40ms
2021-02-20 11:28:35.421487 [DEBUG] switch_rtp.c:6985 Correct audio RTCP ip/port confirmed.
--


However, on the following series of digits, they are detected as seen in the logs from switch_rtp.c and switch_channel.c. However, they do not proceed to the "Send start packet" step as seen with the previous digit. This mirrors what I see on the B leg client, as it only detects the first digit. 

--
2021-02-20 11:28:37.521489 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 1:400
2021-02-20 11:28:37.521489 [INFO] switch_channel.c:515 RECV DTMF 1:400
2021-02-20 11:28:46.082031 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 3:400
2021-02-20 11:28:46.082031 [INFO] switch_channel.c:515 RECV DTMF 3:400
2021-02-20 11:28:46.481377 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 6:400
2021-02-20 11:28:46.481377 [INFO] switch_channel.c:515 RECV DTMF 6:400
2021-02-20 11:28:47.061795 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 4:400
2021-02-20 11:28:47.061795 [INFO] switch_channel.c:515 RECV DTMF 4:400
2021-02-20 11:28:47.461504 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 5:400
2021-02-20 11:28:47.461504 [INFO] switch_channel.c:515 RECV DTMF 5:400
2021-02-20 11:28:47.881346 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 0:400
2021-02-20 11:28:47.881346 [INFO] switch_channel.c:515 RECV DTMF 0:400
2021-02-20 11:28:48.281220 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 0:400
2021-02-20 11:28:48.281220 [INFO] switch_channel.c:515 RECV DTMF 0:400
2021-02-20 11:28:48.805572 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF #:400
2021-02-20 11:28:48.805572 [INFO] switch_channel.c:515 RECV DTMF #:400
2021-02-20 11:29:04.881294 [NOTICE] sofia.c:1079 Hangup sofia/external/nobody@192.168.1.71 (nobody@192.168.1.71) [CS_EXECUTE] [NORMAL_CLEARING]
--


Yet, they do arrive on the Freeswitch instances. I've attempted to add <action application="set" data="rtp_manual_rtp_bugs=ignore_dtmf_duration"/>  to my inbound dialplan xml. I'm leaning toward these being a "weird" DTMF packet and not a FreeSWITCH issue, but I'm curious if anyone has encountered a similar problem, or has advice of what we could test on the FS side. 
--
Supporting Details: 
Test Environment: I took a packet capture from production and filtered it down to the A leg's RFC2833 packets, and saved this to a new file. I then used this pcap file in a SIPP UAC scenario which is acting as the A Leg. 

Freeswitch sits in the middle and I've configured it following this guide (https://freeswitch.org/confluence/display/FREESWITCH/SBC+FreeSWITCH+Configuration+Example+2) as a barebones SBC. Freeswitch is version 1.8.3

The B Leg is a simple pjsua client configured to answer an inbound call. 
--
Best Regards, 


KC









_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com (sales@freeswitch.com)
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
Back to top
botelist at gmail.com
Guest





PostPosted: Wed Feb 24, 2021 11:22 am    Post subject: [Freeswitch-users] DTMF not passing from the A Leg to the B Reply with quote

Well, that’s a new one!

I’d be happy to document it in the wiki if someone can provide a useful description of what it controls.

TNX.


---
John Boteler
BnC Group U.S.A.



From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> On Behalf Of Dragos Oancea
Sent: Wednesday, 24 February, 2021 03:31
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Subject: Re: [Freeswitch-users] DTMF not passing from the A Leg to the B Leg


Try setting channel variable "sensitive_dtmf" to true.


On Mon, Feb 22, 2021 at 7:17 PM Keith Croxford <keithxcroxford@gmail.com (keithxcroxford@gmail.com)> wrote:
Quote:

I'm coming across a strange, intermittent behavior with RFC2833 DTMF packets. This is occurring in a production environment, and I've been able to duplicate this with a very minimal FreeSWITCH installation in a virtual machine.

Details of the problem:

A customer occasionally has a problem report where their callers are unable to use the IVR menu. From the user's standpoint, the digits are not detected. Upon further review, we do receive DTMF event packets from the carrier, however, they do not traverse the bridge from the A leg to the B leg.



Back to top
keithxcroxford at gmai...
Guest





PostPosted: Wed Feb 24, 2021 1:08 pm    Post subject: [Freeswitch-users] DTMF not passing from the A Leg to the B Reply with quote

I ended up testing with the latest version of FREESWITCH, and the issue is no longer there.

Something that I did find interesting though: if I played a sequence of rfc2833 events without any g711 packets (9from the same SSRC, only the first digit would be sent to the B leg.


If add a few g711 packets (white noise) from the same SSRC between the 2833 packets, all DTMF makes it to the B leg.


I tried to find something in the release notes to explain this, but I didn't have any luck. 


-KC


Op wo 24 feb. 2021 09:37 schreef Dragos Oancea <dragos@freeswitch.org (dragos@freeswitch.org)>:

Quote:
Try setting channel variable "sensitive_dtmf" to true.

On Mon, Feb 22, 2021 at 7:17 PM Keith Croxford <keithxcroxford@gmail.com (keithxcroxford@gmail.com)> wrote:

Quote:
I'm coming across a strange, intermittent behavior with RFC2833 DTMF packets. This is occurring in a production environment, and I've been able to duplicate this with a very minimal FreeSWITCH installation in a virtual machine. 

Details of the problem: 
A customer occasionally has a problem report where their callers are unable to use the IVR menu. From the user's standpoint, the digits are not detected. Upon further review, we do receive DTMF event packets from the carrier, however, they do not traverse the bridge from the A leg to the B leg.  



From the console logs, I see the following with the first digit. 
--
2021-02-20 11:28:30.842108 [DEBUG] mod_sofia.c:645 SOFIA EXCHANGE_MEDIA
2021-02-20 11:28:30.881612 [DEBUG] switch_rtp.c:1890 rtcp_stats_init: audio ssrc[1488669269] base_seq[26830]
2021-02-20 11:28:30.933002 [DEBUG] switch_rtp.c:7550 Correct audio ip/port confirmed.
2021-02-20 11:28:34.881612 [DEBUG] switch_rtp.c:7550 Correct audio ip/port confirmed.
2021-02-20 11:28:34.923555 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 1:400
2021-02-20 11:28:34.923555 [INFO] switch_channel.c:515 RECV DTMF 1:400
2021-02-20 11:28:34.923555 [DEBUG] switch_rtp.c:5424 Send start packet for [1] ts=160 dur=160/160/400 seq=51938 lw=160
2021-02-20 11:28:34.942196 [DEBUG] switch_rtp.c:5323 Send middle packet for [1] ts=160 dur=320/320/400 seq=51939 lw=320
2021-02-20 11:28:34.942196 [DEBUG] switch_rtp.c:5323 Send end packet for [1] ts=160 dur=480/480/400 seq=51940 lw=320
2021-02-20 11:28:34.942196 [DEBUG] switch_rtp.c:5323 Send end packet for [1] ts=160 dur=480/480/400 seq=51941 lw=320
2021-02-20 11:28:34.942196 [DEBUG] switch_rtp.c:5323 Send end packet for [1] ts=160 dur=480/480/400 seq=51942 lw=320
2021-02-20 11:28:34.942196 [DEBUG] switch_rtp.c:5271 Queue digit delay of 40ms
2021-02-20 11:28:35.421487 [DEBUG] switch_rtp.c:6985 Correct audio RTCP ip/port confirmed.
--


However, on the following series of digits, they are detected as seen in the logs from switch_rtp.c and switch_channel.c. However, they do not proceed to the "Send start packet" step as seen with the previous digit. This mirrors what I see on the B leg client, as it only detects the first digit. 

--
2021-02-20 11:28:37.521489 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 1:400
2021-02-20 11:28:37.521489 [INFO] switch_channel.c:515 RECV DTMF 1:400
2021-02-20 11:28:46.082031 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 3:400
2021-02-20 11:28:46.082031 [INFO] switch_channel.c:515 RECV DTMF 3:400
2021-02-20 11:28:46.481377 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 6:400
2021-02-20 11:28:46.481377 [INFO] switch_channel.c:515 RECV DTMF 6:400
2021-02-20 11:28:47.061795 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 4:400
2021-02-20 11:28:47.061795 [INFO] switch_channel.c:515 RECV DTMF 4:400
2021-02-20 11:28:47.461504 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 5:400
2021-02-20 11:28:47.461504 [INFO] switch_channel.c:515 RECV DTMF 5:400
2021-02-20 11:28:47.881346 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 0:400
2021-02-20 11:28:47.881346 [INFO] switch_channel.c:515 RECV DTMF 0:400
2021-02-20 11:28:48.281220 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 0:400
2021-02-20 11:28:48.281220 [INFO] switch_channel.c:515 RECV DTMF 0:400
2021-02-20 11:28:48.805572 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF #:400
2021-02-20 11:28:48.805572 [INFO] switch_channel.c:515 RECV DTMF #:400
2021-02-20 11:29:04.881294 [NOTICE] sofia.c:1079 Hangup sofia/external/nobody@192.168.1.71 (nobody@192.168.1.71) [CS_EXECUTE] [NORMAL_CLEARING]
--


Yet, they do arrive on the Freeswitch instances. I've attempted to add <action application="set" data="rtp_manual_rtp_bugs=ignore_dtmf_duration"/>  to my inbound dialplan xml. I'm leaning toward these being a "weird" DTMF packet and not a FreeSWITCH issue, but I'm curious if anyone has encountered a similar problem, or has advice of what we could test on the FS side. 
--
Supporting Details: 
Test Environment: I took a packet capture from production and filtered it down to the A leg's RFC2833 packets, and saved this to a new file. I then used this pcap file in a SIPP UAC scenario which is acting as the A Leg. 

Freeswitch sits in the middle and I've configured it following this guide (https://freeswitch.org/confluence/display/FREESWITCH/SBC+FreeSWITCH+Configuration+Example+2) as a barebones SBC. Freeswitch is version 1.8.3

The B Leg is a simple pjsua client configured to answer an inbound call. 
--
Best Regards, 


KC









_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com (sales@freeswitch.com)
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com (sales@freeswitch.com)
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
Back to top
vma at sip.solutions
Guest





PostPosted: Wed Feb 24, 2021 4:15 pm    Post subject: [Freeswitch-users] DTMF not passing from the A Leg to the B Reply with quote

Hi,

What RTP timer are you using? I remember having a similar issue with timerfd some time ago, it disappeared when I changed to soft timer.
The pass_rfc2833 option also helped.


Best Regards,
--
Valli A. Vallimamod
SIP Solutions
vma@sip.solutions
linkedin.com/in/vallimamod
.


Quote:
On 24 Feb 2021, at 18:50, Keith Croxford <keithxcroxford@gmail.com> wrote:

I ended up testing with the latest version of FREESWITCH, and the issue is no longer there.

Something that I did find interesting though: if I played a sequence of rfc2833 events without any g711 packets (9from the same SSRC, only the first digit would be sent to the B leg.

If add a few g711 packets (white noise) from the same SSRC between the 2833 packets, all DTMF makes it to the B leg.

I tried to find something in the release notes to explain this, but I didn't have any luck.

-KC

Op wo 24 feb. 2021 09:37 schreef Dragos Oancea <dragos@freeswitch.org>:
Try setting channel variable "sensitive_dtmf" to true.

On Mon, Feb 22, 2021 at 7:17 PM Keith Croxford <keithxcroxford@gmail.com> wrote:
I'm coming across a strange, intermittent behavior with RFC2833 DTMF packets. This is occurring in a production environment, and I've been able to duplicate this with a very minimal FreeSWITCH installation in a virtual machine.

Details of the problem:

A customer occasionally has a problem report where their callers are unable to use the IVR menu. From the user's standpoint, the digits are not detected. Upon further review, we do receive DTMF event packets from the carrier, however, they do not traverse the bridge from the A leg to the B leg.

From the console logs, I see the following with the first digit.
--
2021-02-20 11:28:30.842108 [DEBUG] mod_sofia.c:645 SOFIA EXCHANGE_MEDIA
2021-02-20 11:28:30.881612 [DEBUG] switch_rtp.c:1890 rtcp_stats_init: audio ssrc[1488669269] base_seq[26830]
2021-02-20 11:28:30.933002 [DEBUG] switch_rtp.c:7550 Correct audio ip/port confirmed.
2021-02-20 11:28:34.881612 [DEBUG] switch_rtp.c:7550 Correct audio ip/port confirmed.
2021-02-20 11:28:34.923555 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 1:400
2021-02-20 11:28:34.923555 [INFO] switch_channel.c:515 RECV DTMF 1:400
2021-02-20 11:28:34.923555 [DEBUG] switch_rtp.c:5424 Send start packet for [1] ts=160 dur=160/160/400 seq=51938 lw=160
2021-02-20 11:28:34.942196 [DEBUG] switch_rtp.c:5323 Send middle packet for [1] ts=160 dur=320/320/400 seq=51939 lw=320
2021-02-20 11:28:34.942196 [DEBUG] switch_rtp.c:5323 Send end packet for [1] ts=160 dur=480/480/400 seq=51940 lw=320
2021-02-20 11:28:34.942196 [DEBUG] switch_rtp.c:5323 Send end packet for [1] ts=160 dur=480/480/400 seq=51941 lw=320
2021-02-20 11:28:34.942196 [DEBUG] switch_rtp.c:5323 Send end packet for [1] ts=160 dur=480/480/400 seq=51942 lw=320
2021-02-20 11:28:34.942196 [DEBUG] switch_rtp.c:5271 Queue digit delay of 40ms
2021-02-20 11:28:35.421487 [DEBUG] switch_rtp.c:6985 Correct audio RTCP ip/port confirmed.
--

However, on the following series of digits, they are detected as seen in the logs from switch_rtp.c and switch_channel.c. However, they do not proceed to the "Send start packet" step as seen with the previous digit. This mirrors what I see on the B leg client, as it only detects the first digit.

--
2021-02-20 11:28:37.521489 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 1:400
2021-02-20 11:28:37.521489 [INFO] switch_channel.c:515 RECV DTMF 1:400
2021-02-20 11:28:46.082031 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 3:400
2021-02-20 11:28:46.082031 [INFO] switch_channel.c:515 RECV DTMF 3:400
2021-02-20 11:28:46.481377 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 6:400
2021-02-20 11:28:46.481377 [INFO] switch_channel.c:515 RECV DTMF 6:400
2021-02-20 11:28:47.061795 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 4:400
2021-02-20 11:28:47.061795 [INFO] switch_channel.c:515 RECV DTMF 4:400
2021-02-20 11:28:47.461504 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 5:400
2021-02-20 11:28:47.461504 [INFO] switch_channel.c:515 RECV DTMF 5:400
2021-02-20 11:28:47.881346 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 0:400
2021-02-20 11:28:47.881346 [INFO] switch_channel.c:515 RECV DTMF 0:400
2021-02-20 11:28:48.281220 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF 0:400
2021-02-20 11:28:48.281220 [INFO] switch_channel.c:515 RECV DTMF 0:400
2021-02-20 11:28:48.805572 [DEBUG] switch_rtp.c:7789 RTP RECV DTMF #:400
2021-02-20 11:28:48.805572 [INFO] switch_channel.c:515 RECV DTMF #:400
2021-02-20 11:29:04.881294 [NOTICE] sofia.c:1079 Hangup sofia/external/nobody@192.168.1.71 [CS_EXECUTE] [NORMAL_CLEARING]
--

Yet, they do arrive on the Freeswitch instances. I've attempted to add <action application="set" data="rtp_manual_rtp_bugs=ignore_dtmf_duration"/> to my inbound dialplan xml. I'm leaning toward these being a "weird" DTMF packet and not a FreeSWITCH issue, but I'm curious if anyone has encountered a similar problem, or has advice of what we could test on the FS side.
--
Supporting Details:
Test Environment:
I took a packet capture from production and filtered it down to the A leg's RFC2833 packets, and saved this to a new file. I then used this pcap file in a SIPP UAC scenario which is acting as the A Leg.

Freeswitch sits in the middle and I've configured it following this guide (https://freeswitch.org/confluence/display/FREESWITCH/SBC+FreeSWITCH+Configuration+Example+2) as a barebones SBC. Freeswitch is version 1.8.3

The B Leg is a simple pjsua client configured to answer an inbound call.
--
Best Regards,

KC





_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com


_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services