[asterisk-commits] file: trunk r389551 - /trunk/res/res_sip_session.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu May 23 10:51:08 CDT 2013
Author: file
Date: Thu May 23 10:51:05 2013
New Revision: 389551
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=389551
Log:
Fix a bug where the codec order as configured was not being obeyed.
Modified:
trunk/res/res_sip_session.c
Modified: trunk/res/res_sip_session.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_sip_session.c?view=diff&rev=389551&r1=389550&r2=389551
==============================================================================
--- trunk/res/res_sip_session.c (original)
+++ trunk/res/res_sip_session.c Thu May 23 10:51:05 2013
@@ -1035,6 +1035,7 @@
}
pjsip_inv_set_local_sdp(inv_session, offer);
+ pjmedia_sdp_neg_set_prefer_remote_codec_order(inv_session->neg, PJ_FALSE);
ao2_ref(session, +1);
return session;
@@ -1195,6 +1196,7 @@
return;
} else {
pjsip_inv_set_local_sdp(inv_session, local);
+ pjmedia_sdp_neg_set_prefer_remote_codec_order(inv_session->neg, PJ_FALSE);
}
pjsip_timer_setting_default(&timer);
More information about the asterisk-commits
mailing list