diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-11-22 13:26:03 +0100 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2017-12-01 13:36:30 +0100 |
commit | fa85d18807452045a36fc3a80b7f35d5ba8422b8 (patch) | |
tree | 69f5473ba55460b5aed81521d8bd5bcee4fa887a /include/osmocom | |
parent | 2c3bf454491762767a12ce39c7263df326363674 (diff) |
mgcp: use mgw assigned connection identifiers
osmo-mgw assigns connection identifiers which are returned with
the response to the CRCX.
store the assigned connection identifiers and use them to identify
the connections.
Depends: osmo-mgw Iab6a6038e7610c62f34e642cd49c93d11151252c
Closes: OS#2648
Change-Id: Ib379a6f40875bb8f2cf29038a5b5b7a40a21adab
Diffstat (limited to 'include/osmocom')
-rw-r--r-- | include/osmocom/bsc/osmo_bsc_mgcp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/osmocom/bsc/osmo_bsc_mgcp.h b/include/osmocom/bsc/osmo_bsc_mgcp.h index dd26d4013..df185244e 100644 --- a/include/osmocom/bsc/osmo_bsc_mgcp.h +++ b/include/osmocom/bsc/osmo_bsc_mgcp.h @@ -20,6 +20,8 @@ #pragma once +#include <osmocom/mgcp_client/mgcp_common.h> + /* MGCP state handler context (fsm etc..) */ struct mgcp_ctx { /* FSM instance, which handles the connection switching procedure */ @@ -28,6 +30,10 @@ struct mgcp_ctx { /* RTP endpoint number */ uint16_t rtp_endpoint; + /* RTP connection identifiers */ + char conn_id_bts[MGCP_CONN_ID_LENGTH]; + char conn_id_net[MGCP_CONN_ID_LENGTH]; + /* Copy of the pointer and the data with context information * needed to process the AoIP and MGCP requests (system data) */ struct mgcp_client *mgcp; |