[Asterisk-code-review] res pjsip session : fixed wrong From Header number On Re-invite (asterisk[master])

Yasin CANER asteriskteam at digium.com
Wed Apr 26 09:31:52 CDT 2017


Yasin CANER has uploaded a new change for review. ( https://gerrit.asterisk.org/5535 )

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(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/35/5535/1

diff --git a/res/res_pjsip_session.c b/res/res_pjsip_session.c
index 3034652..a8292db 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/5535
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I55a9caa7dc90e6c4c219cb09b5c2ec08af84a302
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Yasin CANER <yasin.caner at netgsm.com.tr>



More information about the asterisk-code-review mailing list