[asterisk-commits] file: trunk r404370 - in /trunk: ./ res/res_pjsip_session.c

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


Author: file
Date: Thu Dec 19 11:55:28 2013
New Revision: 404370

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

Merged revisions 404369 from http://svn.asterisk.org/svn/asterisk/branches/12

Modified:
    trunk/   (props changed)
    trunk/res/res_pjsip_session.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.

Modified: trunk/res/res_pjsip_session.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_pjsip_session.c?view=diff&rev=404370&r1=404369&r2=404370
==============================================================================
--- trunk/res/res_pjsip_session.c (original)
+++ trunk/res/res_pjsip_session.c Thu Dec 19 11:55:28 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