aboutsummaryrefslogtreecommitdiffstats
path: root/include/mgcp
AgeCommit message (Collapse)AuthorFilesLines
2011-09-14mgcp: Reset endpoints via the trunk config instead of all of themHolger Hans Peter Freyther1-1/+1
This change is coming from OpenBSC and was adjusted to mgcp_ss7
2011-09-14mgcp: Introduce multiple virtual trunksHolger Hans Peter Freyther2-1/+4
A virtual trunk is identified by a virtual domain name.
2011-09-14mgcp: Generate the ConnId per trunk baseHolger Hans Peter Freyther1-2/+1
MGCP RFC 3435 does not specify that the Connection Id must be generated with any kind of random. It must uniquely identify the connection of an endpoint. So we can make it per trunk group or could even have it per endpoint. The code does not support multiple connections on the same endpoint right now but the spec allows it.
2011-09-14mgcp: Split creation of endpoints and static port allocationHolger Hans Peter Freyther1-0/+1
Create the endpoints as soon as possible, configure static ports after we are through with the parsing of the VTY config.
2011-09-13mgcp: Remove the endp_offset that was introduced due coding stupidityHolger Hans Peter Freyther2-2/+1
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-05-08Adopt to recent libosmocore namespace changes and libosmogsmHarald Welte2-6/+6
2011-03-02mgcp: Mark certain endpoints as blocked.Holger Hans Peter Freyther1-0/+1
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: Calculate the right Audio Processor resource for high endpointsHolger Hans Peter Freyther1-1/+1
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 Freyther2-53/+184
* 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-01-16license: Switch to the GNU AGPLv3 for this network serviceHolger Hans Peter Freyther2-14/+12
2011-01-06mgcp: Merge new mgcp_protocol to parse digital trunks.Holger Hans Peter Freyther1-1/+1
2010-09-18mgcp: Merge the realloc_cb from OpenBSC here.Holger Hans Peter Freyther1-0/+2
2010-08-08mgcp: Use uint32_t for the CI in every place.Holger Hans Peter Freyther2-2/+2
2010-08-04mgcp_ss7: Move the vty code/params over to mgcp_vty.cHolger Hans Peter Freyther1-0/+1
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: Update to the latest code drop.Holger Hans Peter Freyther2-10/+24
2010-08-04Use libosmocore instead of the old temporary laF0rge1 lib..Holger Hans Peter Freyther2-6/+2
2010-07-28Public release of the cellmgr_ng code to convert E1 to IPA SCCPHolger Hans Peter Freyther3-0/+231