Fix signalwire/freeswitch/1965 where received audio payload is misinterpreted as DTMF

This commit is contained in:
Anton Olofsson 2023-02-27 11:39:32 +01:00
parent 3307083f8b
commit 9c4fe453b7
1 changed files with 1 additions and 1 deletions

View File

@ -10387,7 +10387,7 @@ SWITCH_DECLARE(void) switch_core_media_gen_local_sdp(switch_core_session_t *sess
imp->iananame, imp->samples_per_second, smh->fmtp[i], &orig_pt, NULL, &orig_fmtp) == SWITCH_STATUS_SUCCESS) {
if (orig_pt == smh->mparams->te) {
smh->mparams->te = (switch_payload_t)smh->payload_space++;
smh->mparams->recv_te = smh->mparams->te = (switch_payload_t)smh->payload_space++;
}
smh->ianacodes[i] = orig_pt;