[svn-commits] file: branch file/gulp_fax r395415 - /team/file/gulp_fax/res/res_sip_session.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Thu Jul 25 11:12:58 CDT 2013
Author: file
Date: Thu Jul 25 11:12:56 2013
New Revision: 395415
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=395415
Log:
To be kind... build even without support for changing media stream types in pjsip.
Modified:
team/file/gulp_fax/res/res_sip_session.c
Modified: team/file/gulp_fax/res/res_sip_session.c
URL: http://svnview.digium.com/svn/asterisk/team/file/gulp_fax/res/res_sip_session.c?view=diff&rev=395415&r1=395414&r2=395415
==============================================================================
--- team/file/gulp_fax/res/res_sip_session.c (original)
+++ team/file/gulp_fax/res/res_sip_session.c Thu Jul 25 11:12:56 2013
@@ -1186,7 +1186,9 @@
pjsip_dlg_terminate(dlg);
return NULL;
}
+#ifdef PJMEDIA_SDP_NEG_ALLOW_MEDIA_CHANGE
inv_session->sdp_neg_flags = PJMEDIA_SDP_NEG_ALLOW_MEDIA_CHANGE;
+#endif
pjsip_timer_setting_default(&timer);
timer.min_se = endpoint->min_se;
@@ -1328,7 +1330,9 @@
pjsip_dlg_terminate(dlg);
return NULL;
}
+#ifdef PJMEDIA_SDP_NEG_ALLOW_MEDIA_CHANGE
inv_session->sdp_neg_flags = PJMEDIA_SDP_NEG_ALLOW_MEDIA_CHANGE;
+#endif
if (pjsip_dlg_add_usage(dlg, &session_module, NULL) != PJ_SUCCESS) {
if (pjsip_inv_initial_answer(inv_session, rdata, 500, NULL, NULL, &tdata) != PJ_SUCCESS) {
pjsip_inv_terminate(inv_session, 500, PJ_FALSE);
More information about the svn-commits
mailing list