AgeCommit message (Collapse)AuthorFilesLines
2015-11-09sup: fix handling update location result messagefairwaves/supIvan Kluchnikov1-0/+6
If LUR procedure timed out, we should just skip update location result message.
2015-10-24subscr: Add new configuration parameter "subscriber-create-only-local"Ivan Kluchnikov4-2/+57
This mode allows to create a new record only for a subscriber from our network. IMSI and MNC, MCC are used for checking that subscriber belongs to our network.
2015-10-24reg-proxy: add application which allows translate SUP to SIP and SIP to SUPIvan Kluchnikov17-2/+1839
2015-10-24sup: Fix msisdn decodingIvan Kluchnikov1-1/+1
2015-10-24sup: Change status of waiting_for_remote_accept before checking subscriberIvan Kluchnikov1-2/+2
2015-10-24nitb: Integrate the SUP client into the osmo-nitbIvan Kluchnikov1-0/+9
2015-10-24msc: Implement 'remote' authentication policyIvan Kluchnikov8-14/+55
- 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.
2015-10-24sup: Add functions to create/handle SUP messagesIvan Kluchnikov2-0/+410
- Add functions to send location update request and handle responses. - Add functions to query auth info and handle responses.
2015-10-24debug: Add DSUP debug category for subscriber update protocolIvan Kluchnikov2-0/+6
2015-08-21debian: Update changelog to 0.14.0-fw.3Alexander Chemeris1-0/+7
2015-08-21utils: Support new fields in the v1 of meas_feed in meas_json.Alexander Chemeris2-4/+24
2015-08-20msc: Add channel information to the meas_feed, bump version to v1.Alexander Chemeris2-1/+22
2015-08-20debian: Update changelog to 0.14.0-fw.2fairwaves/0.14.0-fw.2Ivan Kluchnikov1-0/+6
2015-08-20sms: Do not go through the routing a second timeHolger Hans Peter Freyther1-1/+7
If we have tried SMPP first and it was not routable, and then tried the local delivery there is no point in trying SMPP with the same parameters again. Leave early and return unknown sub to the caller.
2015-08-20sms: Add a way to always route SMS through SMPP systemsHolger Hans Peter Freyther5-0/+73
default-route would only be looked at after there has been no subscriber in the local database. Depending on the setup this is not what one wants. This has been discussed at the OsmoDevCon and there have been hacks in some branches. Let's introduce a VTY command to select if SMPP should be consulted first and then fallback to the current behavior.
2015-08-20sms: Simplify the return handling for SMPP routes/unroutableHolger Hans Peter Freyther1-2/+1
2015-08-20sms: Put the try_deliver into the header fileHolger Hans Peter Freyther2-2/+8
Even if it is using BSC/NITB types let's put it in the header file than just declaring it at a place that could bitrot in a way that doesn't lead a warning.
2015-08-20sms: Move the routing of the sms to a separate functionHolger Hans Peter Freyther1-39/+50
The "default-route" for SMPP will be used after a local subscriber look-up. Sometimes we want to route everything to SMPP. Make this possible by changing this routine.
2015-07-30fix: extension-prefix equal to 0 is used as default valueIvan Kluchnikov1-1/+1
2015-07-27debian: Update changelog to 0.14.0-fw.1fairwaves/0.14.0-fw.1Ivan Kluchnikov1-0/+7
2015-07-27utils: 'meas_json' utility to convert measurement feed into a JSON feed.Alexander Chemeris3-1/+175
2015-07-22sub: Add the ability to set prefix for randomly generated extensionsIvan Kluchnikov7-13/+33
Prefix is added before randomly generated extension. Prefix is useful in case of "accept-all" authentication mode is used and routing based on number prefix is used. Added optional configuration parameter "extension-prefix".
2015-07-22debian: osmocom-meas-utils should not depend on -dev packagesIvan Kluchnikov1-2/+2
2015-05-30libbsc: Update a BTS's SIs when ms_max_power is changed from VTY.Alexander Chemeris1-0/+8
Otherwise you have to restart BTS or at least break the RSL connection to apply the change.
2015-05-30libbsc: Abstract out SIs update/generation for a BTS into a separate function.Alexander Chemeris3-14/+28
The code to do that doesn't belong to the control interface, so abstract it out to a separate function gsm_bts_set_system_infos().
2015-05-30debian: Add osmocom-meas-utils packageIvan Kluchnikov3-2/+21
2015-05-27libmsc: Update 'max_power_red' VTY command.Alexander Chemeris1-9/+24
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.
2015-05-27debian: build only osmo-nitb packageIvan Kluchnikov3-99/+3
- enable smpp support - disable the gbproxy test (failing)
2015-05-26gsm_04_08: Use osmo_assert for transt->conn and conn only in case of paging ↵Ivan Kluchnikov1-3/+2
succeeded setup_trig_pag_evt function can receive parameter conn = NULL, if T3113 expires.
2015-05-26osmo-nitb support for codec negotiationAndreas Eversberg5-71/+111
The caller's most preferred codec is selected out of the union of codecs, which both parties support. Since codec negotiation is done automatically, there is no need to define codec for TCH/F and TCH/H via VTY anymore. Conflicts: openbsc/src/libmsc/gsm_04_08.c openbsc/src/libmsc/vty_interface_layer3.c
2015-05-26If requested TCH/H channel is not available, try assigning TCH/FAndreas Eversberg1-0/+10
If MNCC application requests a half rate channel, the channel might not be available, due to different cell configuration, so the full rate channel is used instead.
2015-05-26Fix: If paging for half rate was requested, use hr, if supported by MSAndreas Eversberg1-1/+1
2015-05-26Add full AMR multirate IE support with VTY config for MS and BTS sideAndreas Eversberg9-42/+474
Conflicts: openbsc/include/openbsc/gsm_data_shared.h openbsc/src/libbsc/bsc_vty.c openbsc/src/libbsc/chan_alloc.c
2015-05-26Drop bad speech frames rather than forwarding them via RTPAndreas Eversberg1-0/+9
Some RTP endpoints may not check for bad frame indications, so a frame that is marked as bad may be still forwarded, which creates anoying noise. This patch drops these frames. It depends on the other RTP endpoint how dropped frames are handled. (insert silence, extrapolate speech...)
2015-05-26Add check for non existing lchan at tch_frame_down()Andreas Eversberg1-0/+4
Traffic cannot sent to BTS, if there is (currently) no logical channel associated with the transaction. This happens, if TCH traffic is received from upper layer, but there is no lchan available before completing immediate assignment, handover or assignment process.
2015-05-26Send RADIO LINK TIMEOUT value via OML attribute to BTSAndreas Eversberg1-0/+4
The same radio link timeout value is used for BTS and MS side.
2015-05-26Add option to set RADIO LINK TIMEOUT value via VTYAndreas Eversberg4-3/+33
2015-05-26Allow dynamic RTP payload types between application and MNCC interfaceAndreas Eversberg4-18/+46
Since EFR/AMR/HR codecs use dynamic RTP payload, the payload type can be set. If it is set, the frame type must be set also, so OpenBSC knows what frame types are received via RTP. This modification only affects traffic beween application and MNCC interface, not the RTP traffic between OpenBSC and BTS. Conflicts: openbsc/src/libtrau/rtp_proxy.c
2015-05-26Add traffic forwarding via RTP to remote applicationAndreas Eversberg15-43/+253
Instead of forwarding traffic through MNCC interface, traffic can be forwarded to a given RTP peer directly. A special MNCC message is used to control the peer's destination. The traffic can still be forwarded through MNCC interface when this special MNCC message is not used. It also works with E1 based BTSs. In conjunction with LCR's "rtp-bridge" feature, the RTP traffic can be directly exchanged with a remote SIP endpoint, so that the traffic is not forwarded by LCR itself. This way the performance of handling traffic only depends on OpenBSC and the remote SIP endpoint. Also the traffic is exchanged with the SIP endpoint without transcoding, to have maximum performance. Increment MNCC version to 5. Conflicts: openbsc/tests/gbproxy/gbproxy_test.c
2015-05-05Merge branch 'zecke/features/gprs-gsup-fixes'Holger Hans Peter Freyther11-10/+170
When communicating with a GGSN that is not the OpenGGSN the PDP context activation does fail. This is because on the activation of the first PDP context we need to supply a MSISDN. Extend the protocol, parse the MSISDN and then send it to the GGSN. The second item is that we have only forwarded the requested QoS of the subscriber. In most cases this is 0x0, 0x0, ... which means one requests a rate 0 byte/sec which the GGSN will not allow. Make it possible to receive, store and use the subscribed QoS of the Subscriber.
2015-05-05sgsn: Show the QoS that has been assignedHolger Hans Peter Freyther1-1/+2
2015-05-05sgsn: Dump the E164 (encoded) assigned to the subscriberHolger Hans Peter Freyther1-0/+5
2015-05-05sgsn: Handle different levels of QoSHolger Hans Peter Freyther1-5/+12
If QoS is only three bytes it does not include the allocation/ retention policy. Otherwise it does. Copy it depending on that. We should have a macro for the clamping to reduce code duplication. The insanity does come from the MAP data and this seems to be the easiest in terms of complexity. It is an array of bytes that is transported from MAPProxy to the SGSN and then simply forwarded. The case of more than three bytes is neither unit nor manually tested so far.
2015-05-05sgsn: Store subscribed QoS and attempt to use itHolger Hans Peter Freyther5-4/+41
sgsn_create_pdp_ctx should use the subscribed QoS. When selecting the PDP context we inject the QoS to be used into the TLV structure and use it during the request. Assume a "qos-Subscribed" structure only with three bytes and prepend the Allocation/Retention policy to the request.
2015-05-05sgsn: Copy the msisdn to the sgsn_data and use it in PDP activationHolger Hans Peter Freyther4-2/+36
The MSISDN should be present for "security" reasons in the first activation of a PDP context. Take the encoded MSISDN, store it for future use and then put it into the PDP activation request. The MM Context contains a field for a decoded MSISDN already. As we need to forward the data to the GGSN I want to avoid having to store TON and NPI in another place. Simply store the data in the encoded form.
2015-05-05gsup: Extract the QoS fieldHolger Hans Peter Freyther3-1/+15
Add roundtrip test for the new QoS IE. It will be consumed in later commits.
2015-05-05gsup: Extract the new MSISDN stringHolger Hans Peter Freyther3-0/+17
Extract the new MSISDN IE from the GSUP message and verify that it is read/written to the message.
2015-05-05gsup: Specify the QoS service for the PDP infoHolger Hans Peter Freyther1-0/+22
QoS is a mess. In MAP there is qos-Subscribed which is then extended using ext-QoS-Subscribed, ext2-QoS-Subscribed, ext3-QoS-Subscribed and maybe even ext4-QoS-Subscribed by now. The MAP ASN1 files defined how these need to be "linearized". Instead of copying this I have decided to include the two semantics with/without the Allocation/Retention policy using the size of the data.
2015-05-05gsup: Document passing MSISDN as part of the responseHolger Hans Peter Freyther1-0/+23
When asking the GGSN to create/open a PDP context one needs to send a MSISDN. The MSISDN can only be provided through the GSUP interface.
2015-05-03Merge branch 'zecke/features/acc-list'Holger Hans Peter Freyther28-713/+1098
Integrate the change and see how it is going. The unit tests for the NAT look good so we might not have regressions.