[asterisk-commits] res pjsip session : fixed wrong From Header number On Re-invite (asterisk[14])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue May 23 09:06:33 CDT 2017


Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/5675 )

Change subject: res_pjsip_session : fixed wrong From Header number On Re-invite
......................................................................


res_pjsip_session : fixed wrong From Header number On Re-invite

ASTERISK-26964 #close

Change-Id: I55a9caa7dc90e6c4c219cb09b5c2ec08af84a302
---
M res/res_pjsip_session.c
1 file changed, 0 insertions(+), 5 deletions(-)

Approvals:
  George Joseph: Looks good to me, approved
  Jenkins2: Approved for Submit
  Joshua Colp: Looks good to me, but someone else must approve



diff --git a/res/res_pjsip_session.c b/res/res_pjsip_session.c
index e775a45..9628c72 100644
--- a/res/res_pjsip_session.c
+++ b/res/res_pjsip_session.c
@@ -946,11 +946,6 @@
 		}
 	}
 
-	/*
-	 * We MUST call set_from_header() before pjsip_inv_(reinvite|update).  If we don't, the
-	 * From in the reINVITE/UPDATE will be wrong but the rest of the messages will be OK.
-	 */
-	set_from_header(session);
 
 	if (method == AST_SIP_SESSION_REFRESH_METHOD_INVITE) {
 		if (pjsip_inv_reinvite(inv_session, NULL, new_sdp, &tdata)) {

-- 
To view, visit https://gerrit.asterisk.org/5675
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I55a9caa7dc90e6c4c219cb09b5c2ec08af84a302
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 14
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Yasin CANER <yasin.caner at netgsm.com.tr>



More information about the asterisk-commits mailing list