aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-08-03mgcp: Allow switching the audio streams, patch the headerHolger Hans Peter Freyther2-3/+30
Patch the sequence number, the SSRC and the timestamp to allow to mix various voice streams, e.g. toggling the loop during the call.
2010-08-03mgcp: Move the rtp state into a structHolger Hans Peter Freyther4-18/+21
Use a struct to group the rtp state for the up and the down link of the bts.
2010-08-03mgcp: Fix the documentation entry for the parametersHolger Hans Peter Freyther1-1/+1
2010-08-03Use new include paths of libosmo-sccp 0.0.2Harald Welte10-12/+12
2010-08-03Merge branch 'on-waves/mgcp'Holger Hans Peter Freyther4-7/+50
2010-08-03mgcp: Allow to change the receive (the loopback part) via the VTYHolger Hans Peter Freyther3-0/+35
2010-08-03mgcp: Implement the "loopback" mode for a connection endpoint.Holger Hans Peter Freyther3-7/+15
2010-08-02sccp: Remove the libsccp.pc.in and the occurence inside the Makefile.amHolger Hans Peter Freyther2-11/+1
2010-07-31nat: Fix compilation with nat not being enabled.Holger Hans Peter Freyther10-64/+102
common_vty.c was including bsc_nat.h which tried to get the sccp/sccp_types.h which is not required to be installed. Move all structs using/embedding SCCP structures into the bsc_nat_sccp.h and include. This should fix the compilation.
2010-07-31vty: Handle end for NAT and BSC NAT.Holger Hans Peter Freyther1-0/+2
2010-07-30network-listen: The BSIC flag is not set as expectedHarald Welte1-0/+3
2010-07-30ipaccess-config: Don't dump the Rxlevel statisticsHarald Welte1-2/+2
2010-07-30ipaccess-config: Terminate program after running BCCH INFO testHarald Welte1-1/+5
2010-07-30network_listen: dump BSIC as part of BCCH INFO testHarald Welte1-2/+2
2010-07-30ipaccess-config: Add option to disable color in log outputHarald Welte1-1/+5
2010-07-31chan_alloc: Change Channel Release to release SAPIs, then the channelHolger Hans Peter Freyther4-9/+71
Currently every SAPI release indication will trigger the channel. It was possible that we had SAPI=3 and SAPI=0 allocated and we tried to release the channel by sending a RF Channel Release, the BTS answered with a RF Channel Release ACK but also sent the SAPI Release Indication which triggered a channel release here. So it was possible that we would have released a newly allocated channel because of the SAPI release of the old connection. This code now works by releasing all SAPIs from highest to lowest, then sending a SACH Deactivate and finally releasing the channel. This approach is in use on the on-waves/bsc-master.
2010-07-31chan_alloc: After freeing set the pointer to NULL.Holger Hans Peter Freyther1-0/+1
2010-07-31sccp: Use the external libosmo-sccp as sccp implementationHolger Hans Peter Freyther16-2903/+55
Add --enable-nat and --enable-osmo-bsc to build applications requiring the Osmo SCCP library to be installed. We are not using autodiscover as this is out of fashion.
2010-07-31abis_rsl: Reduce level from notice to debug for measurement reportsHolger Hans Peter Freyther1-1/+1
It can happen that OpenBSC decides to close the lchan but we still receive some measurement reports until the BTS has decided to close the channel.
2010-07-30[BSC] use correct 0x2B padding for user-specified SIHarald Welte1-0/+4
2010-07-30[BSC] Add support for configfile-hardcoded System Information messagesHarald Welte4-20/+131
2010-07-30Add more RSL <-> Osmo SI type mappings, export osmo_sitype_strs[]Harald Welte2-2/+19
2010-07-30Use hexparse() from libosmocore >= 0.1.14Harald Welte2-28/+2
2010-07-29mgcp: Attempt to count lost packets better...Holger Hans Peter Freyther1-1/+1
2010-07-29mgcp: Provide the RTP packet loss information in the mgcp overviewHolger Hans Peter Freyther1-2/+3
2010-07-29mgcp: Attempt to count missing RTP packets with a basic calculationHolger Hans Peter Freyther3-4/+27
This code compares the UDP sequence numbers of two RTP messages and guesses if packets are missing. It is guessing in two ways: 1.) by default the sequence number is 0, so on the first value we ignore the jump... we might ignore a real issue in case of a wrap around which is easily possible as the sequence should be a random number. 2.) the UDP stream might have been reordered on the network and we would see the jump... In any case these two shortcomings are acceptable for the feature that is meant to provide some basic analysis..
2010-07-29osmo_bsc_rf: Add a grace command, send a signalHolger Hans Peter Freyther2-0/+27
2010-07-27mgcp: Rename TOS to DSCPHolger Hans Peter Freyther3-10/+16
DSCP is the more modern information for TOS and the kernel will set parts of TOS by itself (e.g. for ECN).
2010-07-27nat: Rename ip-tos to ip-dscp and provide an alias...Holger Hans Peter Freyther3-7/+13
2010-07-27gsm_04_80: Allow to specify the alert pattern for the notificationHolger Hans Peter Freyther3-9/+18
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: Embed a ss_Code inside the NotifySS-ARG...Holger Hans Peter Freyther1-1/+7
Indicate that this is about the Call Name Presentation (cnap) but the a1200 still ignores the call completelty...
2010-07-27gsm_04_80: Send a Release Complete otherwise the USSD unit stays BUSYHolger Hans Peter Freyther3-0/+18
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-27gsm_04_80: Fix the size calculation of the 04.80 message..Holger Hans Peter Freyther1-1/+1
Subtract the two bytes we were adding to the length of the message.
2010-07-26gsm_04_80: Add untested code for USSD notification...Holger Hans Peter Freyther3-0/+66
One should be able to send a USSD Notification to a given subscriber if we has an active link...
2010-07-26vty_interface_layer3: Fix a subscriber memory leak..Holger Hans Peter Freyther1-1/+3
2010-07-26gsm_04_80: Use msgb_push to get the verification code of msgbHolger Hans Peter Freyther1-11/+11
msgb started to verify that we do have enough tail/headroom and this code was not using this check.
2010-07-26gsm_04_80: Add code to wrap a facility IE around.Holger Hans Peter Freyther2-0/+10
2010-07-26gsm_04_80: Create a unstructuredSS-Notify messageHolger Hans Peter Freyther2-0/+36
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-26gsm_04_80: Use the return value of gsm_7bit_encode as lengthHolger Hans Peter Freyther1-6/+3
Use the idiom msgb_put(msg, 0) to get the data pointer, then encode the string into the msgb and then adjust the size.
2010-07-26gsm0480: Implement a generic "invoke" wrapping for messages.Holger Hans Peter Freyther2-0/+22
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 Freyther2-1/+66
2010-07-26gsm_subscriber: Increase the name to 160 charachtersHolger Hans Peter Freyther1-1/+1
160 charachters is the limit of the subscriber name inside the notifySS nameIndicator/callingName.
2010-07-23[gprs] BSSGP: Fix null pointer dereferenceHarald Welte1-2/+3
Zecke has found this using "make CC="clang --analyze"
2010-07-23meas_rep.c: clang reports a possible division by zeroHolger Hans Peter Freyther1-0/+3
Check the input and exit early if we have no measurement reports to avoid a possible division by zero.
2010-07-23nat: Clang reported two places with garbage dataHolger Hans Peter Freyther1-1/+5
Initialize the variables to NULL to fix it.
2010-07-23clang: rc is not initialized in this USSD method.Holger Hans Peter Freyther1-1/+1
2010-07-23clang: Initialize rc with zero.Holger Hans Peter Freyther1-1/+1
In the error case we are assigning errno values but for the success case we have not assigned anything to the rc variable.
2010-07-23clang: Clang warns we have this value twice...Holger Hans Peter Freyther1-1/+0
The type is TLV_TYPE_FIXED, 2 according to the ipaccess wireshark dissector.
2010-07-23nat: u_int32_t -> uint32_tHolger Hans Peter Freyther1-1/+1