]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[mod_sofia] Set missing CF_3PCC flag
authorJakub Karolczyk <jakub.karolczyk@signalwire.com>
Wed, 21 Feb 2024 01:47:45 +0000 (01:47 +0000)
committerAndrey Volk <andywolk@gmail.com>
Thu, 22 Feb 2024 16:23:40 +0000 (19:23 +0300)
src/mod/endpoints/mod_sofia/sofia.c

index 311052a6198430d2d168b10e12e6203f5fe13d67..43bd68b92379ad0d01a9649c1378ffa4a731147a 100644 (file)
@@ -7992,6 +7992,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
                                                switch_channel_hangup(channel, SWITCH_CAUSE_MANDATORY_IE_MISSING);
                                        } else {
                                                switch_channel_set_variable(channel, SWITCH_ENDPOINT_DISPOSITION_VARIABLE, "RECEIVED_NOSDP");
+                                               switch_channel_set_flag(channel, CF_3PCC);
                                                switch_core_media_choose_port(tech_pvt->session, SWITCH_MEDIA_TYPE_AUDIO, 0);
                                                switch_core_media_prepare_codecs(session, 1);
                                                switch_channel_set_state(channel, CS_HIBERNATE);