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
This commit is contained in:
Anthony Minessale 2009-11-21 04:39:38 +00:00
parent 3d4cd9b1d5
commit 34cf898e0f
1 changed files with 2 additions and 3 deletions

View File

@ -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)) {