Change in osmo-bsc[master]: HACK: omit callid for sccplite

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 Hofmeyr gerrit-no-reply at lists.osmocom.org
Mon Aug 20 23:55:22 UTC 2018


Neels Hofmeyr has uploaded this change for review. ( https://gerrit.osmocom.org/10560


Change subject: HACK: omit callid for sccplite
......................................................................

HACK: omit callid for sccplite

goes along with I4598f5653b10416cfd439bf6acded77f6489fb3b (osmo-mgw)

Change-Id: Ia9de21f7fc60e5157689d8c72b88f71d7e210b24
---
M src/osmo-bsc/bsc_subscr_conn_fsm.c
M src/osmo-bsc/lchan_rtp_fsm.c
2 files changed, 4 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/60/10560/1

diff --git a/src/osmo-bsc/bsc_subscr_conn_fsm.c b/src/osmo-bsc/bsc_subscr_conn_fsm.c
index 32375d4..0e59859 100644
--- a/src/osmo-bsc/bsc_subscr_conn_fsm.c
+++ b/src/osmo-bsc/bsc_subscr_conn_fsm.c
@@ -489,6 +489,7 @@
 	mgw_info = (struct mgcp_conn_peer){
 		.port = port,
 		.call_id = conn->sccp.conn_id,
+		.call_id_present = true,
 		.ptime = 20,
 	};
 	mgcp_pick_codec(&mgw_info, for_lchan, false);
diff --git a/src/osmo-bsc/lchan_rtp_fsm.c b/src/osmo-bsc/lchan_rtp_fsm.c
index 091af5e..609c912 100644
--- a/src/osmo-bsc/lchan_rtp_fsm.c
+++ b/src/osmo-bsc/lchan_rtp_fsm.c
@@ -154,8 +154,10 @@
 
 	lchan->mgw_endpoint_ci_bts = mgw_endpoint_ci_add(mgwep, "to-BTS");
 
-	if (lchan->conn)
+	if (gscon_is_aoip(lchan->conn)) {
 		crcx_info.call_id = lchan->conn->sccp.conn_id;
+		crcx_info.call_id_present = true;
+	}
 	crcx_info.ptime = 20;
 	mgcp_pick_codec(&crcx_info, lchan, true);
 

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia9de21f7fc60e5157689d8c72b88f71d7e210b24
Gerrit-Change-Number: 10560
Gerrit-PatchSet: 1
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180820/84695dd9/attachment.htm>


More information about the gerrit-log mailing list