aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
AgeCommit message (Collapse)AuthorFilesLines
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
2010-08-08mgcp: Get the for network/for bts flag right.Holger Hans Peter Freyther1-2/+2
2010-08-08mgcp: Be more strict on the source addr/source port of the btsHolger Hans Peter Freyther1-0/+15
Once we have discovered the bts we will not accept data from anything else. The call will drop if the BTS is changing the ip address of the nat anyway.
2010-08-08mgcp: Only discover the bts once, the extra check got lostHolger Hans Peter Freyther1-3/+3
2010-08-08mgcp: Allow to dynamically allocate ports from a range..Holger Hans Peter Freyther4-7/+83
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-08mgcp: Allow to have a different port allocation modeHolger Hans Peter Freyther2-10/+55
2010-08-08mgcp: Prepare to have different port allocation strategies.Holger Hans Peter Freyther3-12/+34
2010-08-08mgcp: Fix the signature of the change_cb to not carry the port.Holger Hans Peter Freyther1-1/+1
2010-08-08mgcp: Separate recv from net/bts and remove autodetectionHolger Hans Peter Freyther1-41/+64
This allows a more strict check on the source of RTP messages and we can more easily reject those. For the BTS without an ip address we will also update the ip address.
2010-08-08mgcp: Move the loopback code into the common send as well.Holger Hans Peter Freyther1-8/+9
2010-08-08mgcp: Remove the receive code into a new method.Holger Hans Peter Freyther1-13/+25
2010-08-08mgcp: Move the selection of the right source port to a new methodHolger Hans Peter Freyther1-31/+31
2010-08-08mgcp: Allocate a different port for the networking...Holger Hans Peter Freyther5-33/+71
Use the right source port when sending the message. Conflicts: openbsc/include/openbsc/mgcp.h
2010-08-08mgcp: Rename the base port to bts_base as it will be used for the btsHolger Hans Peter Freyther3-9/+13
2010-08-08mgcp: Move the bfd for rtp/rtcp into the portHolger Hans Peter Freyther3-33/+38
Stop using the memset in the mgcp_rtp_end_reset as we will reset the list pointers and then have a mess..
2010-08-08mgcp: Make the function internal, only used by the init/config codeHolger Hans Peter Freyther2-1/+1
2010-08-08mgcp: Rename the bind method to show it is only binding for the bts portHolger Hans Peter Freyther3-4/+3