Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-11-02 | mgcp: Send data from the network to the transcoder too | Holger Hans Peter Freyther | 2 | -16/+12 | |
We now should be able to transcode in both directions. | |||||
2010-11-02 | mgcp: Use the calculated remote port from the mgcp_rtp_end | Holger Hans Peter Freyther | 1 | -4/+2 | |
2010-11-02 | mgcp: Make the transcoding forwarding work for BTS/NET | Holger Hans Peter Freyther | 1 | -19/+33 | |
Share the implementation for the transcoded packets and forward them to the network and the bts. | |||||
2010-11-02 | mgcp: Refactor the network binding routines | Holger Hans Peter Freyther | 1 | -47/+26 | |
Create another wrapper function that takes most of the arguments from the caller. | |||||
2010-11-02 | mgcp: Introduce trans_bts and send BTS packets from this port | Holger Hans Peter Freyther | 3 | -17/+52 | |
Introduce the trans_bts. Right now only a port is allocated and the packets from the BTS are sent from this socket. | |||||
2010-11-02 | mgcp: Keep the local_port like it was set on allocation | Holger Hans Peter Freyther | 1 | -3/+4 | |
Do not reset statically allocated local_port. The port might be different to the calculation of endpoint number and base port. This might be the case for the coming remote transcoding. | |||||
2010-11-01 | mgcp: Rename transcoder_end to trans_net | Holger Hans Peter Freyther | 3 | -22/+22 | |
Packets arriving for trans_net will be send out to the networking. We will introduce a trans_bts in a second. | |||||
2010-11-01 | mgcp: Allow to disable the transcoder in a running system. | Holger Hans Peter Freyther | 1 | -0/+15 | |
2010-11-01 | mgcp: Make transcoding a per Endpoint configuration | Holger Hans Peter Freyther | 2 | -9/+15 | |
This allows to switch off transcoding on the fly, or only enable it for certain vessels with known problems. | |||||
2010-11-01 | mgcp: Fix the indetion of this code. it should use tabs | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-10-12 | misc: Replace the idiom for replacing a string with a function call | Holger Hans Peter Freyther | 1 | -18/+6 | |
Remove a lot of code in favor of a new function that is freeing the old string and copying the new one. I should have gotten the context and the strings right. | |||||
2010-10-12 | misc: Attempt to determine byte order in a cross-platform way | Holger Hans Peter Freyther | 1 | -1/+9 | |
OSX does not provide an endian.h, use the other header files that should define/include what we need. Also check that the byteorder define is available. | |||||
2010-09-24 | mgcp: Return 0 in case transcoding is disabled. | Holger Hans Peter Freyther | 1 | -1/+1 | |
In case transcoding is disabled no error has happened, return a zero. This is fixing starting the nat without transcoding. | |||||
2010-09-20 | mgcp: Count the packets that arrive on the transcoder | Holger Hans Peter Freyther | 2 | -1/+3 | |
2010-09-20 | mgcp: Remove code duplication for filling out the sockaddr_in | Holger Hans Peter Freyther | 1 | -22/+15 | |
Share the send to transcoder sockaddr sending routines. | |||||
2010-09-20 | nat: Send a transcoder reset on start up. | Holger Hans Peter Freyther | 1 | -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-20 | mgcp: Make the base port of the transcoder configurable | Holger Hans Peter Freyther | 3 | -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-20 | mgcp: Prepare the CRCX/MDCX/DLCX messages for the transcoder. | Holger Hans Peter Freyther | 1 | -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-20 | mgcp: Forward data from the BTS-in to the transcoder | Holger Hans Peter Freyther | 3 | -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-20 | mgcp: Add ports for the transcoder as well | Holger Hans Peter Freyther | 1 | -0/+27 | |
2010-09-20 | mgcp: Share the range parsing code for net/bts | Holger Hans Peter Freyther | 1 | -14/+20 | |
2010-09-20 | mgcp: Add a transcoder-mgw command to store the address | Holger Hans Peter Freyther | 1 | -0/+17 | |
2010-09-20 | mgcp: Keep the gw_fd inside the mgcp_config | Holger Hans Peter Freyther | 1 | -12/+11 | |
Move the bfd from a static var into the mgcp_config. | |||||
2010-09-20 | mgcp: Be able to parse 'sendonly' for the connection mode. | Holger Hans Peter Freyther | 1 | -0/+2 | |
2010-09-20 | mgcp: Switch the default audio codec to AMR | Holger Hans Peter Freyther | 1 | -2/+2 | |
2010-09-18 | janitor: Move the * to the variable name | Holger Hans Peter Freyther | 2 | -3/+3 | |
2010-09-11 | vty: Use \r\n in the copyright messages | Holger Hans Peter Freyther | 1 | -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-04 | vty: Add the config node code to everyone. | Holger Hans Peter Freyther | 1 | -0/+1 | |
2010-08-25 | Introduce '-D' commandline option to daemonize processes | Harald Welte | 1 | -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-08 | mgcp: Add a vty command to free a given endpoint. | Holger Hans Peter Freyther | 1 | -0/+19 | |
2010-08-08 | mgcp: Use transient errors in more cases... | Holger Hans Peter Freyther | 1 | -10/+10 | |
2010-08-06 | mgcp: Reduce the log level to debug for these calls.0.9.4 | Holger Hans Peter Freyther | 1 | -3/+3 | |
2010-08-06 | mgcp: Remember if the endpoint was allocated... | Holger Hans Peter Freyther | 2 | -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-06 | mgcp: Add a callback to inform the client that an endpoint got reallocated | Holger Hans Peter Freyther | 1 | -0/+2 | |
2010-08-06 | mgcp: Make the CI uint32_t all the way to avoid mismatch | Holger Hans Peter Freyther | 1 | -6/+8 | |
2010-08-06 | mgcp: Fix discovering the RTCP port with the more strict check. | Holger Hans Peter Freyther | 1 | -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-06 | mgcp: Determine the proto properly... | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-08-06 | mgcp: Add instrumentation code to find a possible port leak/bsc-fd corruption | Holger Hans Peter Freyther | 1 | -5/+12 | |
2010-08-06 | mgcp: Move the mgcp_free_endp into the right path for the CRCX failure | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-08-06 | mgcp: Fix a filedescriptor leak in case the bind is failing. | Holger Hans Peter Freyther | 1 | -0/+2 | |
2010-08-06 | mgcp: Enable the tap after configuring it... | Holger Hans Peter Freyther | 1 | -0/+1 | |
2010-08-06 | mgcp: Add a call tap feature to forward audio to another forward port | Holger Hans Peter Freyther | 3 | -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-05 | mgcp: Patch RTP packets again if that is allowed.0.9.3 | Holger Hans Peter Freyther | 3 | -1/+3 | |
2010-08-05 | mgcp: Get the for network/for bts flag right.0.9.2 | Holger Hans Peter Freyther | 1 | -2/+2 | |
2010-08-05 | mgcp: Be more strict on the source addr/source port of the bts | Holger Hans Peter Freyther | 1 | -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-05 | mgcp: Only discover the bts once, the extra check got lost | Holger Hans Peter Freyther | 1 | -3/+3 | |
2010-08-05 | mgcp: Allow to dynamically allocate ports from a range.. | Holger Hans Peter Freyther | 3 | -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-05 | mgcp: Allow to have a different port allocation mode | Holger Hans Peter Freyther | 1 | -10/+50 | |
2010-08-05 | mgcp: Prepare to have different port allocation strategies. | Holger Hans Peter Freyther | 2 | -10/+18 | |
2010-08-05 | mgcp: Fix the signature of the change_cb to not carry the port. | Holger Hans Peter Freyther | 1 | -1/+1 | |