aboutsummaryrefslogtreecommitdiffstats
path: root/src/mgcp_ss7.c
AgeCommit message (Collapse)AuthorFilesLines
2011-09-14mgcp: Reset endpoints via the trunk config instead of all of themHolger Hans Peter Freyther1-14/+8
This change is coming from OpenBSC and was adjusted to mgcp_ss7
2011-09-14mgcp: Introduce multiple virtual trunksHolger Hans Peter Freyther1-4/+5
A virtual trunk is identified by a virtual domain name.
2011-09-14mgcp: Add VTY commands to block endpoints instead of having this hardcodedHolger Hans Peter Freyther1-48/+41
Instead of assuming which endpoints are blocked there is now a VTY command to block those. Clean up the init of the trunks, the only difference between Virtual and E1 is in the way to calculate the start port. Reduce the number of endpoints to 32, 31 is the last one that can be used on the E1 trunk, otherwise we move into TS 0 of the following trunk.
2011-09-13mgcp: Remove the endp_offset that was introduced due coding stupidityHolger Hans Peter Freyther1-4/+3
The endpoint offset is needed for two reasons, first the API is 0 based here while we are normally 1 based, second because of the trunks the first usable endpoint would be '2' (0 is CRC, 1 is signalling), but this endpoint offset falls apart when we would block timeslots inside this range. Remove the endpoint offset, in each endpoint we will store the HW DSP Port (1 based API) and then subtract one to get to the 0 based API for the Simple API. Print a warning when someone is using the endpoint offset.
2011-07-22misc: Update code to compil with libosmocore 0.3.2Holger Hans Peter Freyther1-11/+7
The DSCCP/DM2UA code still needs to be updated to deal with the new way to handle these regions in libraries.
2011-05-08Adopt to recent libosmocore namespace changes and libosmogsmHarald Welte1-13/+13
2011-04-26mgw: Attempt to set the CMR to 5.9kbit/sHolger Hans Peter Freyther1-0/+4
This will hopefully make the MTN4200 always use the 5.9kbit change mode.
2011-03-21mgcp: Check if the endpoint is blocked and then reject itHolger Hans Peter Freyther1-7/+6
Instead of hardcoding which timeslot is blocked we will just use the blocked flag in an endpoint. This should fix call handling for CIC on the trunk config.
2011-03-02mgcp: Use the blocked attribute to figure out if an endpoint is blockedHolger Hans Peter Freyther1-2/+2
2011-03-02mgcp: Mark certain endpoints as blocked.Holger Hans Peter Freyther1-2/+6
Right now for the virtual trunk 0x0 and 0x1F is blocked, for the E1 like interface we have 0x0 and 0x1 blocked. This should start to be configurable in the future.
2011-03-01mgcp: Configure the HSCOMM routing based on the information we haveHolger Hans Peter Freyther1-0/+35
Configure the routing of audio ports if mgcp_mgw is configured to do this. This allows to have multiple trunks, make virtual ports go to a specific trunk as well.
2011-03-01mgcp: Calculate which dsp resource should be used by the trunksHolger Hans Peter Freyther1-0/+25
2011-03-01mgcp: Calculate the right Audio Processor resource for high endpointsHolger Hans Peter Freyther1-5/+24
With this commit we can have more than 30 endpoints that will work. We ignore the blocked endpoints 0x1 and 0x1f for each trunk and calculate everything from the right start point.
2011-03-01mgcp: Merge OpenBSC MGCP code and update the structure to match itHolger Hans Peter Freyther1-346/+136
* Upstream has a separation of BTS and NET side for RTP ports and can allocate them dynamically. * Upstream has gained the concept of trunks. We will now have various trunks to connect audio things. * We will now be able to utilize multiple trunks and have the endpoints used properly.
2011-02-28mgcp: Attempt to get the endpoint configuration rightHolger Hans Peter Freyther1-4/+4
number_endpoints is always one bigger than it needs to be, subtract the one in the show command, start counting at one.
2011-01-26mgcp: Turn the endpoint-offset into a proper config optionHolger Hans Peter Freyther1-3/+2
2011-01-26mgcp: Make it possible to control the offset from Endpoint to CICHolger Hans Peter Freyther1-4/+17
2011-01-16license: Switch to the GNU AGPLv3 for this network serviceHolger Hans Peter Freyther1-7/+6
2010-12-20mgcp: Fix the adaptation name for the config optionsHolger Hans Peter Freyther1-4/+4
2010-12-20mgcp: Fix the management objectsHolger Hans Peter Freyther1-4/+4
2010-12-01mgcp: Add config options for some GAIN options, apply them.Holger Hans Peter Freyther1-0/+144
2010-10-27mgcp: Print the extra settings from the configHolger Hans Peter Freyther1-0/+6
2010-10-18mgcp: Assume that on a MDCX all data is present...Holger Hans Peter Freyther1-5/+2
Send a dummy packet on each MDCX message. This assumes that the remote address is available by then and this should fix not hearing the ringtone as the NAT didn't know to which port to forward the data.
2010-09-18mgcp: Only if this node is supposed to send data send a dummy packetHolger Hans Peter Freyther1-1/+3
In case the gateway is configured as recvonly, do not send a dummy load as this is against the policy.
2010-09-18mgw: Add a realloc_cb that will give up the old endpointHolger Hans Peter Freyther1-0/+7
Free the endpoint if we need to realloc, the sequencing and blocking will take care of everything.
2010-09-17mgcp: Add an option to force reallocating endpoints.Holger Hans Peter Freyther1-0/+10
2010-09-17mgcp: Keep the data for the config in a global var again.Holger Hans Peter Freyther1-8/+8
2010-08-07mgcp: Add an option to enable/disable vad and enable it by defaultHolger Hans Peter Freyther1-0/+17
2010-08-04mgcp_ss7: Move the vty code/params over to mgcp_vty.cHolger Hans Peter Freyther1-143/+10
Share more code with the OpenBSC version of the VTY code minus the changes to allow to parse a generic hostname instead of an ip address.
2010-08-04mgcp_ss7: Change the vty config to operate on the static g_cfg pointerHolger Hans Peter Freyther1-28/+30
Work more like the other mgcp gateway and first allocate the config and then apply the setting on it.. The next step will be to move to the real vty code minus some bits.
2010-08-04mgcp: Allocate the mgcp config earlier..Holger Hans Peter Freyther1-6/+9
2010-08-04mgcp_ss7: Add the telnet interface to the mgcp_ss7.Holger Hans Peter Freyther1-0/+6
2010-08-04mgcp_ss7: Add logging commands..Holger Hans Peter Freyther1-0/+2
2010-08-04mgcp_ss7: Remove unnecessary code...Holger Hans Peter Freyther1-2/+0
2010-08-04Use libosmocore instead of the old temporary laF0rge1 lib..Holger Hans Peter Freyther1-20/+32
2010-07-31u_int32_t -> uint32_tHolger Hans Peter Freyther1-3/+3
2010-07-31u_int8_t -> uint8_tHolger Hans Peter Freyther1-3/+3
2010-07-28Public release of the cellmgr_ng code to convert E1 to IPA SCCPHolger Hans Peter Freyther1-0/+939