freeswitch icon indicating copy to clipboard operation
freeswitch copied to clipboard

Problem with rfc2833-pt and DTMF on bridged calls ever since.

Open mahald opened this issue 2 years ago • 2 comments
trafficstars

Describe the bug

The DTMF transmission for bridged calls has been problematic for some time now, particularly when the setting "bypass_media_after_bridge=true" is used. This issue arises when the destination PBX utilizes a different PT value for RFC2833 than what is configured in the sofia profile.

To address this challenge, we have implemented a workaround that involves parsing the PT from the switch_r_sdp on the A leg and using a profile with the same value set as rfc2833-pt. For example, if the PT value is 101 on the A-Leg, we use the profile "sofia/outbound101", and if it is 103, we use "sofia/outbound103". This workaround has effectively resolved our DTMF transmission issues.

However, this solution requires extensive configuration and coding on our end, which some customers may not find favorable. Additionally, each profile must utilize a different source UDP Port, further complicating the matter.

It would be beneficial if there was a channel variable for "rtp_2833_payload" that takes precedence over the profile setting when it is set.

mahald avatar Feb 10 '23 14:02 mahald

Channel variables can't have dashes, it must be an _, and can you do a PR?

briankwest avatar Feb 16 '23 19:02 briankwest

added pull request #2573 @briankwest can you please merge this? This Code is Live for > 1 year.

mahald avatar Aug 14 '24 12:08 mahald

@briankwest can you please merge this?

mahald avatar Nov 27 '24 18:11 mahald