[svn-commits] file: trunk r409288 - in /trunk: ./ res/res_pjsip_session.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sat Mar 1 14:28:07 CST 2014


Author: file
Date: Sat Mar  1 14:28:04 2014
New Revision: 409288

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=409288
Log:
res_pjsip_session: Set options (100rel, timers) on incoming sessions.

This change passes options to the UAS creation function. This in turn
sets up 100rel and session timer properties on the incoming session.

Reported by Julian Russell on asterisk-users mailing list.
........

Merged revisions 409287 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=409288&r1=409287&r2=409288
==============================================================================
--- trunk/res/res_pjsip_session.c (original)
+++ trunk/res/res_pjsip_session.c Sat Mar  1 14:28:04 2014
@@ -1384,7 +1384,7 @@
 		pjsip_endpt_respond_stateless(ast_sip_get_pjsip_endpoint(), rdata, 500, NULL, NULL, NULL);
 		return NULL;
 	}
-	if (pjsip_inv_create_uas(dlg, rdata, NULL, 0, &inv_session) != PJ_SUCCESS) {
+	if (pjsip_inv_create_uas(dlg, rdata, NULL, options, &inv_session) != PJ_SUCCESS) {
 		pjsip_endpt_respond_stateless(ast_sip_get_pjsip_endpoint(), rdata, 500, NULL, NULL, NULL);
 		pjsip_dlg_terminate(dlg);
 		return NULL;




More information about the svn-commits mailing list