aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-07-29generalize channel activation / channel mode modifyHarald Welte5-88/+93
* we only need one piece of code to calculate rsl_ie_chan_mode from our run-time data structures (gsm_lchan) * add some more channel modes for TCH/H and data * use enum's to make the compiler warn us about unhandled enum values * make sure the caller determines the (signalling,speech,data) mode
2009-07-29actually derive the ip.access speech mode from tch_modeHarald Welte1-18/+16
also make sure we always print the speech_mode on IPAC_BIND and IPAC_CONNECT.
2009-07-29postpone IPAC_BIND until we do a LCHAN_MODIFYHarald Welte1-7/+18
only after the LCHAN_MODIFY we know the final mode of the channel, so we have to postpone our IPAC_BIND until then to make sure we set the correct speech codec.
2009-07-29comments about the bearer_capability structureHarald Welte1-6/+7
2009-07-29bearer capability definitionsHarald Welte1-0/+28
2009-07-29add support for more RSL channel modesHarald Welte1-1/+20
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-28Merge commit 'origin/master'Harald Welte28-445/+1342
2009-07-28Merge branch 'rtp_proxy'Harald Welte7-25/+636
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-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-12parse ip.access connection statistics and speech typeHarald Welte1-300/+154
2009-07-12yet again some more ip.access RSL definitions + parsingHarald Welte2-17/+116
2009-07-12again some parser improvements for ip.acccessHarald Welte2-89/+286
most notably we now parse a number of the GPRS IE's
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-11abis_oml wireshark plugin now builds without compiler warningsHarald Welte1-111/+116
2009-07-11fix parsing of ip.access GPRS OML attributes and RSL IP + PortHarald Welte1-70/+87