osmo-msc/openbsc/src
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
..
gprs Correct Logging macro for pdpctx_timer_start 2016-11-17 12:19:01 +05:30
ipaccess abisip-find: use protocol constant 2016-11-15 22:35:38 +00:00
libbsc OM2000: Fix missing dynamic TCH initialization 2016-11-16 18:20:22 +01:00
libcommon Support configuration of CON MO Groups/Paths from VTY 2016-11-13 21:22:29 +01:00
libfilter Consistenly format variables in */Makefile.am files 2016-09-15 15:55:02 +02:00
libiu info log: iu: add line break to and tweak rx RAB Ass Resp log 2016-10-30 18:28:27 +00:00
libmgcp COSMETIC: 'if' is not a function, so there is space before '(' 2016-09-28 00:47:28 +00:00
libmsc ussd: Add band-aid for interrogationSS 2016-11-18 19:04:37 +00:00
libtrau Consistenly format variables in */Makefile.am files 2016-09-15 15:55:02 +02:00
osmo-bsc msgb talloc ctx: initialize in all main() scopes 2016-10-13 13:14:41 +00:00
osmo-bsc_mgcp msgb talloc ctx: initialize in all main() scopes 2016-10-13 13:14:41 +00:00
osmo-bsc_nat fix use after free in bsc_config_free 2016-11-10 03:19:22 +01:00
osmo-nitb Cosmetic: Add missing switch to usage help 2016-11-01 21:56:23 +00:00
utils bs11_config: remove compiler waring about unused variable 2016-11-11 15:34:05 +00:00
Makefile.am Consistenly format variables in */Makefile.am files 2016-09-15 15:55:02 +02:00