aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc
AgeCommit message (Collapse)AuthorFilesLines
2012-06-04osmo-bsc: Add VTY command to set the locationdaniel/ow-vty-cmdsDaniel Willmann2-1/+50
2012-05-23osmo-bsc: Add ctrl cmd bts RF stateDaniel Willmann1-0/+38
Returns opearional, administrational state and RF policy
2012-05-23osmo-bsc: Add VTY command show positionDaniel Willmann2-10/+45
2012-05-02bsc: Create a better error message for when RF commands are rejectedHolger Hans Peter Freyther1-1/+1
Provide an error message that makes it more clear that the command is rejected because RF handling is not enabled in the BSC.
2012-05-02bsc vty: Provide a show mscs command to show the state of each MSCHolger Hans Peter Freyther1-0/+18
2012-05-02misc: Linking fixes for Ubuntu 11.10 CompilerHolger Hans Peter Freyther1-2/+3
Ubuntu 11.10 has changed some linker/compiler flags. Some fixes for this can be seen here[1]. In general the to be linked libs need to be moved into the LDADD section of parameters. This is with the old BFD linker (not gold). This is likely to end in some ping-pong with other versions of the linker. [1] https://bugs.launchpad.net/ubuntu/+source/nis/+bug/771034 Errors: /usr/bin/ld.bfd.real: bsc_hack.o: undefined reference to symbol 'osmo_init_ignore_signals' /usr/bin/ld.bfd.real: note: 'osmo_init_ignore_signals' is defined in DSO /home/ich/install/openbsc/lib/libosmocore.so so try adding it to the linker command line /home/ich/install/openbsc/lib/libosmocore.so: could not read symbols: Invalid operation ... ../../src/libbsc/libbsc.a(rest_octets.o):/home/ich/source/gsm/openbsc/openbsc/src/libbsc/rest_octets.c:381: more undefined references to `bitvec_set_bit' follow ../../src/libbsc/libbsc.a(rest_octets.o): In function `rest_octets_si13': /home/ich/source/gsm/openbsc/openbsc/src/libbsc/rest_octets.c:382: undefined reference to `bitvec_set_uint' /home/ich/source/gsm/openbsc/openbsc/src/libbsc/rest_octets.c:383: undefined reference to `bitvec_set_uint' /home/ich/source/gsm/openbsc/openbsc/src/libbsc/rest_octets.c:385: undefined reference to `bitvec_set_bit' /home/ich/source/gsm/openbsc/openbsc/src/libbsc/rest_octets.c:402: undefined reference to `bitvec_set_bit' /home/ich/source/gsm/openbsc/openbsc/src/libbsc/rest_octets.c:403: undefined reference to `bitvec_set_uint' Conflicts: No use of LIBOSMO_ABIS here openbsc/src/ipaccess/Makefile.am openbsc/src/osmo-bsc/Makefile.am openbsc/src/osmo-bsc_nat/Makefile.am openbsc/src/osmo-nitb/Makefile.am openbsc/src/utils/Makefile.am
2012-05-02bsc: Blind fix to deal with phones sending a dialplan of 0Holger Hans Peter Freyther1-2/+2
2012-05-02bsc: Do not re-start the grace timer when we are in the grace periodHolger Hans Peter Freyther1-0/+5
2012-05-02bsc: Simplify the trap sending by using the location state methodHolger Hans Peter Freyther1-17/+2
2012-05-02bsc: Send a TRAP with the locations on a MSC connectionHolger Hans Peter Freyther1-0/+41
Send the current position when the MSC connection is established.
2012-05-02bsc: Introduce an authenticated signal for the MSC connectionHolger Hans Peter Freyther1-0/+4
Send the signal whenever a MSC appears to be authenticated.
2012-05-02bsc: Auto RF Off in case of missing MSC connectionHolger Hans Peter Freyther2-2/+78
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.
2012-05-02bsc: 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.
2012-05-02bsc: 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
2012-05-02audio: 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.
2012-05-02audio: Make the BSC handle the new mr_config request of the BSC APIHolger Hans Peter Freyther2-0/+32
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.
2012-05-02audio: Remove the hardcoding of the RTP PayloadHolger Hans Peter Freyther1-1/+0
The MGCP config must be correct and use 99 for RTP AMR.
2012-05-02bsc: Put the full stop before the \n in the log messageHolger Hans Peter Freyther1-1/+1
2012-05-02bsc: 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.
2012-05-02bsc: Add new SCCP connections to the tailHolger Hans Peter Freyther1-1/+1
2012-05-02msc: 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.
2012-05-02bsc: Add VTY code for the local area prefixHolger Hans Peter Freyther1-0/+20
2012-05-02bsc: Add vty code for allowing emergencyHolger Hans Peter Freyther1-0/+14
2012-05-02bsc: Add vty function for the MSC typeHolger Hans Peter Freyther1-0/+20
2012-05-02bsc: 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.
2012-05-02bsc: 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.
2012-05-02bsc: Introduce a local MSC type and forbid it from being selectedHolger Hans Peter Freyther1-0/+2
2012-05-02bsc: 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'.
2012-05-02bsc: 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.
2012-05-02bsc: Move the finding of a MSC into the filter codeHolger Hans Peter Freyther2-20/+20
For responding to paging on the right link we will need to figure out if the msg is a paging response.
2012-05-02bsc: Select a MSC in a round-robin fashionHolger Hans Peter Freyther2-9/+33
Select a MSC, add it to the back of the list after we have selected it.
2012-05-02bsc: Allow to configure more than one MSC in the VTYHolger Hans Peter Freyther1-26/+53
2012-05-02bsc: Prepare to have multiple MSC connectionsHolger Hans Peter Freyther5-17/+84
We now have a list of MSCs but in the code we will try to access the MSC with the nr 0.
2012-05-02bsc: Use the right connection for outgoing packetsHolger Hans Peter Freyther2-3/+11
This is needed for simple UDT messages where we do not have a SCCP connection.
2012-05-02bsc: Move more things to use osmo_msc_data* directlyHolger Hans Peter Freyther2-4/+2
2012-05-02bsc: Move the bsc_filter to use the osmo_bsc_sccp_conHolger Hans Peter Freyther2-7/+8
2012-05-02bsc: Move away from ->bsc.msc to use the selected MSCHolger Hans Peter Freyther2-14/+17
For multiple MSCs we should only have one place where the MSC is selected and the rest will extract it from somewhere.
2012-05-02bsc: Stop using net->bsc->msc and get the right msc from somewhere elseHolger Hans Peter Freyther2-4/+7
2012-05-02bsc: Create a osmo_bsc_data and embed osmo_msc_dataHolger Hans Peter Freyther10-76/+85
We want to have multiple MSCs but we also have some data that is only present on a per BSC basis. Right now the MSC data is not allocated with talloc, so we have some change in the talloc contexts.
2011-11-04osmo_bsc: Fix bts_connection_status signal always appearing as downdaniel/controlifDaniel Willmann1-1/+3
2011-11-03osmo_bsc: Command bts_connection_status with TRAPSDaniel Willmann1-0/+73
2011-11-03osmo_bsc: Introduce command msc_connection_status and send TRAPs for itDaniel Willmann2-2/+65
2011-08-26libctrl, osmo-bsc: Get rid of net prefixDaniel Willmann1-2/+2
net is now implicit in the root node
2011-08-26bsc: Add a null check and return earlyHolger Hans Peter Freyther1-0/+5
2011-08-26ctrl: Fix leak, check null pointerHolger Hans Peter Freyther1-0/+5
2011-08-26osmo-bsc: Whitespace change - fix indentation of struct value_stringDaniel Willmann1-2/+2
2011-08-26osmo-bsc: Include rf stati in the location-state TRAP as wellDaniel Willmann2-0/+88
The first fields are still the location up to the height. The next field is "operational" if any of the trx are operational, otherwise "inoperational" The second to last field contains "locked" if all of the trx are in the admin state, otherwise "unlocked". The last field represents the rf policy currently in effect. It is one of (on|off|grace|unknown). <tstamp>,<valid>,<lat>,<lon>,<height>,<oper>,<admin>,<policy>
2011-08-22osmo-bsc: Prepare to send more than just the location in the TRAPDaniel Willmann1-1/+19
2011-08-22osmo-bsc: Use NM_OPSTATE_* to check for operational attributesDaniel Willmann1-1/+1
2011-08-22ctrl: Do not allow to set the RF Lock for a single trxHolger Hans Peter Freyther1-38/+0
The ip.access nanoBTS has issues if the admin changes are called too often in too little time. This will lead to a situation where the site manager will fail to start properly. Remove the TRX code as the RF Control class does not support setting this per TRX.