aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/mgcp
AgeCommit message (Collapse)AuthorFilesLines
2010-09-20mgcp: Count the packets that arrive on the transcoderHolger Hans Peter Freyther2-1/+3
2010-09-20mgcp: Remove code duplication for filling out the sockaddr_inHolger Hans Peter Freyther1-22/+15
Share the send to transcoder sockaddr sending routines.
2010-09-20nat: Send a transcoder reset on start up.Holger Hans Peter Freyther1-0/+19
The transcoder RESET is using the same extensions to reset all endpoints on a remote site. This makes sure that all allocations can be made in a properly configured network.
2010-09-20mgcp: Make the base port of the transcoder configurableHolger Hans Peter Freyther3-2/+15
The code assumes a static mapping from endpoint to RTP port, be able to configure the start of such a mapping.
2010-09-20mgcp: Prepare the CRCX/MDCX/DLCX messages for the transcoder.Holger Hans Peter Freyther1-0/+102
Send CRCX/MDCX/DLCX to the transcoder, fill out transcoder_end with the interesting data and hope that it is going to work.
2010-09-20mgcp: Forward data from the BTS-in to the transcoderHolger Hans Peter Freyther3-8/+126
Bind a new port for the transcoder, forward data from the BTS to the transcoder, and from the transcoder to the network. Leave BTS-IN where it is, BTS-OUT can now be after the transcoding took place. We send the data from the BTS RTP port. This whole route will be guarded by the transcoder_ip and if it is NULL (current default) it will not go through the transcoder.
2010-09-20mgcp: Add ports for the transcoder as wellHolger Hans Peter Freyther1-0/+27
2010-09-20mgcp: Share the range parsing code for net/btsHolger Hans Peter Freyther1-14/+20
2010-09-20mgcp: Add a transcoder-mgw command to store the addressHolger Hans Peter Freyther1-0/+17
2010-09-20mgcp: Keep the gw_fd inside the mgcp_configHolger Hans Peter Freyther1-12/+11
Move the bfd from a static var into the mgcp_config.
2010-09-20mgcp: Be able to parse 'sendonly' for the connection mode.Holger Hans Peter Freyther1-0/+2
2010-09-20mgcp: Switch the default audio codec to AMRHolger Hans Peter Freyther1-2/+2
2010-09-18janitor: Move the * to the variable nameHolger Hans Peter Freyther2-3/+3
2010-09-11vty: Use \r\n in the copyright messagesHolger Hans Peter Freyther1-6/+6
We should use VTY_NEWLINE but our strings are static, always use \r\n as unix terminals can handle that as well.
2010-09-04vty: Add the config node code to everyone.Holger Hans Peter Freyther1-0/+1
2010-08-25Introduce '-D' commandline option to daemonize processesHarald Welte1-1/+15
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-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.4Holger Hans Peter Freyther1-3/+3
2010-08-06mgcp: Remember if the endpoint was allocated...Holger Hans Peter Freyther2-3/+5
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 Freyther1-0/+2
2010-08-06mgcp: Make the CI uint32_t all the way to avoid mismatchHolger Hans Peter Freyther1-6/+8
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-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 Freyther3-0/+62
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.3Holger Hans Peter Freyther3-1/+3
2010-08-05mgcp: Get the for network/for bts flag right.openbsc/0.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-05mgcp: Allow to dynamically allocate ports from a range..Holger Hans Peter Freyther3-7/+81
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 Freyther1-10/+50
2010-08-05mgcp: Prepare to have different port allocation strategies.Holger Hans Peter Freyther2-10/+18
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 Freyther3-33/+68
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 Freyther2-8/+12
2010-08-05mgcp: Move the bfd for rtp/rtcp into the portHolger Hans Peter Freyther2-25/+32
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: Rename the bind method to show it is only binding for the bts portHolger Hans Peter Freyther2-3/+2
2010-08-05mgcp: Only use early bind for the BTS socket.Holger Hans Peter Freyther2-24/+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 Freyther2-16/+19
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 Freyther3-39/+43
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 Freyther2-59/+2
2010-08-05mgcp: Fix the payload_type... it broke in ↵Holger Hans Peter Freyther1-2/+2
7cdc62c01223570441e60ec6d0dd7a92e622677b