summaryrefslogtreecommitdiff
path: root/res/res_pjsip_session.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2013-12-19 17:55:28 +0000
committerJoshua Colp <jcolp@digium.com>2013-12-19 17:55:28 +0000
commit8402cd4cd9d0f9a3f56534ec0ea4922c06d925c6 (patch)
tree166e27431be6ceb46a88de815b6444a652f313e6 /res/res_pjsip_session.c
parent1b91ee6c4b636998381636fe23253558eafc9f13 (diff)
res_pjsip_session: Fix SDP negotiation when resending an INVITE with authentication.
The process for resending an INVITE with authentication involves restarting the UAC session. We were incorrectly passing in that a new offer is being sent, causing the SDP negotiation to get into a (technically speaking) funky state. ........ Merged revisions 404369 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@404370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_pjsip_session.c')
-rw-r--r--res/res_pjsip_session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip_session.c b/res/res_pjsip_session.c
index cc387d124..04220094f 100644
--- a/res/res_pjsip_session.c
+++ b/res/res_pjsip_session.c
@@ -1179,7 +1179,7 @@ static int session_outbound_auth(pjsip_dialog *dlg, pjsip_tx_data *tdata, void *
struct ast_sip_session *session = inv->mod_data[session_module.id];
if (inv->state < PJSIP_INV_STATE_CONFIRMED && tdata->msg->line.req.method.id == PJSIP_INVITE_METHOD) {
- pjsip_inv_uac_restart(inv, PJ_TRUE);
+ pjsip_inv_uac_restart(inv, PJ_FALSE);
}
ast_sip_session_send_request(session, tdata);
return 0;