[S] Change in osmo-msc[master]: SMS: fix bogus error for SMS over SG from MME
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-msc/+/43625?usp=email ) Change subject: SMS: fix bogus error for SMS over SG from MME ...................................................................... SMS: fix bogus error for SMS over SG from MME OsmoMSC accepts SMS over the SG interface from the MME and can successfully send it. Fix that the following error gets logged along with every SMS from SG: MO SMS without prior CM Service Request (gsm_04_11.c:1127) Fixes: OS#6207 Change-Id: Id3f9c6c20e6d4d4275ca16fb17b0822a7d70e0a0 --- M src/libmsc/gsm_04_11.c 1 file changed, 8 insertions(+), 3 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/25/43625/1 diff --git a/src/libmsc/gsm_04_11.c b/src/libmsc/gsm_04_11.c index 530ef17..fb04b45 100644 --- a/src/libmsc/gsm_04_11.c +++ b/src/libmsc/gsm_04_11.c @@ -1123,10 +1123,15 @@ osmo_fsm_inst_dispatch(msc_a->c.fi, MSC_A_EV_TRANSACTION_ACCEPTED, trans); if (mo) { - if (!osmo_use_count_by(&msc_a->use_count, MSC_A_USE_CM_SERVICE_SMS)) - LOG_TRANS(trans, LOGL_ERROR, "MO SMS without prior CM Service Request\n"); - else + if (!osmo_use_count_by(&msc_a->use_count, MSC_A_USE_CM_SERVICE_SMS)) { + if (vsub->attached_via_ran == OSMO_RAT_EUTRAN_SGS) { + /* SMS over the SG interface from MME (OS#6207) */ + } else { + LOG_TRANS(trans, LOGL_ERROR, "MO SMS without prior CM Service Request\n"); + } + } else { msc_a_put(msc_a, MSC_A_USE_CM_SERVICE_SMS); + } } /* If we're re-using the existing LU connection, drop the LU token. -- To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/43625?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Change-Id: Id3f9c6c20e6d4d4275ca16fb17b0822a7d70e0a0 Gerrit-Change-Number: 43625 Gerrit-PatchSet: 1 Gerrit-Owner: osmith <osmith@sysmocom.de>
participants (1)
-
osmith