cc trans: remove unused tch_rtp_create

Use of this flag was dropped when adding inter-BSC and inter-MSC Handover
support, I forgot to remove it.

Change-Id: I5ec78e30eb36fbe78a3f7c46bfa44af5a4eb7bf2
changes/62/15962/1
Neels Hofmeyr 3 years ago
parent 82f58fed6a
commit e04cd98121
  1. 4
      include/osmocom/msc/transaction.h
  2. 14
      src/libmsc/gsm_04_08_cc.c

@ -87,10 +87,6 @@ struct gsm_trans {
/* bearer capabilities (rate and codec) */
struct gsm_mncc_bearer_cap bearer_cap;
/* if true, TCH_RTP_CREATE is sent after the
* assignment is done */
bool tch_rtp_create;
union {
struct {

@ -1655,20 +1655,6 @@ static int tch_rtp_create(struct gsm_network *net, uint32_t callref)
}
LOG_TRANS_CAT(trans, DMNCC, LOGL_DEBUG, "rx %s\n", get_mncc_name(MNCC_RTP_CREATE));
/* When we call msc_mgcp_call_assignment() we will trigger, depending
* on the RAN type the call assignment on the A or Iu interface.
* msc_mgcp_call_assignment() also takes care about sending the CRCX
* command to the MGCP-GW. The CRCX will return the port number,
* where the PBX (e.g. Asterisk) will send its RTP stream to. We
* have to return this port number back to the MNCC by sending
* it back with the TCH_RTP_CREATE message. To make sure that
* this message is sent AFTER the response to CRCX from the
* MGCP-GW has arrived, we need will instruct msc_mgcp_call_assignment()
* to take care of this by setting trans->tch_rtp_create to true.
* This will make sure that gsm48_tch_rtp_create() (below) is
* called as soon as the local port number has become known. */
trans->tch_rtp_create = true;
/* Assign call (if not done yet) */
return msc_a_try_call_assignment(trans);
}

Loading…
Cancel
Save