aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gsm_04_80.h
AgeCommit message (Collapse)AuthorFilesLines
2016-12-02factor out gen of USSD notify and release complete to libosmocoreNeels Hofmeyr1-2/+7
Both libmsc and libbsc will need distinct gsm0480_send_ussdNotify() and gsm0480_send_releaseComplete() functions, since there will be distinct subscriber connection structs. Rename to msc_send_ussd_notify() and msc_send_ussd_release_complete(), and add the same in libbsc with bsc_ prefix in new file gsm_04_80_utils.c. In preparation of this patch, the message generation part of these functions has been added to libosmocore as gsm0480_create_ussd_notify() and gsm0480_create_ussd_release_complete(). Use these. Adjust all libmsc and libbsc callers according to use the msc_* or bsc_* implementation, respectively. Change-Id: I33a84e3c28576ced91d2ea24103123431f551173
2016-11-18ussd: Add band-aid for interrogationSSHolger Hans Peter Freyther1-2/+2
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
2011-03-23src: use new library libosmogsm and new path to headers in libosmocorePablo Neira Ayuso1-3/+3
libosmogsm is a new library that is distributed in the libosmocore. Now, openbsc depends on it. This patch gets openbsc with this change. This patch also rewrites all include path to the new osmocom/[gsm|core] Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
2010-10-10ussd: Move the code libosmocore, increase the version number.Holger Hans Peter Freyther1-10/+1
Move the code to libosmocore, update the header file and the version required in the configure.in.
2010-09-30gsm_04_80: Require libosmocore for creating USSD messagesHolger Hans Peter Freyther1-6/+0
Use the libosmocore to create USSD messages, increase the minimum version of libosmocore, add header files, remove the code.
2010-07-27gsm_04_80: Allow to specify the alert pattern for the notificationHolger Hans Peter Freyther1-2/+2
Allow to specify the level (not the category) of the notification this provides an easy way to test it on the phones.
2010-07-27gsm_04_80: Send a Release Complete otherwise the USSD unit stays BUSYHolger Hans Peter Freyther1-0/+1
We need to release the USSD unit, otherwise it is staying blocked and will stop to function (even across LUs on my a1200). This code should encode the transaction and the direction depending on the network state but this is omitted right now.
2010-07-26gsm_04_80: Add untested code for USSD notification...Holger Hans Peter Freyther1-0/+2
One should be able to send a USSD Notification to a given subscriber if we has an active link...
2010-07-26gsm_04_80: Add code to wrap a facility IE around.Holger Hans Peter Freyther1-0/+2
2010-07-26gsm_04_80: Create a unstructuredSS-Notify messageHolger Hans Peter Freyther1-0/+1
Create a unstructuredSS-Notify for a given type.
2010-07-26gsm_04_80: Fix the style and move the '*' to the functionHolger Hans Peter Freyther1-1/+1
2010-07-26gsm0480: Implement a generic "invoke" wrapping for messages.Holger Hans Peter Freyther1-0/+1
Implement a GSM 04.80 invoke wrapper for a component and an invoke id.
2010-07-26gsm0480: Attempt to encode a NotifySS-Arg with a username..Holger Hans Peter Freyther1-0/+2
2010-06-17bsc_api: Remove the lchan from the USSD code...Holger Hans Peter Freyther1-4/+8
2010-02-20move GSM protocol definitions to include/osmocore/protocol/*Harald Welte1-122/+1
2010-02-20split 'libosmocore' from openbsc codebaseHarald Welte1-1/+1
This library is intended to collect all generic/common funcitionality of all Osmocom.org projects, including OpenBSC but also OsmocomBB The library currently includes the following modules: bitvec, comp128, gsm_utils, msgb, select, signal, statistics, talloc, timer, tlv_parse, linuxlist msgb allocation error debugging had to be temporarily disabled as it depends on 'debug.c' functionality which at the moment remains in OpenBSC
2009-10-26[USSD] various USSD improvementsMike Haben1-4/+6
- Improved handling of extension-number string (as per review) - Guard against a buffer-overflow if mobile sends a too-long USSD - declare some function-parameters const - fix gsm_ts_name function to display the right BTS number (bts->nr rather than bts->bts_nr)
2009-10-26[USSD] eliminate static global variablesMike Haben1-3/+12
This patch removes the need of static global variables and introduces a new, caller-allocated 'struct ussd_request' that needs to be passed to the various functions.
2009-10-26Add USDD code from Mike HabenHarald Welte1-0/+132
This is the initial checkin of the USSD code from Mike Haben. I didn't put it in the main branch as I think it still needs some cleanup.