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
This commit is contained in:
parent
defc3c8caf
commit
65d8d0d9b5
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue