aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
AgeCommit message (Collapse)AuthorFilesLines
2011-02-14rf: Delay execution of commandson-waves/0.3.99.21Holger Hans Peter Freyther2-18/+39
Delay executing RF commands up to a second. If many commands arrive within a second then just execute the last command.
2011-02-14rf: Verify that the requested mode is entered and drop OML in errorHolger Hans Peter Freyther2-0/+35
Verify that the BTS is following our orders, if we think there was an error we will drop the OML connection.
2011-02-14rf: Remember the last command requested on the RF CMD interfaceHolger Hans Peter Freyther3-0/+12
2010-11-26welcome: Fix the str concat here as well. Start to count at 0.Holger Hans Peter Freyther1-1/+1
2010-11-25vty: For ipaccess we will dump if the OML connection is presentHolger Hans Peter Freyther1-2/+6
2010-11-22mid-call: Do not lose the first word of the messageHolger Hans Peter Freyther1-1/+1
2010-11-22mid-call: Make the mid-call behavior the default for switching things offHolger Hans Peter Freyther1-20/+34
When switching the RF off we will always go through the grace period, add a direct off mode to switch it off directly. Make the query return a 'g' if we are in the process of switching things over.
2010-11-22mid-call: Implement a timer to go from grace to off.Holger Hans Peter Freyther2-7/+42
Start the timer... switch it off when we do the final tranistion by a command.
2010-11-22mid-call: Rename ussd-grace to mid-callHolger Hans Peter Freyther3-18/+19
2010-11-22mid-call: Introduce a timeout to switch from grace to rf off.Holger Hans Peter Freyther1-0/+11
2010-11-03bsc_msc_ip: Clean the header, the defines can come from bssap.hHolger Hans Peter Freyther1-294/+1
2010-10-18ussd: Catch up with libosmocore and pass the gsm48_hdrHolger Hans Peter Freyther1-1/+4
Conflicts: openbsc/src/ussd.c
2010-10-18ussd: Move the code libosmocore, increase the version number.Holger Hans Peter Freyther3-197/+2
Move the code to libosmocore, update the header file and the version required in the configure.in. Conflicts: openbsc/configure.in openbsc/include/openbsc/gsm_04_80.h openbsc/src/gsm_04_80.c
2010-10-08bssap.c: Fix unaligned memory access by using the read_data16Holger Hans Peter Freyther1-1/+1
2010-10-08bssap.c: The lac is only 16bit.. no need to read two bytes of garbageHolger Hans Peter Freyther1-3/+3
Recreate a read_data16, use it to parse the LAC from the Cell Identifier.. we check that the length is at least 3 byte and read from byte 1.. which means reading four bytes is totally wrong.
2010-10-07This is 0.3.99.20 with bring-up hacks, possible crash fixeson-waves/0.3.99.20Holger Hans Peter Freyther1-1/+1
2010-10-07msc: Only unregister the fd if the fd value is valid.Holger Hans Peter Freyther2-2/+4
This makes sure that someone can call bsc_msc_lost multiple times even if there is no MSC connection. This makes sense as bsc_msc_lost is public and be called from client code.
2010-10-07msc: Stop the connection timeout when we unregister the bfdHolger Hans Peter Freyther1-1/+4
When we dropped the connection... stop the timer as we might call bsc_unregister_fd twice...
2010-10-06gsm_04_80: Require libosmocore for creating USSD messagesHolger Hans Peter Freyther4-146/+3
Use the libosmocore to create USSD messages, increase the minimum version of libosmocore, add header files, remove the code. Conflicts: openbsc/configure.in openbsc/include/openbsc/gsm_04_80.h openbsc/src/gsm_04_08.c openbsc/src/gsm_04_80.c
2010-10-03oml: In case we get a NACK, drop the OML connection and hope for the bestHolger Hans Peter Freyther1-0/+10
Assume that a NACK is a onetime failure and that on the next attempt it will work better. If that is not the case we might even send a reboot to the BTS.
2010-10-02oml: Another band aid for reliable BTS init...Holger Hans Peter Freyther2-3/+3
Sometimes the operative change for the NSE is getting nacked, this might be due that we send it before we get the OPSTART ACK for this object class. Send it from the CELL availability as a workaround. This init code needs to be changed to make these dependencies work more reliable.
2010-10-02ipaccess: Re-Enable the delay between commands...Holger Hans Peter Freyther1-1/+1
We still need to keep the delay during startup as the GPRS code tried to initialize too early.
2010-09-29bsc_msc_ip: Save the welcome text, add an 'e' to the command.Holger Hans Peter Freyther1-1/+1
2010-09-29bsc_msc_ip: Save the bsc-welcome-text messageHolger Hans Peter Freyther1-0/+2
2010-09-29Add missing osmo_bsc_grace.hHolger Hans Peter Freyther1-0/+29
This file got lost during a rename.
2010-09-26bsc: Send a USSD command after we have a LU Accept and a new_subscriberHolger Hans Peter Freyther1-2/+23
2010-09-26bsc: Add a ussd_welcome_text variable and VTY commandHolger Hans Peter Freyther2-0/+18
Add a command to set the welcome text for the USSD.
2010-09-26bsc: Mark LUs with a different LAC as needing special careHolger Hans Peter Freyther2-0/+36
We want to send a welcome USSD to new subscribers, mark subscribers with a different LAC than this cell as special and hope someone will follow up with them.
2010-09-16bsc: Rename to osmo_bsc_grace to prepare putting it into masterHolger Hans Peter Freyther5-33/+4
2010-09-16bsc: Rename the RF Ctl interface to match masterHolger Hans Peter Freyther7-22/+22
2010-08-25bsc_msc: Add minimal code to work with the new SCCP versionHolger Hans Peter Freyther2-2/+2
2010-08-25bsc_msc_ip: Set the right log areaHolger Hans Peter Freyther1-0/+1
2010-08-24sccp: Use the libosmo-sccp library and remove the internal copyHolger Hans Peter Freyther16-2911/+11
2010-08-24bsc: Remember the MSC connection we use for that connectionHolger Hans Peter Freyther2-0/+6
2010-08-11oml: Workaround for vty misusage...Holger Hans Peter Freyther1-1/+1
Move the OML_NODE below the CONFIG_NODE so that the vty->index will not be restored when we exit the node. If we do restore the node we will end up with a double free.
2010-08-10mgcp: Speculative mgcp fix...Holger Hans Peter Freyther1-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-10OML: Introduce minimal VTY command set to interact with OML managed objectsHolger Hans Peter Freyther7-21/+232
Conflicts: openbsc/include/openbsc/abis_nm.h openbsc/src/Makefile.am openbsc/src/vty_interface.c
2010-08-08mgcp: Reduce the log level to debug for these calls.Holger Hans Peter Freyther1-3/+3
2010-08-08mgcp: Remember if the endpoint was allocated...Holger Hans Peter Freyther3-3/+6
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-08mgcp: Add a callback to inform the client that an endpoint got reallocatedHolger Hans Peter Freyther2-0/+4
2010-08-08mgcp: Make the CI uint32_t all the way to avoid mismatchHolger Hans Peter Freyther4-11/+12
Conflicts: openbsc/include/openbsc/mgcp.h openbsc/src/nat/bsc_mgcp_utils.c
2010-08-08mgcp: Fix discovering the RTCP port with the more strict check.Holger Hans Peter Freyther1-13/+27
If we have found the BTS and we receive data on the RTCP port from the IP of the BTS we will set our RTCP port and forward it to the network and hope it will be useful.
2010-08-08mgcp: Determine the proto properly...Holger Hans Peter Freyther1-1/+1
2010-08-08bsc_msc: Remove the except code as it is wrong...Holger Hans Peter Freyther1-15/+0
Remove wrong code that is luckily not called. We would end up in a reconnect and attempt to bsc_fd_register the same socket again. I am removing this part of the code as it is not used and it would need to know if the fd has ever been registered or not...
2010-08-08mgcp: Add instrumentation code to find a possible port leak/bsc-fd corruptionHolger Hans Peter Freyther1-5/+12
2010-08-08mgcp: Move the mgcp_free_endp into the right path for the CRCX failureHolger Hans Peter Freyther1-1/+1
2010-08-08mgcp: Fix a filedescriptor leak in case the bind is failing.Holger Hans Peter Freyther1-0/+2
2010-08-08mgcp: Enable the tap after configuring it...Holger Hans Peter Freyther1-0/+1
2010-08-08mgcp: Add a call tap feature to forward audio to another forward portHolger Hans Peter Freyther4-0/+80
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-08mgcp: Patch RTP packets again if that is allowed.Holger Hans Peter Freyther4-1/+6