[asterisk-commits] kmoore: branch kmoore/pjsip_path_support r405000 - /team/kmoore/pjsip_path_su...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jan 6 14:53:12 CST 2014
Author: kmoore
Date: Mon Jan 6 14:53:10 2014
New Revision: 405000
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=405000
Log:
Use found contact when one is not provided
Modified:
team/kmoore/pjsip_path_support/res/res_pjsip_session.c
Modified: team/kmoore/pjsip_path_support/res/res_pjsip_session.c
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/pjsip_path_support/res/res_pjsip_session.c?view=diff&rev=405000&r1=404999&r2=405000
==============================================================================
--- team/kmoore/pjsip_path_support/res/res_pjsip_session.c (original)
+++ team/kmoore/pjsip_path_support/res/res_pjsip_session.c Mon Jan 6 14:53:10 2014
@@ -1238,7 +1238,7 @@
timer.sess_expires = endpoint->extensions.timer.sess_expires;
pjsip_timer_init_session(inv_session, &timer);
- if (!(session = ast_sip_session_alloc(endpoint, contact, inv_session))) {
+ if (!(session = ast_sip_session_alloc(endpoint, found_contact ? found_contact : contact, inv_session))) {
pjsip_inv_terminate(inv_session, 500, PJ_FALSE);
return NULL;
}
More information about the asterisk-commits
mailing list