[libpri-commits] rmudgett: branch 1.4 r2088 - /branches/1.4/q921.c

SVN commits to the libpri project libpri-commits at lists.digium.com
Tue Nov 2 14:11:06 CDT 2010


Author: rmudgett
Date: Tue Nov  2 14:11:01 2010
New Revision: 2088

URL: http://svnview.digium.com/svn/libpri?view=rev&rev=2088
Log:
B410P gets incoming call packets on ISDN but Asterisk doesn't see the call.

The Cisco 1751 with VIC 2-BRI ports sends out SETUP messages on the
broadcast TEI as if the BRI were PTMP even though it is configured for PTP
mode.

Make PTP mode also accept frames on SAPI=0, TEI=127 (Broadcast).

(closes issue #18232)
Reported by: lelio
Patches:
      issue18232_v1.4.patch uploaded by rmudgett (license 664)
Tested by: lelio

Modified:
    branches/1.4/q921.c

Modified: branches/1.4/q921.c
URL: http://svnview.digium.com/svn/libpri/branches/1.4/q921.c?view=diff&rev=2088&r1=2087&r2=2088
==============================================================================
--- branches/1.4/q921.c (original)
+++ branches/1.4/q921.c Tue Nov  2 14:11:01 2010
@@ -2638,7 +2638,8 @@
 			ev = q921_handle_unmatched_frame(ctrl, h, len);
 		}
 	} else if (PTP_MODE(ctrl)
-			&& h->h.sapi == ctrl->link.sapi && h->h.tei == ctrl->link.tei) {
+		&& h->h.sapi == ctrl->link.sapi
+		&& (h->h.tei == ctrl->link.tei || h->h.tei == Q921_TEI_GROUP)) {
 		ev = __q921_receive_qualified(&ctrl->link, h, len);
 	} else {
 		ev = NULL;




More information about the libpri-commits mailing list