SCCPlite Assignment Complete: include Speech Codec (Chosen)
Compose the Speech Codec (Chosen) IE not only for AoIP, but also for SCCPlite: place the code that assigns the codec to sc_ptr outside of the gscon_is_aoip() if scope. This way the MSC is told the chosen speech codec, which is mandatory for IP based user plane, and was missing until now. Related: OS#3528 Change-Id: Ibedade8d71a7994d25a63bc2faa2a24a10bfffa1
This commit is contained in:
parent
c3751a3897
commit
320352f510
|
@ -163,13 +163,13 @@ static void send_assignment_complete(struct gsm_subscriber_connection *conn, str
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
addr_local_p = &addr_local;
|
addr_local_p = &addr_local;
|
||||||
|
}
|
||||||
|
|
||||||
/* Extrapolate speech codec from speech mode */
|
/* Extrapolate speech codec from speech mode */
|
||||||
|
/* FIXME: AMR codec configuration must be derived from lchan1! */
|
||||||
gsm0808_speech_codec_from_chan_type(&sc, perm_spch);
|
gsm0808_speech_codec_from_chan_type(&sc, perm_spch);
|
||||||
sc_ptr = ≻
|
sc_ptr = ≻
|
||||||
}
|
}
|
||||||
/* FIXME: AMR codec configuration must be derived from lchan1! */
|
|
||||||
}
|
|
||||||
|
|
||||||
resp = gsm0808_create_ass_compl(lchan->abis_ip.ass_compl.rr_cause,
|
resp = gsm0808_create_ass_compl(lchan->abis_ip.ass_compl.rr_cause,
|
||||||
chosen_channel,
|
chosen_channel,
|
||||||
|
|
Loading…
Reference in New Issue