summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas.Eversberg <jolly@eversberg.eu>2010-09-26 18:39:01 +0000
committerAndreas.Eversberg <jolly@eversberg.eu>2010-09-26 18:39:01 +0000
commitbeccb356d5c62fa5a7f76b3c5527f1449a6a13c5 (patch)
treefc5a653d68aa210e5f54d3aab73e01858484481e
parentb0336cd4849a4b0bf963372060de0a467b398a7a (diff)
[layer23] Do not reject mobile terminated calls with no codec given
Send the list of supported codecs instead.
-rw-r--r--src/host/layer23/src/mobile/mnccms.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/host/layer23/src/mobile/mnccms.c b/src/host/layer23/src/mobile/mnccms.c
index 9aeaf4dc..d709d250 100644
--- a/src/host/layer23/src/mobile/mnccms.c
+++ b/src/host/layer23/src/mobile/mnccms.c
@@ -384,14 +384,6 @@ int mncc_recv_mobile(struct osmocom_ms *ms, int msg_type, void *arg)
LOGP(DMNCC, LOGL_INFO, " only supported full "
"rate codec is given, using it\n");
}
- if (speech_ver < 0) {
- vty_notify(ms, "Incomming call rejected, no "
- "voice call\n");
- LOGP(DMNCC, LOGL_INFO, "Incomming call "
- "rejected, no voice call\n");
- cause = GSM48_CC_CAUSE_BEARERSERV_UNIMPL;
- goto release;
- }
}
/* presentation allowed if present == 0 */
if (data->calling.present || !data->calling.number[0])