[Asterisk-code-review] res pjsip session : fixed wrong From Header number On Re-invite (asterisk[13])
Joshua Colp
asteriskteam at digium.com
Mon May 22 04:03:57 CDT 2017
Joshua Colp has uploaded a new change for review. ( https://gerrit.asterisk.org/5676 )
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/76/5676/1
diff --git a/res/res_pjsip_session.c b/res/res_pjsip_session.c
index 67ea9a9..400eb6a 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/5676
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I55a9caa7dc90e6c4c219cb09b5c2ec08af84a302
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Yasin CANER <yasin.caner at netgsm.com.tr>
More information about the asterisk-code-review
mailing list