From e3ccb0385a1bf2690498911832f5e2349904563c Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 21 Mar 2016 12:58:28 -0500 Subject: [PATCH] FS-8964 #resolve [Make it possible to disable picture_fast_update INFO requests] --- src/mod/endpoints/mod_sofia/mod_sofia.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index c4a38559b4..9fc3ccd47f 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -1318,9 +1318,8 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi switch (msg->message_id) { -#if 1 case SWITCH_MESSAGE_INDICATE_VIDEO_REFRESH_REQ: - { + if (!switch_channel_test_flag(channel, CF_AVPF)) { //const char *ua = switch_channel_get_variable(tech_pvt->channel, "sip_user_agent"); //if (ua && switch_stristr("polycom", ua)) { @@ -1341,7 +1340,6 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi //} } break; -#endif case SWITCH_MESSAGE_INDICATE_BROADCAST: { const char *ip = NULL, *port = NULL;