Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-08-30 | nat: Replace the MGCP Endpoint if that is required | Holger Hans Peter Freyther | 1 | -1/+1 | |
Add code to replace the Endpoint number for the mgcp. | |||||
2010-08-29 | nat: Attempt to assign the BSC Timeslot based on a free list | Holger Hans Peter Freyther | 1 | -1/+5 | |
Do attempt to not reassign an endpoint immediately but go to the next free one. | |||||
2010-08-29 | nat: Remove the CRCX value from the nat | Holger Hans Peter Freyther | 1 | -1/+0 | |
Assume that if the MSC has assigned a timeslot/multiplex it will also be used for the MGCP. So we just assume that it was allocated on the BSC as well... in the worse case we will send a DLCX downstream but it should be fine. | |||||
2010-08-29 | nat: Make the code work in terms of endpoints instead of timeslot/multiplex | Holger Hans Peter Freyther | 1 | -3/+6 | |
We are going to have more than one trunk, so all code hardcoding the multiplex to zero must go. Avoid this kind of problem by saving the MGCP endpoint number and comparing that. | |||||
2010-08-29 | mgcp: Add method to go back from endpoint to multiplex/timeslot | Holger Hans Peter Freyther | 1 | -0/+9 | |
2010-08-29 | mgcp: Speculative mgcp fix... | Holger Hans Peter Freyther | 1 | -1/+1 | |
We really have 32 channels per multiplex... so use the right number... or at least it seems we do have 32. | |||||
2010-08-26 | vty: Provide a is_config_node for the VTY and use it for the bsc | Holger Hans Peter Freyther | 1 | -0/+2 | |
Right now only bsc_hack and osmo_bsc need to have a custom config handling as they use the subscr/oml nodes. | |||||
2010-08-06 | mgcp: Remember if the endpoint was allocated... | Holger Hans Peter Freyther | 1 | -0/+1 | |
Do not use the CI_UNUSED to decide if an endpoint is allocated but introduce a new flag. This way only the CRCX and free_endp play with the allocated field. | |||||
2010-08-06 | mgcp: Add a callback to inform the client that an endpoint got reallocated | Holger Hans Peter Freyther | 1 | -0/+2 | |
2010-08-06 | nat: Keep the state (CRCX,MDCX,DLCX) of the operation.. | Holger Hans Peter Freyther | 1 | -0/+2 | |
This will allow to have additional debug information and to use the state inside the forwarding code. | |||||
2010-08-06 | mgcp: Make the CI uint32_t all the way to avoid mismatch | Holger Hans Peter Freyther | 3 | -3/+3 | |
2010-08-06 | mgcp: Add a call tap feature to forward audio to another forward port | Holger Hans Peter Freyther | 1 | -0/+18 | |
For debugging it is useful to forward (tee) UDP packets to another system and use gstreamer to inspect the rtp stream. This is untested code and might contain bugs.... and of course only tap your own calls. | |||||
2010-08-05 | mgcp: Patch RTP packets again if that is allowed.openbsc/0.9.3 | Holger Hans Peter Freyther | 1 | -0/+3 | |
2010-08-05 | mgcp: Allow to dynamically allocate ports from a range.. | Holger Hans Peter Freyther | 1 | -0/+2 | |
Allow to switch to a dynamic port allocator and not reuse the ports for a long time... This should help with a crazy network sending two streams at the same time. | |||||
2010-08-05 | mgcp: Allow to have a different port allocation mode | Holger Hans Peter Freyther | 1 | -0/+5 | |
2010-08-05 | mgcp: Prepare to have different port allocation strategies. | Holger Hans Peter Freyther | 1 | -2/+16 | |
2010-08-05 | mgcp: Allocate a different port for the networking... | Holger Hans Peter Freyther | 2 | -0/+3 | |
Use the right source port when sending the message. | |||||
2010-08-05 | mgcp: Rename the base port to bts_base as it will be used for the bts | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-08-05 | mgcp: Move the bfd for rtp/rtcp into the port | Holger Hans Peter Freyther | 1 | -8/+6 | |
Stop using the memset in the mgcp_rtp_end_reset as we will reset the list pointers and then have a mess.. | |||||
2010-08-05 | mgcp: Make the function internal, only used by the init/config code | Holger Hans Peter Freyther | 2 | -1/+1 | |
2010-08-05 | mgcp: Rename the bind method to show it is only binding for the bts port | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-08-05 | mgcp: Only use early bind for the BTS socket. | Holger Hans Peter Freyther | 1 | -1/+0 | |
Simplify the code by onlt allowing one way to allocate a socket. | |||||
2010-08-05 | mgcp: Attempt to separate the RTP/RTCP port for the Network and for the BTS | Holger Hans Peter Freyther | 2 | -4/+3 | |
We plan to have two different ports for the network and for the BTS to avoid detecting the BTS and to dynamically allocate the port to have old data not go to a new socket. | |||||
2010-08-05 | mgcp: Group the state for bts/net into a struct and have two instances | Holger Hans Peter Freyther | 1 | -13/+14 | |
Group the data that each end (network/bts) have into a struct and use this struct throughout the sourcecode. | |||||
2010-08-05 | mgcp: Remove the forwarding mode as it was not used. | Holger Hans Peter Freyther | 1 | -3/+0 | |
2010-08-04 | vty: Remove the logging command that is in libosmocore | Holger Hans Peter Freyther | 1 | -1/+0 | |
2010-08-03 | mgcp: Only patch the header if we had a change in SSRCopenbsc/0.9.1 | Holger Hans Peter Freyther | 1 | -0/+1 | |
2010-08-03 | mgcp: Allow switching the audio streams, patch the header | Holger Hans Peter Freyther | 1 | -0/+5 | |
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-03 | mgcp: Move the rtp state into a struct | Holger Hans Peter Freyther | 1 | -4/+8 | |
Use a struct to group the rtp state for the up and the down link of the bts. | |||||
2010-08-03 | Use new include paths of libosmo-sccp 0.0.2 | Harald Welte | 1 | -1/+1 | |
2010-08-03 | mgcp: Allow to change the receive (the loopback part) via the VTY | Holger Hans Peter Freyther | 1 | -0/+1 | |
2010-08-03 | mgcp: Implement the "loopback" mode for a connection endpoint. | Holger Hans Peter Freyther | 1 | -0/+9 | |
2010-07-31 | nat: Fix compilation with nat not being enabled. | Holger Hans Peter Freyther | 3 | -64/+95 | |
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-31 | chan_alloc: Change Channel Release to release SAPIs, then the channel | Holger Hans Peter Freyther | 2 | -0/+3 | |
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-31 | sccp: Use the external libosmo-sccp as sccp implementation | Holger Hans Peter Freyther | 4 | -600/+1 | |
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-30 | [BSC] Add support for configfile-hardcoded System Information messages | Harald Welte | 1 | -0/+4 | |
2010-07-30 | Add more RSL <-> Osmo SI type mappings, export osmo_sitype_strs[] | Harald Welte | 1 | -0/+3 | |
2010-07-29 | mgcp: Attempt to count missing RTP packets with a basic calculation | Holger Hans Peter Freyther | 1 | -0/+6 | |
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-29 | osmo_bsc_rf: Add a grace command, send a signal | Holger Hans Peter Freyther | 1 | -0/+12 | |
2010-07-27 | mgcp: Rename TOS to DSCP | Holger Hans Peter Freyther | 1 | -1/+1 | |
DSCP is the more modern information for TOS and the kernel will set parts of TOS by itself (e.g. for ECN). | |||||
2010-07-27 | nat: Rename ip-tos to ip-dscp and provide an alias... | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-07-27 | gsm_04_80: Allow to specify the alert pattern for the notification | Holger Hans Peter Freyther | 1 | -2/+2 | |
Allow to specify the level (not the category) of the notification this provides an easy way to test it on the phones. | |||||
2010-07-27 | gsm_04_80: Send a Release Complete otherwise the USSD unit stays BUSY | Holger Hans Peter Freyther | 1 | -0/+1 | |
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-26 | gsm_04_80: Add untested code for USSD notification... | Holger Hans Peter Freyther | 1 | -0/+2 | |
One should be able to send a USSD Notification to a given subscriber if we has an active link... | |||||
2010-07-26 | gsm_04_80: Add code to wrap a facility IE around. | Holger Hans Peter Freyther | 1 | -0/+2 | |
2010-07-26 | gsm_04_80: Create a unstructuredSS-Notify message | Holger Hans Peter Freyther | 1 | -0/+1 | |
Create a unstructuredSS-Notify for a given type. | |||||
2010-07-26 | gsm_04_80: Fix the style and move the '*' to the function | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-07-26 | gsm0480: Implement a generic "invoke" wrapping for messages. | Holger Hans Peter Freyther | 1 | -0/+1 | |
Implement a GSM 04.80 invoke wrapper for a component and an invoke id. | |||||
2010-07-26 | gsm0480: Attempt to encode a NotifySS-Arg with a username.. | Holger Hans Peter Freyther | 1 | -0/+2 | |
2010-07-26 | gsm_subscriber: Increase the name to 160 charachters | Holger Hans Peter Freyther | 1 | -1/+1 | |
160 charachters is the limit of the subscriber name inside the notifySS nameIndicator/callingName. |