Change in osmo-msc[master]: a_iface: Include CSFB Indication into BSSMAP CLEAR COMMAND

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Mon Feb 11 22:36:11 UTC 2019


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/12830 )

Change subject: a_iface: Include CSFB Indication into BSSMAP CLEAR COMMAND
......................................................................

a_iface: Include CSFB Indication into BSSMAP CLEAR COMMAND

When a call ends that has been established in an CSFB context, we should
add a CSFB Indication IE to the BSSMAP CLEAR COMMAND to instruct the BSC
to add further CSFB related IEs into the RR RELEASE.

- Check if an SGs association exists and add CSFB Indication IE

Change-Id: I6cfa4b3becdd0138d74e2e1eddd83a0b1568c1de
Related: OS#3778
---
M src/libmsc/a_iface.c
1 file changed, 6 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/src/libmsc/a_iface.c b/src/libmsc/a_iface.c
index 0811734..3a7690d 100644
--- a/src/libmsc/a_iface.c
+++ b/src/libmsc/a_iface.c
@@ -416,10 +416,15 @@
 int a_iface_tx_clear_cmd(struct ran_conn *conn)
 {
 	struct msgb *msg;
+	struct vlr_subscr *vsub = conn->vsub;
+	bool csfb_ind = false;
 
 	LOGPCONN(conn, LOGL_INFO, "Tx BSSMAP CLEAR COMMAND to BSC\n");
 
-	msg = gsm0808_create_clear_command(GSM0808_CAUSE_CALL_CONTROL);
+	if (vsub && vsub->sgs_fsm->state == SGS_UE_ST_ASSOCIATED)
+		csfb_ind = true;
+
+	msg = gsm0808_create_clear_command2(GSM0808_CAUSE_CALL_CONTROL, csfb_ind);
 	return osmo_sccp_tx_data_msg(conn->a.scu, conn->a.conn_id, msg);
 }
 

-- 
To view, visit https://gerrit.osmocom.org/12830
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I6cfa4b3becdd0138d74e2e1eddd83a0b1568c1de
Gerrit-Change-Number: 12830
Gerrit-PatchSet: 2
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190211/f54aec8a/attachment.htm>


More information about the gerrit-log mailing list