From: Anthony Minessale Date: Mon, 21 Mar 2016 17:58:28 +0000 (-0500) Subject: FS-8964 #resolve [Make it possible to disable picture_fast_update INFO requests] X-Git-Tag: v1.6.7^2~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3ccb0385a1bf2690498911832f5e2349904563c;p=thirdparty%2Ffreeswitch.git FS-8964 #resolve [Make it possible to disable picture_fast_update INFO requests] --- 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;