[asterisk-commits] file: branch 1.4 r45678 - /branches/1.4/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Oct 19 09:03:10 MST 2006


Author: file
Date: Thu Oct 19 11:03:09 2006
New Revision: 45678

URL: http://svn.digium.com/view/asterisk?rev=45678&view=rev
Log:
If the jitterbuffer is forced on then we can't partially bridge (reported by wangster on #asterisk-dev)

Modified:
    branches/1.4/channels/chan_sip.c

Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?rev=45678&r1=45677&r2=45678&view=diff
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Thu Oct 19 11:03:09 2006
@@ -16375,6 +16375,8 @@
 
 	if (ast_test_flag(&p->flags[0], SIP_CAN_REINVITE))
 		res = AST_RTP_TRY_NATIVE;
+	else if (ast_test_flag(&global_jbconf, AST_JB_FORCED))
+		res = AST_RTP_GET_FAILED;
 
 	ast_mutex_unlock(&p->lock);
 



More information about the asterisk-commits mailing list