Project

General

Profile

Actions

Bug #3529

closed

osmo-bsc does not send the correct S0-S15 bits for AMR in the Assignment Compl Message.

Added by dexter over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
09/06/2018
Due date:
% Done:

100%

Spec Reference:

Description

AMR supports a variety of fine rates and settings. Those are set via S0-S15 in the speech codec list that is sent by the MSC to the BSC. the BSC may then choose a configuration and return it back via the ASSIGNMENT COMPLETE message.

In the documented case the S0-S15 were set to 0x0200, but we return 0xFF57. This looks problematic and when checking the source code one can see in assignment_fsm.c:send_assignment_complete() that the speech codec element is computed using gsm0808_speech_codec_from_chan_type(). This function only has perm_spc as input which is an integer and basically only sets the codec type and S0-S15 are populated with standard values. This is presumably not enough, we should take the S0-S15 from the speech codec list in the ASSIGNMENT REQUEST and work with it.


Files

assignment_complete.png View assignment_complete.png 32.5 KB dexter, 09/06/2018 02:56 PM
assignment_request.png View assignment_request.png 57.4 KB dexter, 09/06/2018 02:56 PM
02_ASSIGNMENT_REQUEST.png View 02_ASSIGNMENT_REQUEST.png 36 KB dexter, 09/21/2018 04:01 PM
03_ASSIGNMENT_COMPLETE.png View 03_ASSIGNMENT_COMPLETE.png 32.4 KB dexter, 09/21/2018 04:01 PM
01_COMPLETE_LAYER_3_INFO.png View 01_COMPLETE_LAYER_3_INFO.png 33.8 KB dexter, 09/21/2018 04:01 PM
amr_ass_fail.pcapng amr_ass_fail.pcapng 16.3 KB dexter, 09/25/2018 03:35 PM

Related issues

Related to OsmoBSC - Bug #3637: handover decision 2: properly check available codecsFeedbackneels10/09/2018

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)