From: Anthony Minessale Date: Tue, 12 May 2015 19:41:15 +0000 (-0500) Subject: FS-7500: re-enable sip info video refresh X-Git-Tag: v1.6.2~614^2~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a08a89af3db80f16cecb3db396607dcf25e0c696;p=thirdparty%2Ffreeswitch.git FS-7500: re-enable sip info video refresh --- diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index 678f3d0385..f48777c6ff 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -1295,8 +1295,8 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi #if 1 case SWITCH_MESSAGE_INDICATE_VIDEO_REFRESH_REQ: { - const char *ua = switch_channel_get_variable(tech_pvt->channel, "sip_user_agent"); - if (ua && switch_stristr("polycom", ua)) { + //const char *ua = switch_channel_get_variable(tech_pvt->channel, "sip_user_agent"); + //if (ua && switch_stristr("polycom", ua)) { //const char *pl = "\n\n\n\n\n\n\n\n"; const char *pl = "\n\n"; @@ -1312,7 +1312,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi nua_info(tech_pvt->nh, SIPTAG_CONTENT_TYPE_STR("application/media_control+xml"), SIPTAG_PAYLOAD_STR(pl), TAG_END()); } - } + //} } break; #endif