[asterisk-commits] file: branch 12 r404369 - /branches/12/res/res_pjsip_session.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Dec 19 11:47:33 CST 2013


Author: file
Date: Thu Dec 19 11:47:30 2013
New Revision: 404369

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=404369
Log:
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.

Modified:
    branches/12/res/res_pjsip_session.c

Modified: branches/12/res/res_pjsip_session.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/res/res_pjsip_session.c?view=diff&rev=404369&r1=404368&r2=404369
==============================================================================
--- branches/12/res/res_pjsip_session.c (original)
+++ branches/12/res/res_pjsip_session.c Thu Dec 19 11:47:30 2013
@@ -1179,7 +1179,7 @@
 	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;




More information about the asterisk-commits mailing list