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.
This commit is contained in:
Holger Hans Peter Freyther
2010-08-10 20:24:24 +08:00
parent 9ae28a128a
commit cb8c35cd51

View File

@@ -147,7 +147,7 @@ static inline int mgcp_timeslot_to_endpoint(int multiplex, int timeslot)
{ {
if (timeslot == 0) if (timeslot == 0)
timeslot = 1; timeslot = 1;
return timeslot + (31 * multiplex); return timeslot + (32 * multiplex);
} }