From 34cf898e0fb9572e23a7ec0614c834aa62d6a213 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Sat, 21 Nov 2009 04:39:38 +0000 Subject: [PATCH] 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 --- src/mod/endpoints/mod_sofia/sofia.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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)) {