[layer23] Do not reject mobile terminated calls with no codec given
Send the list of supported codecs instead.
This commit is contained in:
parent
b0336cd484
commit
beccb356d5
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue