From 4402238ab72fff8ff52efa6668f1e6beff299dd7 Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Sun, 31 Mar 2013 12:03:12 +0200 Subject: Allow handling of TCH/F and TCH/H frames from layer 4 --- openbsc/src/libmsc/gsm_04_08.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openbsc/src/libmsc/gsm_04_08.c b/openbsc/src/libmsc/gsm_04_08.c index d0509f9de..93cbae22b 100644 --- a/openbsc/src/libmsc/gsm_04_08.c +++ b/openbsc/src/libmsc/gsm_04_08.c @@ -1776,11 +1776,12 @@ int tch_frame_down(struct gsm_network *net, uint32_t callref, struct gsm_data_fr LOGP(DMNCC, LOGL_NOTICE, "TCH frame for trans without lchan\n"); return 0; } - if (trans->conn->lchan->type != GSM_LCHAN_TCH_F) { + if (trans->conn->lchan->type != GSM_LCHAN_TCH_F + && trans->conn->lchan->type != GSM_LCHAN_TCH_H) { /* This should be LOGL_ERROR or NOTICE, but * unfortuantely it happens for a couple of frames at * the beginning of every RTP connection */ - LOGP(DMNCC, LOGL_DEBUG, "TCH frame for lchan != TCH_F\n"); + LOGP(DMNCC, LOGL_DEBUG, "TCH frame for lchan != TCH_F/H\n"); return 0; } bts = trans->conn->lchan->ts->trx->bts; -- cgit v1.2.3