aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2010-08-05mgcp: 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-05mgcp: Make the function internal, only used by the init/config codeHolger Hans Peter Freyther2-1/+1
2010-08-05mgcp: Rename the bind method to show it is only binding for the bts portHolger Hans Peter Freyther3-4/+3
2010-08-05mgcp: Only use early bind for the BTS socket.Holger Hans Peter Freyther3-25/+12
Simplify the code by onlt allowing one way to allocate a socket.
2010-08-05mgcp: Attempt to separate the RTP/RTCP port for the Network and for the BTSHolger Hans Peter Freyther5-23/+25
We plan to have two different ports for the network and for the BTS to avoid detecting the BTS and to dynamically allocate the port to have old data not go to a new socket.
2010-08-05mgcp: Group the state for bts/net into a struct and have two instancesHolger Hans Peter Freyther5-53/+58
Group the data that each end (network/bts) have into a struct and use this struct throughout the sourcecode.
2010-08-05mgcp: Remove the forwarding mode as it was not used.Holger Hans Peter Freyther3-62/+2
2010-08-05mgcp: Fix the payload_type... it broke in ↵Holger Hans Peter Freyther1-2/+2
7cdc62c01223570441e60ec6d0dd7a92e622677b
2010-08-05nat: Fix the spelling of that comment.Holger Hans Peter Freyther1-1/+1
2010-08-04mgcp: Fix the reversed net/bts... which has not cause any issue..Holger Hans Peter Freyther1-2/+2
2010-08-04mgcp: Pass the whole endpoint to the patch method.Holger Hans Peter Freyther1-12/+10
2010-08-04mgcp: Fix the order of the arguments...Holger Hans Peter Freyther1-3/+3
2010-08-04mgcp: Print the conn mode as wellHolger Hans Peter Freyther1-5/+5
2010-08-04mgcp: Disable the actual patching... this is a temporary hackHolger Hans Peter Freyther1-1/+1
2010-08-04mgcp: Print the system for the duplicate SSRC...Holger Hans Peter Freyther1-5/+12
2010-08-04ipaccess-config / NWL: Decode + print neighbor cell ARFCNsHarald Welte2-4/+30
2010-08-04vty: Remove the logging command that is in libosmocoreHolger Hans Peter Freyther1-1/+0