]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10880: [mod_sofia] SIP INFO DTMF method not working on b-leg #resolve
authorBrian West <brian@freeswitch.org>
Mon, 22 Jan 2018 21:50:39 +0000 (15:50 -0600)
committerMuteesa Fred <muteesafred@hotmail.com>
Tue, 24 Jul 2018 07:21:39 +0000 (07:21 +0000)
src/mod/endpoints/mod_sofia/mod_sofia.c

index 2f437572bf4deeb37b04c26935fa43aebb273357..a6afe36f97c240697bfa3ab770f41eaa24f8fbad 100644 (file)
@@ -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 */