From cb8c35cd518bba3caedd16a923464a956e3eb4f4 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 10 Aug 2010 20:24:24 +0800 Subject: mgcp: Speculative mgcp fix... We really have 32 channels per multiplex... so use the right number... or at least it seems we do have 32. --- openbsc/include/openbsc/mgcp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc') diff --git a/openbsc/include/openbsc/mgcp.h b/openbsc/include/openbsc/mgcp.h index 38fe50482..02abeea39 100644 --- a/openbsc/include/openbsc/mgcp.h +++ b/openbsc/include/openbsc/mgcp.h @@ -147,7 +147,7 @@ static inline int mgcp_timeslot_to_endpoint(int multiplex, int timeslot) { if (timeslot == 0) timeslot = 1; - return timeslot + (31 * multiplex); + return timeslot + (32 * multiplex); } -- cgit v1.2.3