res_pjsip_session : fixed wrong From Header number On Re-invite
ASTERISK-26964 #close Change-Id: I55a9caa7dc90e6c4c219cb09b5c2ec08af84a302
This commit is contained in:
parent
5a987fc5e9
commit
99dea9ba84
1 changed files with 0 additions and 5 deletions
|
@ -946,11 +946,6 @@ int ast_sip_session_refresh(struct ast_sip_session *session,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* 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 (method == AST_SIP_SESSION_REFRESH_METHOD_INVITE) {
|
||||||
if (pjsip_inv_reinvite(inv_session, NULL, new_sdp, &tdata)) {
|
if (pjsip_inv_reinvite(inv_session, NULL, new_sdp, &tdata)) {
|
||||||
|
|
Loading…
Reference in a new issue