From: Josh Allmann Date: Wed, 19 Apr 2017 21:41:49 +0000 (+0000) Subject: FS-10241: Convert sofia_send_info_vid_refresh to a chanvar. X-Git-Tag: v1.8.0~590^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70dd9727ee89133e437f7a0a4aeee4b98f63fcbb;p=thirdparty%2Ffreeswitch.git FS-10241: Convert sofia_send_info_vid_refresh to a chanvar. --- diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index 734dd516c6..e2d792e806 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -1529,7 +1529,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi case SWITCH_MESSAGE_INDICATE_VIDEO_REFRESH_REQ: if (switch_channel_media_up(channel) && !switch_channel_test_flag(channel, CF_AVPF) && - switch_true(switch_core_get_variable("sofia_send_info_vid_refresh"))) { + switch_channel_var_true(channel, "sofia_send_info_vid_refresh")) { const char *pl = "\n\n"; switch_time_t now = switch_micro_time_now();