From: Anthony Minessale Date: Sat, 21 Nov 2009 04:39:38 +0000 (+0000) Subject: always check for callee update not just because of pai X-Git-Tag: v1.0.6~1313 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=34cf898e0fb9572e23a7ec0614c834aa62d6a213;p=thirdparty%2Ffreeswitch.git always check for callee update not just because of pai git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15589 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index a60fab97ae..84b0b36ca4 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -3257,9 +3257,8 @@ static void sofia_handle_sip_r_invite(switch_core_session_t *session, int status sofia_glue_set_extra_headers(channel, sip, SOFIA_SIP_PROGRESS_HEADER_PREFIX); - if (sip_p_asserted_identity(sip)) { - sofia_update_callee_id(session, profile, sip, SWITCH_FALSE); - } + sofia_update_callee_id(session, profile, sip, SWITCH_FALSE); + } if (channel && sip && (status == 300 || status == 302 || status == 305) && switch_channel_test_flag(channel, CF_OUTBOUND)) {