mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-20 10:56:50 +00:00
Merge branch 'signalwire:master' into bugfix/fix-ivr-zombie
This commit is contained in:
commit
48fc220052
@ -8576,7 +8576,11 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
|
|||||||
if (!tech_pvt) goto done;
|
if (!tech_pvt) goto done;
|
||||||
|
|
||||||
if (tech_pvt->mparams.num_codecs) {
|
if (tech_pvt->mparams.num_codecs) {
|
||||||
match = sofia_media_negotiate_sdp(session, r_sdp, SDP_TYPE_RESPONSE);
|
if (sofia_test_flag(tech_pvt, TFLAG_GOT_ACK)) {
|
||||||
|
match = sofia_media_negotiate_sdp(session, r_sdp, SDP_TYPE_REQUEST);
|
||||||
|
} else {
|
||||||
|
match = sofia_media_negotiate_sdp(session, r_sdp, SDP_TYPE_RESPONSE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (match) {
|
if (match) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user