osmo-msc/openbsc/src/libmsc
Holger Hans Peter Freyther 5085e0bf4c ussd: Add band-aid for interrogationSS
This is a speculative change for interrogateSS and by not answering
the request the radio connection would remain open long.

The SS/USSD code is from a time where none of knew much about GSM. We
do not support SS but should reject it. We have checked for an empty
string in the text field to guess if it is a result/release to not send
more information. The right way forward is to decode the ASN1 into the
fields REQUEST/RESULT(last).

Fix an issue and make the code worse. Assume ss_code > 0 to see if this
is a interrogate invoke. The issue is that code 0 is a well defined
value but unlikely to be used.

MAP ASN1 definition:

SS-Code ::= OCTET STRING (SIZE (1))
        -- This type is used to represent the code identifying a single
        -- supplementary service, a group of supplementary services, or
        -- all supplementary services. The services and abbreviations
        -- used are defined in TS 3GPP TS 22.004 [5]. The internal structure is
        -- defined as follows:
        --
        -- bits 87654321: group (bits 8765), and specific service
        -- (bits 4321)

allSS                   SS-Code ::= '00000000'B

Change-Id: Ib0dc4485388f030eb172fe21f5327b7ab94751f5
2016-11-18 19:04:37 +00:00
..
Makefile.am Consistenly format variables in */Makefile.am files 2016-09-15 15:55:02 +02:00
auth.c Start to use struct osmo_auth_vector from gsm_auth_tuple 2016-04-29 13:10:37 +02:00
ctrl_commands.c Make random MSISDN assignment optional 2016-07-09 19:52:54 +00:00
db.c Make random MSISDN assignment optional 2016-07-09 19:52:54 +00:00
gsm_04_08.c gsm0408: Adding log output for 3g specific RR messages 2016-11-01 21:56:22 +00:00
gsm_04_11.c mscsplit: directly access gsm_network backpointer from gsm_subscriber_connection 2016-09-26 02:25:46 +02:00
gsm_04_11_helper.c sms: Increment the RP Message Reference for each transaction 2014-02-20 11:35:56 +01:00
gsm_04_80.c ussd: Add band-aid for interrogationSS 2016-11-18 19:04:37 +00:00
gsm_subscriber.c Make random MSISDN assignment optional 2016-07-09 19:52:54 +00:00
meas_feed.c msc: Add channel information to the meas_feed, bump version to v1. 2015-09-14 10:08:41 +02:00
meas_feed.h Initial support for export + curses-visualization of measurements 2015-01-01 13:03:03 +01:00
mncc.c mncc.c: Convert mncc_names[] to 'struct value_string' 2015-12-12 21:43:16 +01:00
mncc_builtin.c mncc_builtin: Properly reject DTMF 2016-11-02 09:20:54 +00:00
mncc_sock.c mncc_sock: use osmo_sock_unix_init() from libosmocore 2016-07-23 19:21:17 +00:00
osmo_msc.c msc: Remove oversimplified todo entry and add a comment 2016-02-10 10:42:20 +01:00
rrlp.c mscsplit: directly access gsm_network backpointer from gsm_subscriber_connection 2016-09-26 02:25:46 +02:00
silent_call.c 04.08: apply new bitmask functions, fix bitmask use 2016-03-15 14:15:00 +01:00
smpp_openbsc.c smpp: refactor initialization, add bind address 2016-02-25 12:18:04 +01:00
smpp_smsc.c smpp: refactor initialization, add bind address 2016-02-25 12:18:04 +01:00
smpp_smsc.h smpp: refactor initialization, add bind address 2016-02-25 12:18:04 +01:00
smpp_utils.c smpp: Move the coding/mode detection into a utils file 2013-07-27 20:03:10 +02:00
smpp_vty.c smpp: refactor initialization, add bind address 2016-02-25 12:18:04 +01:00
sms_queue.c debug log for sms: fix/add 2016-09-18 23:40:06 +02:00
token_auth.c msc: Add and use gsm_subscriber_group 2014-12-05 14:59:02 +01:00
transaction.c mscsplit: directly access gsm_network backpointer from gsm_subscriber_connection 2016-09-26 02:25:46 +02:00
ussd.c ussd: Add band-aid for interrogationSS 2016-11-18 19:04:37 +00:00
vty_interface_layer3.c debug log for sms: fix/add 2016-09-18 23:40:06 +02:00