aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
AgeCommit message (Collapse)AuthorFilesLines
2009-07-29Merge commit 'origin/master'Harald Welte3-7/+8
2009-07-29fix typo when using sizeof() to determine the size of the RTCP headerHarald Welte1-1/+1
This was spotted by zecke, thanks.
2009-07-29rtp_proxy.c: Spelling fix, kook -> lookHolger Hans Peter Freyther1-1/+1
2009-07-29db_test.c: Make it compile againHolger Hans Peter Freyther1-6/+6
2009-07-29vty/command.c: Fix compile warning by including gsm_subsriber.hHolger Hans Peter Freyther1-0/+1
2009-07-28add RTP proxy mode for ip.accessHarald Welte6-37/+296
Up until now, we only supported direct RTP streams between ip.access BTS. With this commit, the user can specify '-P' to the command line to enable a RTP/RTCP proxy inside OpenBSC. The nanoBTS will then send all their voice data to OpenBSC, which will relay it to the respective destination BTS (which can be the same BTS). The default behaviour remains unchanged. Without '-P' on the command line, RTP/RTCP is exchanged directly.
2009-07-28improve ip-access BIND/CONNECT RTP supportHarald Welte1-7/+51
* explicitly set the "ip speech mode" IE during BIND and CONNECT messages, depending on the speech codec used by the voice call * more verbose debug messages regarding IPAC_BIND and IPAC_CONNECT * do not always blindly specify RTP payload type, but use the value returned by BIND_ACK, _if_ it is present.
2009-07-28send a [new] signal in case of IPAC_DISCONNECT_INDicationHarald Welte2-0/+3
2009-07-28implement human-readable RSL cause printingHarald Welte2-20/+74
2009-07-28enable select.c handler to support removal of two consecutive fd'sHarald Welte1-0/+9
2009-07-28Merge branch 'master' into rtp_proxyHarald Welte11-53/+64
2009-07-28move allocation of talloc contexts into link-time constructorHarald Welte11-53/+64
This is much more optimal than checking if the context exists every time we allocate the respective object.
2009-07-28add new rtp_proxy code, but not use it yetHarald Welte2-0/+352
The rtp_proxy.[ch] code is intended to be used as a transparent RTP/RTCP proxy, relaying the media streams from one ip.access BTS to another. In an 'ideal' network, this is obviously not needed, since the BTS's can send those streams directly between each other. However, for debugging, 'lawful interception', transcoding or interfacing a TRAU/E1 based BTS, we actually need to process those RTP streams ourselves.
2009-07-23move allocating new transaction_ids to transaction.cHarald Welte3-19/+18
2009-07-23add missing files to gitHarald Welte2-0/+150
2009-07-23trans->transaction_id now reflects the actual (unshifted) valueHarald Welte1-9/+9
2009-07-23centralize the code that needs to deal with transaction_idHarald Welte2-80/+43
There were many places in the code where we had to explicitly reference the transaction_id and put it into a packet. By introducing and optional gsm_trans parameter to gsm48_sendmsg(), we can implement this code once rather than dozens of time.
2009-07-23make sure subscr->net is always setHarald Welte7-29/+52
since a subscriber is an element of the gsm_network, we have to ensure subscr->net is always set correctly. We do this by using gsm_network as an argument to all functions that resolve or create a subscriber.
2009-07-23remove bogus 'network' member of 'struct gsm_transaction'Harald Welte2-33/+35
Since a transaction is associated to a gsm_subscriber, and the subsciber is part of a network, we don't need to have a dedicated transaction->network pointer.
2009-07-23gms_transactions data model reorganizationHarald Welte4-130/+91
This changeset factors out gsm_transaction as something independent of call control in preparation to re-use the code from SMS. A transaction is uniquely identified by either its callref, or by a tuple of (transaction_id, protocol, subscriber).
2009-07-21allow user to set BSIC and TSC from command lineHarald Welte1-4/+19
2009-07-21use actual bts->tsc rather than hard-coded valueHarald Welte1-1/+1
2009-07-21use the TSC that is configured in bts->tsc rather than hardcoded valueHarald Welte1-1/+1
2009-07-19send DEACTIVATE SACCH when sending RR CHANEL RELEASEHarald Welte3-1/+25
As per specification, we first send the RR CHANNEL RELEASE to the MS, and then tell the BTS to disable the SACCH on that channel.
2009-07-19fix copy+paste mistake in ecnoding short net name in mm infoHarald Welte1-1/+1
2009-07-18some more comments for BS11 attributesHarald Welte1-35/+36
2009-07-16bsc_hack.c: Make adding of (nano)BTS to the network dynamicHolger Hans Peter Freyther1-13/+40
Fix the FIXME and replace the hardcoded site_id's of the nanoBTS with a command line option. You can use -i DEVICE_X for every BTS you want to handle.
2009-07-12yet again some more ip.access RSL definitions + parsingHarald Welte1-1/+20
2009-07-12add some more ip.access RTP related definitionsHarald Welte1-0/+39
2009-07-12add more ipaccess 12.21 object classes, NSVC only exists onceHarald Welte2-6/+9
2009-07-12more ip.access RSL TLV parser definitionsHarald Welte1-1/+9
2009-07-12rename ip.access structure field members and variablesHarald Welte5-16/+22
to reflect that we now know their true names/meanings
2009-07-12give ip.access RSL IE's their proper namesHarald Welte2-11/+25
2009-07-12more ip.access abis_nm attributesHarald Welte4-19/+51
we also rename some existing attributes to reflect reality
2009-07-09abis_rsl.c: Clarify from which specification this table comes fromHolger Hans Peter Freyther1-1/+2
It appears to be the table of TS 05.02.
2009-07-08ipacess-config: Handle NVATTR NACKs in ipaccess-configHolger Hans Peter Freyther3-0/+42
Currently we send the attribute changes in a send and forget fashion. But sometimes the nanoBTS is sending us a NACK, e.g with a invalid unit id. Start handling the NACK and provide an error message to the user. The error message is not yet describing the cause of the error but this is a slight progress to the previous silent failure.
2009-07-05Merge commit 'origin/master'Harald Welte1-2/+21
2009-07-05Store classmark1/2/3 in equipment SQL tableHarald Welte3-18/+66
For further evaluation/analysis, this patch stores the classmark 1, 2 and 3 values of every equipment in the SQL database. We can use this non-volatile data to determine the supported features for each handset that we've ever seen on our network.
2009-07-05remove SI3 and SI4 rest octetsHarald Welte1-17/+6
As Dieter has pointed out, we currently send incorrect information in the rest octets, particularly about our GPRS capability. Since the format of the rest octets is highly complex, and we don't actually need any of those features yet, we might just fill them with padding.
2009-07-04ipaccess-config: Add --help to the ipaccess-configHolger Hans Peter Freyther1-2/+21
Just a beginning...
2009-07-04make sure we always schedule a location updating rejectHarald Welte1-6/+5
IT sems that if a MS uses the TMSI of a previous network, we did not start the reject timer. Thanks to Andreas Eversberg.
2009-07-04remove bogus extra check for data->imsi[0] in mncc_sendHarald Welte1-2/+1
As Andreas points out, we already check for this condition some 10 lines below, no need to check twice.
2009-07-04remove superfluous check for lchan->use > 0Harald Welte1-4/+2
If we receive one of those strange BS-11 "Cause 22" errors, we don't need to check if the lchan use counter is > 0. If it was 0, the lchan gets released anyway.
2009-07-04release channel on ERROR INDICATIONHarald Welte1-0/+3
This was proposed by Andreas Eversberg. I made it conditional on the T200 timer expired cause, as I'm not sure if we really should give up that quickly on other errors such as just simply receiving an unsolicited response.
2009-07-04gsm48 lchan signal handling: use correct pointerHarald Welte1-1/+1
As Andreas Eversberg has pointed out, we need to use signal_data rather than handler_data.
2009-07-04make sure misdn plugin handles DL_UNITDATA_INDHarald Welte1-0/+1
This reportedly fixes the problem that we didn't see MEASurement REPort messages from the BS-11.
2009-07-03add more TLV parser definitiosn for IPA NM attributesHarald Welte2-2/+14
2009-07-03add code to ipaccess-config set nanoBST NVRAM attributesHarald Welte2-2/+41
2009-07-01Merge branch 'master' of gitosis@bs11-abis.gnumonks.org:openbscHarald Welte3-3/+3
2009-07-01ip.access test numbersHarald Welte1-0/+8