aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src
AgeCommit message (Collapse)AuthorFilesLines
2011-09-07uRTP: allow vty configuration of batching factorzecke/mgcp-experimentsHarald Welte2-2/+30
there's a new "compression batching <1-15>"
2011-08-31bsc: Fix a crash in case we get a NACK from the BTS for a new channelHolger Hans Peter Freyther1-2/+6
In case of a nack the secondary_lchan will be NULLed but then the T10 timeout will attempt to release the channel and we will try to release a NULL pointer.
2011-08-31rtp: Add 5.15kb RTP mode... 15 byte per sample for 5.15kb modeHolger Hans Peter Freyther1-2/+6
2011-08-31nat: Take the TRUNK config into account if compr can be usedHolger Hans Peter Freyther1-1/+1
2011-08-31nat: Check if compression is enabled on the trunkHolger Hans Peter Freyther1-2/+8
2011-08-31nat: Enable compression on the endpoint...Holger Hans Peter Freyther1-0/+4
2011-08-31mgcp: Send things to the right side of the queueHolger Hans Peter Freyther1-1/+1
2011-08-31mgcp: Fix the packet size... really send the data..Holger Hans Peter Freyther1-0/+2
2011-08-31NAT: Fix uninitialized variable, only send X-ow for the CRCX...Holger Hans Peter Freyther1-1/+1
2011-08-30mgcp: Only enable the compression when it was requestedHolger Hans Peter Freyther1-1/+3
2011-08-30mgcp: Add a per BSC option to use compression or not use it.Holger Hans Peter Freyther3-4/+31
2011-08-30mgcp: Configure the direction the compression should workHolger Hans Peter Freyther2-0/+57
It needs to be configured correctly on the NAT.
2011-08-30mgcp: Work on compress/uncompress on a per endpoint usage...Holger Hans Peter Freyther3-26/+213
2011-08-30mgcp: Use a vendor extension to enable compression on a CRCXHolger Hans Peter Freyther1-2/+24
2011-08-30mgcp: Fix the test case, add an time adjustment to the streamHolger Hans Peter Freyther1-2/+42
2011-08-30mgcp: Update the sender state, fix the test case to deal with thatHolger Hans Peter Freyther1-0/+3
2011-08-30mgcp: Attempt to guess the size by looking at the AMR tocHolger Hans Peter Freyther1-21/+85
2011-08-30mgcp: Work on sequence numbers and document what we will need to doHolger Hans Peter Freyther1-1/+17
2011-08-30mgcp: Pick a different encoding when we need to handle Marker framesHolger Hans Peter Freyther1-49/+146
Encode a list of packets differently when we are dealing with a marker bit. We now have 7 more bits to store information, we might also want to add a mark to stop using marks.
2011-08-30mgcp: Work on the decompress, compress...Holger Hans Peter Freyther1-1/+71
2011-08-30rtp: Add routine to compress the audio samplesHolger Hans Peter Freyther2-1/+131
No way to undo the compression yet, no integration with the MGCP network code.
2011-08-30mgcp: Document what this MGCP code is doing wrongHolger Hans Peter Freyther1-0/+9
2011-08-30rtp: Move the RTP header and defines into a shared header fileHolger Hans Peter Freyther2-68/+2
2011-08-25bsc: Do not re-start the grace timer when we are in the grace period0.9.14-onwaves1Holger Hans Peter Freyther1-0/+5
2011-08-25bsc: Simplify the trap sending by using the location state methodHolger Hans Peter Freyther1-17/+2
2011-08-25bsc: Send a TRAP with the locations on a MSC connectionHolger Hans Peter Freyther1-0/+40
Send the current position when the MSC connection is established.
2011-08-25bsc: Introduce an authenticated signal for the MSC connectionHolger Hans Peter Freyther1-0/+4
Send the signal whenever a MSC appears to be authenticated.
2011-08-25bsc: Auto RF Off in case of missing MSC connectionHolger Hans Peter Freyther3-2/+79
For short IP failures we want the RF to stay up and wait for the re-connect but in case the A-link is gone too long it is good to switch off the RF and wait for commands to enable it again.
2011-08-25bsc: Use the BSC RF CTRL to change the RF state of the TRXsHolger Hans Peter Freyther2-11/+15
Use the delayed scheduling feature of the osmo_bsc_rf class to avoid crashing the site controller of the nanoBTS.
2011-08-25bsc: Crash fix for the osmo-nitb/MNCC codeHolger Hans Peter Freyther1-1/+2
It is possible that MNCC sends a MNCC_LCHAN_MODIFY and wants a channel mode that is not possible on the current lchan, in that case a new channel is assigned. We now crash as the osmo-nitb is not having an assignment complete handler, add a NULL check.
2011-08-25bsc: Fix crash that can occur on RF FailureHolger Hans Peter Freyther1-3/+12
When we got a clear request we did not clear the internal association between the gsm_subscriber_connection and the SCCP part. When we got a DTAP message before the CLEAR COMMAND we will end up in a crash as the ->bts pointer of the connection has been cleared. #0 bsc_scan_msc_msg (conn=0xde178, msg=<value optimized out>) at osmo_bsc_filter.c:258 #1 0x000112c8 in bsc_handle_dt1 (conn=0xdebd8, msg=0xd1f58, len=<value optimized out>) at osmo_bsc_bssap.c:507 #2 0x00010208 in msc_outgoing_sccp_data (conn=<value optimized out>, msg=0xdfacc, len=858696) at osmo_bsc_sccp.c:73 #3 0x0003c110 in sccp_system_incoming (msgb=0xd1f58) at sccp.c:1064
2011-08-25audio: Make AMR multirate configurable for the osmo-bscHolger Hans Peter Freyther1-0/+51
Provide VTY options to allow/forbid the usage of a specific multirate option.
2011-08-25audio: Make the BSC handle the new mr_config request of the BSC APIHolger Hans Peter Freyther3-0/+38
Handle the mr_config request and set the AMR multirate config for the given MSC. Initialize the mr_config with the AMR5.9 default we have been using until now.
2011-08-25audio: Move the setting of MultiRateConfig to one placeHolger Hans Peter Freyther1-14/+19
Move it to one place so it is more easy to make changes to that.
2011-08-25audio: From RTP point of view we can use one payload for HR/FR AMRHolger Hans Peter Freyther1-2/+1
Remove the separation of half-rate and full-rate AMR. The used rate can be found inside the AMR payload. The signalling of what kind of traffic channel is used can be done with the GSM 08.08 Chosen Channel IE in the Assignment Complete message. This way I can use a fixed payload type in the MGCP GateWay but have a mixed TCH/F and TCH/H config. E.g. use TCH/F FR3 for some subscribers when connected to MSC A but use AMR5.9 on a TCH/F for MSC B when all TCH/Hs are gone.
2011-08-25audio: Remove the hardcoding of the RTP PayloadHolger Hans Peter Freyther2-5/+0
The MGCP config must be correct and use 99 for RTP AMR.
2011-08-25mgcp: Make CRCX deal better with UDP retransmissionsHolger Hans Peter Freyther1-24/+44
When the CRCX 200 is lost on the way to the CallAgent we will get another CRCX (retransmission) which was answered with a 400. Change the code to extract the CallID, Mode and the optional LocalOptions first. Then check if the endp is allocated with the same call identifier, in that case return the current session information.
2011-08-25mgcp: FreeSWITCH requiresn us to provide the o= and t= paramHolger Hans Peter Freyther1-3/+5
The SDP file for FreeSWITCH should contain o= (Origin) and the t= (Timing) for the session. The data of the Origin should be globally unique but this is not the case yet. We will need to store the (NTP) time of the creation of the endpoint.
2011-08-25bsc: Put the full stop before the \n in the log messageHolger Hans Peter Freyther1-1/+1
2011-08-25bsc: Fix crash when the new route is not availableHolger Hans Peter Freyther1-1/+1
When we are asked to route calls on a local link and the link is not available we would crash when trying to send a packet over a deadline. When we have decided to move a connection it is guranteed that the current SCCP connection will vanish, we either migrate to another MSC or the RSL/subscriber connection will be closed.
2011-08-25bsc: Add new SCCP connections to the tailHolger Hans Peter Freyther1-1/+1
2011-08-25msc: Only kill connections belonging to the given MSCHolger Hans Peter Freyther1-2/+4
When a MSC connection drops, only kill the connections that belong to the given MSC and not all other connections.
2011-08-25bsc: Add VTY code for the local area prefixHolger Hans Peter Freyther1-0/+20
2011-08-25bsc: Add vty code for allowing emergencyHolger Hans Peter Freyther1-0/+14
2011-08-25bsc: Add vty function for the MSC typeHolger Hans Peter Freyther1-0/+20
2011-08-25bsc: Inspect a CC Setup message and attempt to reroute the trafficHolger Hans Peter Freyther1-4/+115
Inspect the CC Setup messages and if the dialed number is matching the regexp of the local MSC the connection will be rerouted. The original MSC will get a GSM0808 CLEAR REQUEST, a new connection with a CC Setup message will be opened.
2011-08-25bsc: Look for CM Service Requests with emergency causeHolger Hans Peter Freyther2-2/+24
Look for emergency calls and send them to a MSC that can handle them properly.
2011-08-25bsc: Introduce a local MSC type and forbid it from being selectedHolger Hans Peter Freyther1-0/+2
2011-08-25bsc: Attempt to respond to paging to the MSC that pagedHolger Hans Peter Freyther1-4/+67
Inspect the message and see if it is a paging response, then try to find the MSC that has paged this subscriber and select this as the target MSC, also move the MSC to the back of the list for 'load balancing'.
2011-08-25bsc: Hand the msc_connection to the UDT handling, pass it to pagingHolger Hans Peter Freyther2-12/+11
Pass the osmo_msc_data to the paging sub system, change the code to pass the osmo_msc_data instead of network + bsc_msc_conn.