patch: fix of paging result issue

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Andreas.Eversberg Andreas.Eversberg at versatel.de
Mon Nov 16 17:52:31 UTC 2009


hi,

one of my nokia phones 6310i:

V 04.20
04-03-02
NPE-4
(c) NPM.

when the subscriber is paged, the phone will answer with
"CHREQ_T_PAG_R_ANY" value (ra=0x83). because the phone does not tell use
what it wants, i must assume that there may be a need for a traffic
channel. without this patch, the call will be made with wrong channel
type:

<0200> paging.c:113 Going to send paging commands: imsi:
'262XXXXXXXXXXX' tmsi: '0x3044ea7a'
<0010> abis_rsl.c:1179 Activating ARFCN(121) TS(0) SS(0) lctype SDCCH
chan_nr=0x20 r=PAGING ra=0x83

can we figure out which subscriber did the channel request? if so, we
can check what channel type is required. (we can look through the
transactions and select the required channel type. if a transaction with
higher rate is paging, we can assign this channel type.)

any ideas?

regards,

andreas



diff --git a/openbsc/src/gsm_04_08_utils.c
b/openbsc/src/gsm_04_08_utils.c
index 6ffb109..2c30d13 100644
--- a/openbsc/src/gsm_04_08_utils.c
+++ b/openbsc/src/gsm_04_08_utils.c
@@ -283,7 +283,7 @@ static const enum gsm_chan_t ctype_by_chreq[] = {
 	[CHREQ_T_VOICE_CALL_TCH_H]	= GSM_LCHAN_TCH_H,
 	[CHREQ_T_DATA_CALL_TCH_H]	= GSM_LCHAN_TCH_H,
 	[CHREQ_T_LOCATION_UPD]		= GSM_LCHAN_SDCCH,
-	[CHREQ_T_PAG_R_ANY]		= GSM_LCHAN_SDCCH,
+	[CHREQ_T_PAG_R_ANY]		= GSM_LCHAN_TCH_F,
 	[CHREQ_T_PAG_R_TCH_F]		= GSM_LCHAN_TCH_F,
 	[CHREQ_T_PAG_R_TCH_FH]		= GSM_LCHAN_TCH_F,
 };




More information about the OpenBSC mailing list