osmo-bsc/openbsc/include/openbsc
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 OML: Improve OML attribute handling 2016-11-01 21:56:22 +00:00
abis_nm.h ctrl/abis: When the max_power_reduction changes, send it to the BTS 2014-03-26 18:08:22 +01:00
abis_om2000.h Support configuration of CON MO Groups/Paths from VTY 2016-11-13 21:22:29 +01:00
abis_rsl.h dyn TS: clearly use lchan[0], fixing minor confusion 2016-08-27 02:23:47 +00:00
arfcn_range_encode.h si: Fix range1024 encoding 2014-01-16 12:04:30 +01:00
auth.h MM Auth: introduce AUTH_ERROR constant. 2016-03-31 11:56:29 +02:00
bsc_api.h mscsplit: move subscriber conns list into struct gsm_network 2016-09-26 02:25:46 +02:00
bsc_msc.h bsc: Check for the rand and then generate a res 2015-07-01 08:16:41 +02:00
bsc_msg_filter.h filter: Move the con_type into the filter_state 2015-05-03 22:09:02 +02:00
bsc_nat.h NAT: reload BSCs config dynamically 2016-04-14 08:37:34 -04:00
bsc_nat_callstats.h nat: Move the callstats to a new header file due sccp usage 2013-04-22 09:07:39 +02:00
bsc_nat_sccp.h filter: Move the con_type into the filter_state 2015-05-03 22:09:02 +02:00
bsc_rll.h misc: Move from u_int to uint types of stdint.h 2011-04-18 17:31:39 +02:00
bss.h hsl: Remove the support for the HSL bts from OpenBSC 2013-07-03 16:19:41 +02:00
bts_ipaccess_nanobts_omlattr.h OML: Improve OML attribute handling 2016-11-01 21:56:22 +00:00
chan_alloc.h Revert "bts: extend bts_chan_load to allow counting tch only" 2016-09-28 00:28:01 +00:00
crc24.h crc24: Include stdint.h as a possible compile fix 2011-04-19 20:06:26 +02:00
ctrl.h enable ctrl bind config for various programs 2016-02-25 12:18:04 +01:00
db.h Make random MSISDN assignment optional 2016-07-09 19:52:54 +00:00
debug.h V.42bis: integration and unit test 2016-09-24 03:17:59 +00:00
e1_config.h fix some "implicit declaration" warnings in libbsc 2011-09-06 09:32:14 +02:00
gb_proxy.h gbproxy: Check whether gbproxy_update_link_state_after() deletes the link_info 2016-11-15 22:32:02 +00:00
gprs_gb_parse.h gbproxy: Patch BSSGP P-TMSI in PAGING PS messages 2014-10-27 11:59:28 +01:00
gprs_gmm.h IuPS: add Iu response to create_pdp_conf() 2016-09-01 23:44:45 +02:00
gprs_gsup_client.h gsup/oap: add OAP to GSUP client. 2015-11-02 12:56:47 +01:00
gprs_llc.h SNDCP: add RFC1144 header compression functionality 2016-09-24 03:17:58 +00:00
gprs_llc_xid.h Adding LLC-XID encoder / decoder and unit test 2016-08-27 04:45:54 +00:00
gprs_sgsn.h IuPS: sgsn_mm_ctx: add enum gprs_pmm_state field, track PMM state 2016-09-02 04:29:01 +02:00
gprs_sndcp.h SNDCP: add RFC1144 header compression functionality 2016-09-24 03:17:58 +00:00
gprs_sndcp_comp.h SNDCP: add RFC1144 header compression functionality 2016-09-24 03:17:58 +00:00
gprs_sndcp_dcomp.h SNDCP: add V.42bis data compression functionality 2016-09-24 03:17:59 +00:00
gprs_sndcp_pcomp.h SNDCP: add RFC1144 header compression functionality 2016-09-24 03:17:58 +00:00
gprs_sndcp_xid.h SNDCP: add SNDCP-XID encoder/decoder and unit test 2016-09-24 03:17:58 +00:00
gprs_utils.h move osmo_shift_* / osmo_match_shift_* to libosmogsm 2016-04-29 13:10:37 +02:00
gsm_04_08.h gsm0408: Provide unique strings for the gsm 04.08 message 2016-01-30 09:57:49 +01:00
gsm_04_11.h sms: Increment the RP Message Reference for each transaction 2014-02-20 11:35:56 +01:00
gsm_04_80.h ussd: Add band-aid for interrogationSS 2016-11-18 19:04:37 +00:00
gsm_data.h bsc: count the usage of codec by setting the lchan active 2016-10-27 10:17:58 +00:00
gsm_data_shared.h WIP: OM2000: Full state machine implementation using osmo_fsm 2016-11-08 19:57:50 +00:00
gsm_subscriber.h properly #include <openbsc/gsm_data.h> from gsm_subscriber.h 2016-09-18 23:35:49 +02:00
gtphub.h gtphub: simplify/fix: one TEI mapping per tunnel. 2015-12-07 13:37:11 +01:00
handover.h comment tweak for bsc_handover_start() 2016-06-05 23:01:25 +00:00
handover_decision.h fix some "implicit declaration" warnings in osmo-nitb 2011-09-06 09:32:13 +02:00
ipaccess.h use new libosmocore gsm_23_003.h for IMEI/IMSI length 2016-04-29 13:10:37 +02:00
iu.h IuPS: add VTY config for asn_debug 2016-08-31 11:11:07 +00:00
meas_feed.h msc: Add channel information to the meas_feed, bump version to v1. 2015-09-14 10:08:41 +02:00
meas_rep.h port over to libosmocore include/osmocom/gsm/meas_rep.h 2014-08-25 09:20:33 +02:00
mgcp.h osmux: Allow to listen to a specific address 2015-10-12 20:06:16 +02:00
mgcp_internal.h mgcp: Use the right bind addresses for NET and BTS 2015-10-12 09:37:35 +02:00
mgcp_transcode.h mgcp: Add transcoding from PCMU as well 2015-08-19 15:44:44 +02:00
misdn.h src: port openBSC over libosmo-abis 2011-08-19 22:38:35 +02:00
mncc.h osmo-nitb: add -M to pass specific MNCC socket path 2016-02-25 12:18:03 +01:00
mncc_int.h mncc: Use the default codec from the built-in mncc mode 2015-09-14 10:12:29 +02:00
nat_rewrite_trie.h nat: Allow to use the prefix lookup to rewrite numbers 2013-07-31 16:36:40 +02:00
network_listen.h [ipaccess-config] fix bugs in generating the PHYSICAL CONFIG attribute 2010-07-22 21:54:19 +02:00
oap.h OAP: use osmo_oap_ prefix for OAP, rather than plain oap_ 2016-04-29 13:10:37 +02:00
oap_messages.h osmo_oap_decode(): Use common argument ordering 2016-04-29 13:10:37 +02:00
openbscdefines.h License change: We are now AGPLv3+ instead of GPLv2+ 2011-01-01 15:39:34 +01:00
osmo_bsc.h bsc: Add access list filtering to the BSC 2015-05-03 22:33:35 +02:00
osmo_bsc_grace.h bsc: Allow to page a BTS that is excluded from the RF lock 2013-01-28 15:41:27 +01:00
osmo_bsc_rf.h ctrl: Remember last 'rf_locked' control command 2013-09-11 20:27:08 +02:00
osmo_msc.h bsc_msc: Remove use_count from the subscriber connection 2010-06-28 18:01:47 +08:00
osmo_msc_data.h bsc: Rename core_ncc to core_mnc 2015-07-13 11:06:10 +02:00
osmux.h osmux: Add negotiation state so race conditions can't disable osmux 2016-07-11 19:19:05 +00:00
paging.h bsc: Allow to page a BTS that is excluded from the RF lock 2013-01-28 15:41:27 +01:00
rest_octets.h Modify SI 13 field for control_ack_type 2016-09-17 10:00:58 +00:00
rrlp.h fix some "implicit declaration" warnings in osmo-nitb 2011-09-06 09:32:13 +02:00
rs232.h move openbsc into its own subdirectory 2009-06-10 05:40:52 +08:00
rtp_proxy.h Use 'defines' for length and duration of RTP payload 2014-01-26 08:49:35 +01:00
sgsn.h SNDCP: add V.42bis data compression functionality 2016-09-24 03:17:59 +00:00
signal.h sgsn: Add various signals consumed by CDR or other client code 2015-05-06 17:14:51 +02:00
silent_call.h silent_call: Use the gsm_subscriber_connection instead of lchan->conn 2010-06-21 16:40:09 +08:00
slhc.h RFC1144: integration and unit-test 2016-09-24 03:17:58 +00:00
smpp.h smpp: refactor initialization, add bind address 2016-02-25 12:18:04 +01:00
sms_queue.h sms: Allow setting amount of failures through the vty. 2010-12-26 09:40:30 +01:00
socket.h src: use namespace prefix osmo_fd* and osmo_select* 2011-05-06 12:11:23 +02:00
system_information.h Add vty check for max si2quater size 2016-04-22 14:56:06 +02:00
token_auth.h fix some "implicit declaration" warnings in osmo-nitb 2011-09-06 09:32:13 +02:00
transaction.h cosmetic: transaction.h: 1 comment typo, 1 whitespace 2016-09-19 11:51:12 +00:00
trau_mux.h trau: Fix compiler warning about decoded_trau_frame 2014-02-20 11:19:32 +01:00
trau_upqueue.h fix some "implicit declaration" warnings in libtrau 2011-09-06 09:32:14 +02:00
ussd.h src: use new library libosmogsm and new path to headers in libosmocore 2011-03-23 18:17:56 +01:00
v42bis.h V.42bis: integration and unit test 2016-09-24 03:17:59 +00:00
v42bis_private.h V.42bis: integration and unit test 2016-09-24 03:17:59 +00:00
vty.h Support configuration of CON MO Groups/Paths from VTY 2016-11-13 21:22:29 +01:00