]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
remove warning
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 3 Feb 2012 17:50:24 +0000 (11:50 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 3 Feb 2012 17:50:24 +0000 (11:50 -0600)
src/mod/endpoints/mod_sofia/mod_sofia.c

index 58869d49d5e62bd879460ce2517d4e0250879ba8..0a49cc3730fa406d109bfd70bfb03d46b942a1e9 100644 (file)
@@ -2098,12 +2098,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
                                        number = tech_pvt->caller_profile->destination_number;
                                }
                                
-                               if (sofia_test_flag(tech_pvt, TFLAG_UPDATING_DISPLAY) || !switch_channel_test_flag(channel, CF_ANSWERED)) {
-                                       switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(tech_pvt->session), SWITCH_LOG_WARNING, 
-                                                                         "Cannot send display update to %s "
-                                                                         "Did not receive reply to last update or channel has not been answered yet.\n", 
-                                                                         switch_channel_get_name(tech_pvt->channel));
-                               } else {
+                               if (!sofia_test_flag(tech_pvt, TFLAG_UPDATING_DISPLAY) && switch_channel_test_flag(channel, CF_ANSWERED)) {
                                        if (zstr(tech_pvt->last_sent_callee_id_name) || strcmp(tech_pvt->last_sent_callee_id_name, name) ||
                                                zstr(tech_pvt->last_sent_callee_id_number) || strcmp(tech_pvt->last_sent_callee_id_number, number)) {