aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc
AgeCommit message (Collapse)AuthorFilesLines
2013-01-15bsc: Introduce an authenticated signal for the MSC connectionHolger Hans Peter Freyther1-0/+4
Send the signal whenever a MSC appears to be authenticated.
2013-01-07audio: 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.
2013-01-07audio: 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.
2013-01-07bsc: Blind fix to deal with phones sending a dialplan of 0Holger Hans Peter Freyther1-2/+2
2013-01-07bsc: 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.
2013-01-07bsc: Add VTY code for the local area prefixHolger Hans Peter Freyther1-0/+20
2013-01-07bsc: Inspect a CC Setup message and attempt to reroute the trafficHolger Hans Peter Freyther1-3/+113
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-12-26handover: Fix the handover signalling for IP based BTSesHolger Hans Peter Freyther1-0/+4
This was reported by Kevin when he was testing handover. The problem is the order of the signal handlers for S_ABISIP_CRCX_ACK. Right now the handover signal handler is called before the one inside the libmsc gsm_04_08.c. This means S_HANDOVER_ACK is signalled _before_ there is a rtp socket created for the channel. The result is that the MDCX will never be sent and the called will not be properly switched _after_ the handover detection. I do not want to play with the order of signal handlers, remove the CRCX ack handling from the handover_logic.c and force the NITB (and later the BSC) to check if the lchan is involved with a handover and do the switching in there. This means right now we do what two signal handlers did in one. Reproduced and tested with the FakeBTS Handover test. Log message: <0004> abis_rsl.c:1954 (bts=1,trx=0,ts=3,ss=0) IPAC_CRCX_ACK ... <000c> gsm_04_08.c:1400 no RTP socket for new_lchan <001a> rtp_proxy.c:533 rtp_socket_create(): success <001a> rtp_proxy.c:615 rtp_socket_bind(rs=0x48703c8, IP=0.0.0.0): ...
2012-12-10bsc: Fix compiler warning and return from the method with a value.Holger Hans Peter Freyther1-2/+3
2012-12-03bsc: Send the USSD message after the location updating accept.Holger Hans Peter Freyther2-9/+20
Make sure to accept the phone first before sending the USSD message.
2012-12-03msc: Add debug messages when not sending a USSD welcome messageHolger Hans Peter Freyther1-1/+8
2012-12-03bsc: Fix a brown paper bug and most likely fix the USSD welcome issueHolger Hans Peter Freyther1-1/+1
2012-12-03bsc: Call the variable with a more appropriate name.Holger Hans Peter Freyther1-4/+4
2012-09-11bsc: Add vty code for allowing emergencyHolger Hans Peter Freyther1-0/+14
2012-09-11bsc: Add vty function for the MSC typeHolger Hans Peter Freyther1-0/+20
2012-09-11bsc: 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-09-11bsc: Introduce a local MSC type and forbid it from being selectedHolger Hans Peter Freyther1-0/+2
2012-09-11bsc: 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-09-11bsc: 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-09-11bsc: 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-09-11bsc: 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-09-11bsc: Allow to configure more than one MSC in the VTYHolger Hans Peter Freyther1-26/+53
2012-09-11msc: 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-09-11osmo-bsc: Command bts_connection_status with TRAPSDaniel Willmann1-0/+75
2012-09-11osmo-bsc: Introduce command msc_connection_status and send TRAPs for itDaniel Willmann2-2/+67
2012-09-11libctrl, osmo-bsc: Get rid of net prefixDaniel Willmann1-2/+2
net is now implicit in the root node
2012-09-11osmo-bsc: Include rf statistics in the location-state TRAP as wellDaniel Willmann1-0/+7
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>
2012-09-11osmo-bsc: Prepare to send more than just the location in the TRAPDaniel Willmann1-1/+24
2012-09-11ctrl: Do not allow to set the RF Lock for a single trxHolger Hans Peter Freyther1-40/+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.
2012-09-11osmo-bsc: Change variable name to better reflect current/last locationDaniel Willmann1-48/+43
2012-09-11ctrl: Improve error handling if controlif setup failsDaniel Willmann2-5/+21
2012-09-11osmo-bsc: Put the control commands in osmo_bsc_ctrl.cDaniel Willmann3-259/+314
2012-09-11osmo-bsc: Only send a TRAP if the location changesDaniel Willmann1-4/+14
2012-09-11osmo-bsc: Add support for traps to the location commandDaniel Willmann1-1/+31
2012-09-11osmo-bsc: Allow location tstamp to be zero if fix is invalidDaniel Willmann1-2/+2
2012-09-11libctrl: Change controlif_setup so it returns the ctrl handleDaniel Willmann1-2/+5
nat: Catch up with controlif_setup API change We now save a control handle reference in the nat osmo-bsc: Catch up with controlif_setup API change We now save a control handle reference in the gsm network
2012-08-17VTY: improve VTY prompt and make sure exit/end works everywhereHarald Welte1-1/+1
Some nodes below 'config' didn't have ournode_exit / ournode_end, and thus were not able to properly perform this function. exit should always only go back one level, while end drops us back to ENABLE_NODE. The prompt now represents the nesting level, and there's one consistent space after the final prompt character (typically #).
2012-08-03typo: Mandantory -> Mandatory.. a common typo of mineHolger Hans Peter Freyther1-3/+3
2012-05-17bsc: Move the osmo_bsc_rf file into the libbsc code and renameHolger Hans Peter Freyther2-366/+1
The nitb will provide the RF interface as well.
2012-05-11bsc vty: Provide a show mscs command to show the state of each MSCHolger Hans Peter Freyther1-0/+18
2012-03-16misc: Use other size modifiers to fix compiler warningsHolger Hans Peter Freyther1-1/+1
control_if.c:521:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat] osmo_bsc_bssap.c:473:3: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘unsigned int’ [-Wformat] mgcp_main.c:162:4: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘unsigned int’ [-Wformatt]
2012-03-16bsc: Prepare to have multiple MSC connectionsHolger Hans Peter Freyther4-15/+78
We now have a list of MSCs but in the code we will try to access the MSC with the nr 0.
2012-03-16bsc: 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-03-16bsc: Move more things to use osmo_msc_data* directlyHolger Hans Peter Freyther2-4/+2
2012-03-16bsc: Move the bsc_filter to use the osmo_bsc_sccp_conHolger Hans Peter Freyther2-9/+8
2012-03-16bsc: 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-03-16bsc: Stop using net->bsc->msc and get the right msc from somewhere elseHolger Hans Peter Freyther2-4/+7
2012-03-16bsc: Create a osmo_bsc_data and embed osmo_msc_dataHolger Hans Peter Freyther9-72/+81
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.
2012-03-16bsc: Address warnings about implicit declarationsHolger Hans Peter Freyther1-0/+3
osmo_bsc_main.c: In function ‘main’: osmo_bsc_main.c:398:2: warning: implicit declaration of function ‘bts_init’ [-Wimplicit-function-declaration] osmo_bsc_main.c:399:2: warning: implicit declaration of function ‘libosmo_abis_init’ [-Wimplicit-function-declaration] osmo_bsc_main.c:418:2: warning: implicit declaration of function ‘bsc_bootstrap_network’ [-Wimplicit-function-declaration]
2012-03-16bsc: Fix compiler warning about wrong return and unused variableHolger Hans Peter Freyther1-2/+1
osmo_bsc_api.c: In function ‘bsc_cm_update’: osmo_bsc_api.c:195:2: warning: ‘return’ with a value, in function returning void [enabled by default] osmo_bsc_api.c:193:28: warning: unused variable ‘sccp’ [-Wunused-variable]