From: Brian West Date: Mon, 22 Jan 2018 21:50:39 +0000 (-0600) Subject: FS-10880: [mod_sofia] SIP INFO DTMF method not working on b-leg #resolve X-Git-Tag: v1.8.1~3^2~156 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adb813e089e00c9abdca1641c97e89d0ffef8d45;p=thirdparty%2Ffreeswitch.git FS-10880: [mod_sofia] SIP INFO DTMF method not working on b-leg #resolve --- diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index 2f437572bf..a6afe36f97 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -1256,6 +1256,8 @@ static switch_status_t sofia_send_dtmf(switch_core_session_t *session, const swi tech_pvt = (private_object_t *) switch_core_session_get_private(session); switch_assert(tech_pvt != NULL); + switch_core_media_check_dtmf_type(session); + dtmf_type = tech_pvt->mparams.dtmf_type; /* We only can send INFO when we have no media */