aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
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-29 16:35:22 +0800
commitcb8c35cd518bba3caedd16a923464a956e3eb4f4 (patch)
tree2456f66e4e2531d5aa08063e06b7f7fbd3411f98 /openbsc
parent9ae28a128af27a755aa889d2edd8340815f9a3df (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.
Diffstat (limited to 'openbsc')
-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 38fe5048..02abeea3 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);
}