aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-08-10 20:24:24 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-08-10 20:24:40 +0800
commit7e1524644ba0143e3cfeb70782a9e0cbcbcaff38 (patch)
tree892721cc77e7062de9ea61c2af2f895fb16c4bec
parent3ec13ed3a8284f0a2661cb9e8e79e782488a9eb0 (diff)
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.
-rw-r--r--openbsc/include/openbsc/mgcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/mgcp.h b/openbsc/include/openbsc/mgcp.h
index 10b2409ac..fe5b58ce1 100644
--- a/openbsc/include/openbsc/mgcp.h
+++ b/openbsc/include/openbsc/mgcp.h
@@ -151,7 +151,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);
}