[svn-commits] file: branch 1.4 r102725 - /branches/1.4/channels/chan_sip.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Feb 6 11:59:23 CST 2008


Author: file
Date: Wed Feb  6 11:59:23 2008
New Revision: 102725

URL: http://svn.digium.com/view/asterisk?view=rev&rev=102725
Log:
Only consider a T.38-only INVITE compatible if we have both a joint capability between us and them and if they provided T.38.

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?view=diff&rev=102725&r1=102724&r2=102725
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Wed Feb  6 11:59:23 2008
@@ -5416,7 +5416,7 @@
 	}
 	if (!newjointcapability) {
 		/* If T.38 was not negotiated either, totally bail out... */
-		if (!p->t38.jointcapability) {
+		if (!p->t38.jointcapability || !p->t38.peercapability) {
 			ast_log(LOG_NOTICE, "No compatible codecs, not accepting this offer!\n");
 			/* Do NOT Change current setting */
 			return -1;




More information about the svn-commits mailing list