Change in osmo-msc[master]: CC: fix sanity expectations for call establishment

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

neels gerrit-no-reply at lists.osmocom.org
Thu Sep 24 23:44:41 UTC 2020


neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-msc/+/20277 )


Change subject: CC: fix sanity expectations for call establishment
......................................................................

CC: fix sanity expectations for call establishment

Recent 'add full SDP codec information to the MNCC...' patch has added a strict
CC state sanity check, which is too strict:

In tests with 200 concurrent calls, situations came up where the MNCC is faster
than the Abis in establishing a call. If that happens, the CC state machine is
already in GSM_CSTATE_ACTIVE when the RR channel assignment completes.

Also allow GSM_CSTATE_ACTIVE state for accepting an Assignment Complete.

Change-Id: I0e0767ec10232615bbf063181fc7f8738ef94f28
---
M src/libmsc/gsm_04_08_cc.c
1 file changed, 4 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/77/20277/1

diff --git a/src/libmsc/gsm_04_08_cc.c b/src/libmsc/gsm_04_08_cc.c
index 73b7c37..a1c0519 100644
--- a/src/libmsc/gsm_04_08_cc.c
+++ b/src/libmsc/gsm_04_08_cc.c
@@ -1900,6 +1900,10 @@
 		/* MT call */
 		break;
 
+	case GSM_CSTATE_ACTIVE:
+		/* already active */
+		break;
+
 	default:
 		LOG_TRANS(trans, LOGL_ERROR, "Assignment done in unexpected CC state: %d\n", trans->cc.state);
 		return -EINVAL;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/20277
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I0e0767ec10232615bbf063181fc7f8738ef94f28
Gerrit-Change-Number: 20277
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200924/3efe2eff/attachment.htm>


More information about the gerrit-log mailing list