aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-07-12 05:07:40 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-07-16 16:24:26 +0200
commitb0cc3f299a3bb9216f33353b35647f3ffabefdcd (patch)
treeafe53fa686b3f1337a26bd3748b9b5401e4617dd
parentbb7b54d3d46e6bb8a3ff8c86be385516d27f9a3c (diff)
fix RTP: remember port info from CRCX, not MDCX
On MDCX, we tell the endpoint where the MGW should send RTP. In rtp_info we want to remember what the MGW's own ip and port are, so we must only store the CRCX response, not the MDCX verb_info. Change-Id: Iddea6fd2c6a5974a029736075fdb25d49fcbba35
-rw-r--r--src/osmo-bsc/mgw_endpoint_fsm.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/osmo-bsc/mgw_endpoint_fsm.c b/src/osmo-bsc/mgw_endpoint_fsm.c
index 5074dec61..d2eb8d4ba 100644
--- a/src/osmo-bsc/mgw_endpoint_fsm.c
+++ b/src/osmo-bsc/mgw_endpoint_fsm.c
@@ -333,12 +333,6 @@ static void on_success(struct mgwep_ci *ci, void *data)
}
break;
- case MGCP_VERB_MDCX:
- /* If an MDCX succeeded, remember the new port information */
- ci->got_port_info = true;
- ci->rtp_info = ci->verb_info;
- break;
-
default:
break;
}