diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2013-03-31 12:03:12 +0200 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2013-07-29 12:39:58 +0200 |
commit | 4402238ab72fff8ff52efa6668f1e6beff299dd7 (patch) | |
tree | ad0f19913429fa36f86986d1b6d408c4bb285757 | |
parent | bb3e01db4cdff50ed66688ae2b41d7a82c417ee4 (diff) |
Allow handling of TCH/F and TCH/H frames from layer 4
-rw-r--r-- | openbsc/src/libmsc/gsm_04_08.c | 5 |
1 files 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; |