diff options
-rw-r--r-- | openbsc/src/bssap.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsc/src/bssap.c b/openbsc/src/bssap.c index 8941bab21..7d14175ba 100644 --- a/openbsc/src/bssap.c +++ b/openbsc/src/bssap.c @@ -439,6 +439,12 @@ static int bssmap_handle_assignm_req(struct sccp_connection *conn, msc_data->rtp_port = rtp_calculate_port(multiplex, rtp_base_port); DEBUGP(DMSC, "Sending ChanModify for speech on: sccp: %p mode: 0x%x\n", conn, chan_mode); + if (chan_mode == GSM48_CMODE_SPEECH_AMR) { + msg->lchan->mr_conf.ver = 1; + msg->lchan->mr_conf.icmi = 1; + msg->lchan->mr_conf.m5_90 = 1; + } + return gsm48_lchan_modify(msg->lchan, chan_mode); reject: |