diff options
author | Harald Welte <laforge@gnumonks.org> | 2018-05-25 17:38:11 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-05-25 18:58:16 +0000 |
commit | f6029bac5e8f109f9c81fe0b4f5465bffff9b9f3 (patch) | |
tree | 530db592dd87e177358fa77b5164340b57f637bf /src/osmo-bsc/osmo_bsc_bssap.c | |
parent | 2dd05a85f9247d097600e86faed812bb9a034497 (diff) |
bsc: Don't reject ASSIGNMENT for Audio in IPA/SCCPlite case
Change-Id: If362a0084de452727cd063063dfb645eca2f9beb
Diffstat (limited to 'src/osmo-bsc/osmo_bsc_bssap.c')
-rw-r--r-- | src/osmo-bsc/osmo_bsc_bssap.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/osmo-bsc/osmo_bsc_bssap.c b/src/osmo-bsc/osmo_bsc_bssap.c index 2adbb3f9b..f7f99fa30 100644 --- a/src/osmo-bsc/osmo_bsc_bssap.c +++ b/src/osmo-bsc/osmo_bsc_bssap.c @@ -710,23 +710,11 @@ static int bssmap_handle_assignm_req(struct gsm_subscriber_connection *conn, aoip = true; } else { LOGP(DMSC, LOGL_ERROR, "AoIP transport address and CIC missing. " - "Audio will not work.\n"); + "Audio would not work; rejecting\n"); cause = GSM0808_CAUSE_INFORMATION_ELEMENT_OR_FIELD_MISSING; goto reject; } - /* FIXME: At the moment osmo-bsc does not support any other - * A-Interface other than AoIP. So we must reject all - * assignment requests that are not AoIP compliant. However, - * might support other A-Interface dialects lateron again, - * thats why we preserve the logic around the AoIP detection - * here. */ - if (!aoip) { - LOGP(DMSC, LOGL_ERROR, "Requested A-Interface type is not supported! (AoIP only!)\n"); - cause = GSM0808_CAUSE_REQ_A_IF_TYPE_NOT_SUPP; - goto reject; - } - /* Decode speech codec list (AoIP) */ conn->codec_list_present = false; if (aoip) { |