diff options
Diffstat (limited to 'src/mgcp_ss7.c')
-rw-r--r-- | src/mgcp_ss7.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mgcp_ss7.c b/src/mgcp_ss7.c index c047108..2c93084 100644 --- a/src/mgcp_ss7.c +++ b/src/mgcp_ss7.c @@ -74,8 +74,8 @@ static int select_voice_port(struct mgcp_endpoint *endp) int timeslot, multiplex; mgcp_endpoint_to_timeslot(ENDPOINT_NUMBER(endp), &multiplex, ×lot); - if (timeslot == 0x0 || timeslot == 0x1F) { - LOGP(DMGCP, LOGL_ERROR, "0x0 and 0x1F are reserved for signalling.\n"); + if (endp->blocked) { + LOGP(DMGCP, LOGL_ERROR, "Timeslot 0x%x is blocked.\n", timeslot); return -1; } |