Commit Graph

5925 Commits

Author SHA1 Message Date
Sergey Kostanbaev 0ce3516a47 ussd_proxy: add debug output when session is destroyed 2017-02-07 18:59:54 +03:00
Sergey Kostanbaev 2b5eb8ddb0 libmsc: use message type as an entry point and handle release complete message 2017-02-07 18:59:54 +03:00
Sergey Kostanbaev fd245fcfa8 ussd_proxy: fix reject after resultLast 2017-02-07 18:59:54 +03:00
Sergey Kostanbaev 9f24671589 ussd_proxy: add -l parameter to set loglevel in sip sofia 2017-02-07 18:59:54 +03:00
Sergey Kostanbaev acddb2a632 ussd_proxy: remove dead code 2017-02-07 18:59:54 +03:00
Kirill Zakharenko 800369d258 debian: new package for reg-proxy & ussd-proxy 2017-02-07 18:59:54 +03:00
Sergey Kostanbaev 236d81fa0c ussd_proxy: detailed help 2017-02-07 18:59:54 +03:00
Sergey Kostanbaev 8e58f575e7 ussd_proxy: handle multiple USSD sessions 2017-02-07 18:59:53 +03:00
Sergey Kostanbaev da0864dfde ussd_proxy: handle session timeout 2017-02-07 18:59:53 +03:00
Sergey Kostanbaev fc969503e1 ussd_proxy: handle error callback 2017-02-07 18:59:53 +03:00
Sergey Kostanbaev 1e4a954c73 ussd_proxy: handle USSD dialogs into sip INFO messages 2017-02-07 18:59:53 +03:00
Sergey Kostanbaev 2f4878a90f ussd_proxy: handle basic errors to release channel 2017-02-07 18:59:53 +03:00
Sergey Kostanbaev 70e6f2ec74 ussd_proxy: properly set To and From SIP headers 2017-02-07 18:59:53 +03:00
Sergey Kostanbaev be9419881c Add forgotten Makefile 2017-02-07 18:59:53 +03:00
Sergey Kostanbaev a363aa3fc0 add standalone ussd_proxy utility based on sip sofia 2017-02-07 18:59:53 +03:00
Kirill Zakharenko 9cddaeafd5 debian: added libosip2 to build dependencies 2017-02-07 18:59:53 +03:00
Alexander Chemeris 9fe68b0fbc libmsc: Add a comment to the HLR SUP socket creation. 2017-02-07 18:59:53 +03:00
Alexander Chemeris 1c30463e76 libmsc: Create a separate SUP socket for USSD. 2017-02-07 18:59:53 +03:00
Alexander Chemeris bcc2567579 libmsc: Fix comment style. 2017-02-07 18:59:53 +03:00
Alexander Chemeris 924292977f libmsc: Remove sup_init() to make SUP socket initialiaton generic. 2017-02-07 18:59:53 +03:00
Alexander Chemeris a317e334c2 libmsc: Make internal functions 'static' in gsm_sup. 2017-02-07 18:59:53 +03:00
Alexander Chemeris 76c7cec298 libmsc: Whitespace fix in gsm_sup.c, no code changes. 2017-02-07 18:59:53 +03:00
Alexander Chemeris c70110945a libmsc: Rename sup_client to hlr_sup_client in preparation for multiple SUP clients. 2017-02-07 18:59:53 +03:00
Sergey Kostanbaev f5fe345dbb USSD MAP external interface over SUP 2017-02-07 18:59:53 +03:00
Ivan Klyuchnikov 07a5b120e9 Revert "ussd: Add band-aid for interrogationSS"
This reverts commit 5085e0bf4c.
2017-02-07 18:59:53 +03:00
Ivan Kluchnikov dfeabbbff6 reg-proxy: add application which allows translate SUP to SIP and SIP to SUP 2017-02-07 18:59:53 +03:00
Ivan Kluchnikov 1371303689 sup: Fix msisdn decoding 2017-02-07 18:59:53 +03:00
Ivan Kluchnikov f7cb56572a sup: Change status of waiting_for_remote_accept before checking subscriber 2017-02-07 18:59:53 +03:00
Ivan Kluchnikov 014316f514 nitb: Integrate the SUP client into the osmo-nitb 2017-02-07 18:59:53 +03:00
Ivan Kluchnikov b96f1912da msc: Implement 'remote' authentication policy
- All location update requests should be send to the remote HLR and accepted.
- Authentication info should be also received from remote HLR.
- SUP is used for sending/handling subscription data to/from remote HLR.
2017-02-07 18:59:52 +03:00
Ivan Kluchnikov adc681331e sup: Add functions to create/handle SUP messages
- Add functions to send location update request and handle responses.
- Add functions to query auth info and handle responses.
2017-02-07 18:57:31 +03:00
Ivan Kluchnikov 8516d533db debug: Add DSUP debug category for subscriber update protocol 2017-02-07 18:57:31 +03:00
Ivan Kluchnikov c6e735fd00 debian: Add osmocom-meas-utils package 2017-02-07 18:57:31 +03:00
Ivan Kluchnikov cc75a7f014 debian: build only osmo-nitb package - enable smpp support - disable the gbproxy test (failing) 2017-02-07 18:57:30 +03:00
Alexander Chemeris 1c33b89886 utils: Support new fields in the v1 of meas_feed in meas_json. 2017-02-07 18:53:38 +03:00
Alexander Chemeris 077e62cded utils: 'meas_json' utility to convert measurement feed into a JSON feed. 2017-02-07 18:53:38 +03:00
Alexander Chemeris a78396dcb3 libbsc: Update a BTS's SIs when ms_max_power is changed from VTY.
Otherwise you have to restart BTS or at least break the RSL connection
to apply the change.
2017-02-07 18:53:38 +03:00
Alexander Chemeris e9c81d2581 libmsc: Update 'max_power_red' VTY command.
Changes:
 * Apply change even if the supplied value is odd, just warn that it is rounded.
 * Apply change even if the supplied value is higher than the 24dB maximum
   suggested by the standard, just warn about this.
 * Apply change to the BTS over OML immediately.
2017-02-07 18:53:38 +03:00
Alexander Couzens 5ba6fb3ef4 gprs/sgsn_vty: fix typo in comment
Change-Id: I63225b7ba6d666eddf00b1deb893e79dc9ec842b
2017-02-07 00:41:48 +00:00
Alexander Couzens 1013550218 gprs/sgsn_mm_ctx_alloc(): initialize MM state to IDLE
Previous the state was only set in Iu mode.

Change-Id: I99a6aec1090cad9b9d38d134cc9b34ef292062df
2017-02-07 00:41:32 +00:00
Alexander Couzens 17a29ef311 gprs/gprs_mm: add value_strings for PMM & MM states
Change-Id: I4e34dcd5e48c4dd73d63c6f865298ee7d9c864be
2017-02-07 00:41:32 +00:00
Alexander Couzens 2b5fb8ed66 gprs/sgsn: rename sgsn_mm_ctx_alloc() -> sgsn_mm_ctx_alloc_gb()
Postfix the ran type to clarify the purpose.
Because of the new support of the Iu ran type, there are 2 functions to allocate a mm ctx.
For Iu it's sgsn_mm_ctx_alloc_iu(). For gb it should be named in the same way.

Change-Id: Ic49009e8c20c12308855e1409c09004698c79b95
2017-02-07 00:41:32 +00:00
Alexander Couzens 4f8da6dfd5 gprs/sgsn: rename gprs->mm_state -> gmm_state
GMM is the right term. MM state is already occupied.

Change-Id: I9cfdcf921e4ebd14a5e7ce7489ec4ce5d1f5515f
2017-02-07 00:41:31 +00:00
Neels Hofmeyr 48324fed11 vty tests: more attempts to resolve 'Broken Pipe' error (3)
Change-Id: Iea5329b6b92afc4088520d7420953106f04f8e1c
2017-02-07 00:41:16 +00:00
Neels Hofmeyr bcfee2a0a6 vty tests: more attempts to resolve 'Broken Pipe' error
Change-Id: I4251a24eb7a57a354aa76de711547c3e76ebb846
2017-02-07 00:41:06 +00:00
Max d09b26d487 Attempt to fix nightly builds
The fix introduced in dac5867af5 did not
work because autotools in our OE are too old. Use alternative way to
include custom m4 macros to fix it.

Change-Id: I5fe6d1180c2624cfe1d3673314f6846527a43464
2017-02-07 00:40:02 +00:00
Harald Welte 89837d422e VTY: Print 3G auth tuples, not just 2G auth tuples
Change-Id: I277e4347ee1486a39e6dc4e2363a593f328f9e3b
Related: OS#1592
2017-02-06 15:08:11 +01:00
Neels Hofmeyr 22a735bfd4 gsm_04_08: implement parsing of UMTS Auth responses
Parse the longer UMTS res from the extended Auth Response Parameter IE.
Parse the R99 Authentication Failure and AUTS in case of cause
GSM_REJECT_SYNCH_FAILURE which indicates a SQN re-sync request.

Both still end in 'not implemented' error logs, which are the places where the
upcoming VLR that supports UMTS AKA will integrate.

Depends on recently added constants in libosmocore in
commit 55a43b801385e07a484217925ecf2379b9f54fcf
aka change-id I745061ce8eb88aa23080dadcdbfe2d703c362a30

Change-Id: I4868bbeedc32fa7b8d03b9e3c66db618543d38ec
2017-02-06 15:08:11 +01:00
Philipp Maier e1f8b9244a om2000: add VTY command to delete CON groups
The currently unused function abis_om2000_vty.c:con_group_del()
allows deleting OM 2000 connection groups. This commit adds a
matching VTY command to make use of it.

Change-Id: I39a90b06e19356c536cacd1c923e195dd305ab80
2017-02-03 17:05:14 +01:00
Neels Hofmeyr e02e1e782f Revert "vty tests: more attempts to resolve sporadic 'Broken Pipe' error"
'self' will not be accessible in that context, so this patch isn't
useful.

This reverts commit b39053ad6d.

Change-Id: Ic1a9ba5fdfd7bdc6c5cf0974e8c637ae23b81ece
2017-02-03 05:56:50 +01:00