From 65d8d0d9b5b0a59bc34d5b5f3677e3cbe9d21a64 Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Tue, 29 May 2018 10:03:41 +0200 Subject: mgcp: do not start connections in loopback mode When the MSC creates the connections for the BSS side and for the PBX Change-Id: If9a81d057f73150e483286472e73c45e7a453a6d --- src/libmsc/msc_mgcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libmsc/msc_mgcp.c b/src/libmsc/msc_mgcp.c index 7c49c6ebc..67a2142a1 100644 --- a/src/libmsc/msc_mgcp.c +++ b/src/libmsc/msc_mgcp.c @@ -294,7 +294,7 @@ static void fsm_crcx_ran_cb(struct osmo_fsm_inst *fi, uint32_t event, void *data .verb = MGCP_VERB_CRCX, .presence = (MGCP_MSG_PRESENCE_ENDPOINT | MGCP_MSG_PRESENCE_CALL_ID | MGCP_MSG_PRESENCE_CONN_MODE), .call_id = mgcp_ctx->call_id, - .conn_mode = MGCP_CONN_LOOPBACK + .conn_mode = MGCP_CONN_RECV_ONLY }; if (osmo_strlcpy(mgcp_msg.endpoint, mgcp_ctx->rtp_endpoint, sizeof(mgcp_msg.endpoint)) >= MGCP_ENDPOINT_MAXLEN) { @@ -397,7 +397,7 @@ static void fsm_crcx_cn_cb(struct osmo_fsm_inst *fi, uint32_t event, void *data) .verb = MGCP_VERB_CRCX, .presence = (MGCP_MSG_PRESENCE_ENDPOINT | MGCP_MSG_PRESENCE_CALL_ID | MGCP_MSG_PRESENCE_CONN_MODE), .call_id = mgcp_ctx->call_id, - .conn_mode = MGCP_CONN_LOOPBACK + .conn_mode = MGCP_CONN_RECV_ONLY }; if (osmo_strlcpy(mgcp_msg.endpoint, mgcp_ctx->rtp_endpoint, sizeof(mgcp_msg.endpoint)) >= MGCP_ENDPOINT_MAXLEN) { -- cgit v1.2.3