aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
AgeCommit message (Collapse)AuthorFilesLines
2010-08-27[gprs] Add option parsing to SGSNHarald Welte1-1/+75
2010-08-27debian: add init script, /etc/default file and example config filesHarald Welte3-0/+164
2010-08-27debian: make more dependencies explicit in 'control' fileHarald Welte1-7/+7
2010-08-26vty: Provide a is_config_node for the VTY and use it for the bscHolger Hans Peter Freyther5-4/+19
Right now only bsc_hack and osmo_bsc need to have a custom config handling as they use the subscr/oml nodes.
2010-08-25Introduce '-D' commandline option to daemonize processesHarald Welte6-6/+76
This uses the osmo_daemonize() function of libosmocore >= 0.1.18, and is now implemented for bac_nat, osmo-bsc, bsc_hack, osmo-gbproxy and bsc_mgcp. This means only osmo-sgsn is missing, which currently has no option parsing at all.
2010-08-25debian: don't buld arch-independent packages with executables in themHarald Welte1-6/+6
2010-08-25debian: don't use override_dh_* for lenny compatibilityHarald Welte2-2/+10
2010-08-25debian: add build dependency to pkg-configHarald Welte1-1/+1
2010-08-25debian: add runtime dependency to libdbd-sqlite3Harald Welte1-1/+1
2010-08-25debian: add build dependency to libdbi0-devHarald Welte1-1/+1
2010-08-25bsc_init: Compare it with the right enum typeHolger Hans Peter Freyther1-1/+1
In both cases the int value was zero, so it actually worked
2010-08-24Add 'debian' directory containing debian packaging informationHarald Welte16-0/+166
2010-08-24Add gprs_sndcp.h to noinst_HEADERSHarald Welte1-0/+1
2010-08-12gsm48: Add method to send a separate facility message...Holger Hans Peter Freyther1-1/+19
Send a facility messages with notifySS/CNAP as payload to the phone... the function is not called from anywhere in the tree yet but I use it locally.
2010-08-09[GPRS NS] Fix memory leak in gprs_ns_sendmsg() error pathHarald Welte1-0/+4
When gprs_ns_sendmsg() succeeds in sending the message, we free()d the msgb after transmitting it on the socket. However, if the NS-VC is blocked or some other error condition exists, we returned an error code but didn't free the msgb. This resulted in an error leak which is now being addressed.
2010-08-08mgcp: Add a vty command to free a given endpoint.Holger Hans Peter Freyther1-0/+19
2010-08-08mgcp: Use transient errors in more cases...Holger Hans Peter Freyther1-10/+10
2010-08-06mgcp: Reduce the log level to debug for these calls.openbsc/0.9.40.9.4Holger Hans Peter Freyther1-3/+3
2010-08-06nat: Do not report paging to every BTS...Holger Hans Peter Freyther1-1/+1
2010-08-06nat: In case the downstream fails on a CRCX, ask it to do a DLCXHolger Hans Peter Freyther1-4/+33
If the CRCX is failing, we will send a DLCX downstream and the next time the callagent tries to do a CRCX we will be more lucky. This is for the case where we have an endp allocated.
2010-08-06mgcp: 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-06mgcp: Add a callback to inform the client that an endpoint got reallocatedHolger Hans Peter Freyther2-0/+4
2010-08-06nat: Use the state information for the callback.Holger Hans Peter Freyther1-2/+2
2010-08-06nat: Keep the state (CRCX,MDCX,DLCX) of the operation..Holger Hans Peter Freyther2-0/+6
This will allow to have additional debug information and to use the state inside the forwarding code.
2010-08-06nat: Free the endpoint when we get an empty CI.Holger Hans Peter Freyther1-0/+7
In case the BSC is sending us an empty/unused CI we have a bug, but for now let us free the endpoint and figure out which response we are getting.
2010-08-06mgcp: Make the CI uint32_t all the way to avoid mismatchHolger Hans Peter Freyther5-12/+14
2010-08-06nat: Provide information of when a msg does not contain a CIHolger Hans Peter Freyther1-2/+7
When we fail to find a CI in a message that should contain it then print the message so we can analyze the issue and improve the code later on.
2010-08-06mgcp: 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-06mgcp: Determine the proto properly...Holger Hans Peter Freyther1-1/+1
2010-08-06bsc_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-06mgcp: Add instrumentation code to find a possible port leak/bsc-fd corruptionHolger Hans Peter Freyther1-5/+12
2010-08-06mgcp: Move the mgcp_free_endp into the right path for the CRCX failureHolger Hans Peter Freyther1-1/+1
2010-08-06mgcp: Fix a filedescriptor leak in case the bind is failing.Holger Hans Peter Freyther1-0/+2
2010-08-06mgcp: Enable the tap after configuring it...Holger Hans Peter Freyther1-0/+1
2010-08-06mgcp: 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-05mgcp: Patch RTP packets again if that is allowed.openbsc/0.9.30.9.3Holger Hans Peter Freyther4-1/+6
2010-08-05mgcp: Get the for network/for bts flag right.openbsc/0.9.20.9.2Holger Hans Peter Freyther1-2/+2
2010-08-05mgcp: 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-05mgcp: Only discover the bts once, the extra check got lostHolger Hans Peter Freyther1-3/+3
2010-08-05nat: Use the mgcp_config_alloc to have defaults initializedHolger Hans Peter Freyther2-1/+9
Initialize the net_base properly and benefit from future config changes but also reset certain defauls that we do not want at the nat.
2010-08-05mgcp: 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-05mgcp: Allow to have a different port allocation modeHolger Hans Peter Freyther2-10/+55
2010-08-05mgcp: Prepare to have different port allocation strategies.Holger Hans Peter Freyther3-12/+34
2010-08-05mgcp: Fix the signature of the change_cb to not carry the port.Holger Hans Peter Freyther1-1/+1
2010-08-05mgcp: 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-05mgcp: Move the loopback code into the common send as well.Holger Hans Peter Freyther1-8/+9
2010-08-05mgcp: Remove the receive code into a new method.Holger Hans Peter Freyther1-11/+25
2010-08-05mgcp: Move the selection of the right source port to a new methodHolger Hans Peter Freyther1-31/+31
2010-08-05mgcp: Allocate a different port for the networking...Holger Hans Peter Freyther5-33/+71
Use the right source port when sending the message.
2010-08-05mgcp: Rename the base port to bts_base as it will be used for the btsHolger Hans Peter Freyther3-9/+13