aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2011-12-04tests: Remove the copy of the 'missing' and use the $(top_srcdir) oneHolger Hans Peter Freyther2-378/+2
2011-11-28vty: Add show msc [NR] to specify an optional MSC nrHolger Hans Peter Freyther1-3/+8
2011-11-25msc: Make 'show msc' show the primary msc connection againHolger Hans Peter Freyther1-6/+10
Revert an accidental change when introducing show mscs. We want show msc to be like it was before.
2011-11-25msc: Only take down the link if it is upHolger Hans Peter Freyther1-2/+4
If the link was never started and we send a SIGUSR2 we would start the link. Don't do it.
2011-11-25vty: Introduce show mscs to show all mscsHolger Hans Peter Freyther1-8/+25
2011-11-25msc: Only unregister the fd when we have a valid fdHolger Hans Peter Freyther1-3/+7
2011-11-24bss: Add an additional test where we do not want to patch anythingHolger Hans Peter Freyther1-0/+14
2011-11-24bss: Patch CC messages with bearer capabilities to contain AMR 3Holger Hans Peter Freyther4-13/+152
* This changes bss_patch_filter_msg to return -1 or BSS_FILTER_DTAP for DTAP messages. This way app_forward_sccp should continue to behave the same besides now looking into DTAP messages. * Introduce a direction in case we want to advertize FR into the BSS side and HR into the other direction. * Patch AMR HR3 and Fullrate/Halfrate capabilities in the Bearer Capabilities. Add a test case that is patching the bearer capabilities
2011-11-23bss_patch: Remove magic number and use define for BSSAP managementHolger Hans Peter Freyther1-3/+3
2011-11-23sccp: PC -> PointCode and we remove them to avoid routing issuesHolger Hans Peter Freyther1-1/+1
2011-11-20rate_ctr: Initialize the rate_ctr to update them properlyHolger Hans Peter Freyther2-0/+6
This way we get proper information about packets per second/hour and minute. Right now we only count the total.
2011-11-20misc: Address various compiler warnings in the codeHolger Hans Peter Freyther4-26/+4
2011-11-20dist: Ignore some more files hereHolger Hans Peter Freyther1-0/+13
2011-11-20distcheck: Add the header file to make the distcheck passHolger Hans Peter Freyther1-1/+1
2011-11-20tests: Add GNU Autotest invocation for the tests we have hereHolger Hans Peter Freyther16-5/+511
Add some std output of the applications, integrate tests.
2011-10-07mgcp: Increase number of endpoints that can be blockedHolger Hans Peter Freyther1-1/+1
For the Virtual Trunk we have more than 31 endpoints. Increase the number by a large factor here.
2011-09-19mgcp: Skip blocked endpoints in the show mgcp commandHolger Hans Peter Freyther1-0/+5
2011-09-19msc: Do not run ping/pong timers by defaultHolger Hans Peter Freyther1-0/+1
The current ping/pong timeout is 0 which means the MSC connection will be taken down almost immediately. Set it to -1 to disable sending pings and waiting for the pong.
2011-09-19mgcp: Update the default config to have multiple virtual trunksHolger Hans Peter Freyther1-2/+8
2011-09-19mgcp: Improve the show mgcp command to print the domain nameHolger Hans Peter Freyther1-3/+9
For virtual trunk's we only have the virtual domain name they are serving. Print that instead of the trunk->nr which has no meaning in this context.
2011-09-19mgcp: Write the vtrunk using mgcp_write_vtrunk_extraHolger Hans Peter Freyther1-1/+1
2011-09-15cellmgr: Patch the MGCP messages and replace the domain nameHolger Hans Peter Freyther9-4/+237
Replace the domain name with a new name domain that can be configured via the VTY interface.
2011-09-15mgcp: Reset the local endpoint with the domain name configuredHolger Hans Peter Freyther1-6/+12
2011-09-14mgcp: Reset endpoints via the trunk config instead of all of themHolger Hans Peter Freyther4-18/+23
This change is coming from OpenBSC and was adjusted to mgcp_ss7
2011-09-14mgcp: Fix the indention of the trunk/vtrunk extra itemsHolger Hans Peter Freyther1-14/+14
Use two spaces for the config items on the level of the TRUNK/VTRUNK node to follow the normal items.
2011-09-14mgcp: Fix the naming of the various audio volume/gain parametersHolger Hans Peter Freyther1-2/+2
The problem has been here for a while, fix the parsing of the generated config file
2011-09-14mgcp: Introduce multiple virtual trunksHolger Hans Peter Freyther7-283/+236
A virtual trunk is identified by a virtual domain name.
2011-09-14mgcp: Generate the ConnId per trunk baseHolger Hans Peter Freyther2-11/+10
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: Introduce a command that will just block the default portsHolger Hans Peter Freyther1-0/+19
It can be difficult to find the Timeslot/Multiplex for a higher number virtual trunk. This would be used by default, but normally the endpoint would be blocked on the switch already.
2011-09-14mgcp: Add VTY commands to block endpoints instead of having this hardcodedHolger Hans Peter Freyther3-49/+89
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-14mgcp: Split creation of endpoints and static port allocationHolger Hans Peter Freyther3-9/+39
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 Freyther5-19/+10
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-09-13vty: Add a config to enable MGCP command rewritingHolger Hans Peter Freyther3-1/+60
2011-08-10sctp: Really apply the MSC workaroundHolger Hans Peter Freyther1-16/+9
The MSC workaround was added in 5960ba387aa84574fc8b9df20ea98ca1594d1658 but it has never worked as in 8fd28dbbe64cb32e5f296bd2679cebf03b5d14c0 (earlier) we were checking for link->conn != conn in the dispatch method. Move the code over to the generic dispatch and check for NULL.
2011-08-10sctp: Add VTY command to print details about active SCTP connectionsHolger Hans Peter Freyther1-4/+22
This will print details about each SCTP connection including the FD and pointer of it.
2011-08-10sctp: Check if there is any other connection with the ASP identHolger Hans Peter Freyther1-0/+15
When we get an ASP UP check if there is any other ASP that is using the same identifier and then complain.
2011-08-10m2ua: Print information about number of SCTP connectionsHolger Hans Peter Freyther4-1/+34
It appears that it is possible to have a stale SCTP connection and this added LOGL_NOTICE and the VTY interface might help to identify this situation in the future (the mean time of failure is about five month).
2011-07-22misc: Update code to compil with libosmocore 0.3.2Holger Hans Peter Freyther4-38/+26
The DSCCP/DM2UA code still needs to be updated to deal with the new way to handle these regions in libraries.
2011-05-09misc: Fix the compilation of the testsHolger Hans Peter Freyther2-6/+6
2011-05-08Merge remote-tracking branch 'origin/laforge/namespace'Holger Hans Peter Freyther44-202/+210
2011-05-08Adopt to recent libosmocore namespace changes and libosmogsmHarald Welte44-202/+210
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-25mgcp: Fix the comment in the configurationHolger Hans Peter Freyther1-1/+1
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-05isup: Handle CGUs and respond with a CGUAHolger Hans Peter Freyther1-0/+31
We don't let CGUAs pass when handling circuit blocking and unblocking locally. But we did let a CGU go through and then we never sent the response back to the sender. Respond to a CGU with the same content.
2011-03-05vty: Remember if isup should be passed through or not.Holger Hans Peter Freyther1-0/+2
2011-03-03mgcp: Fix the initialisation set trunk_type in the callerHolger Hans Peter Freyther1-1/+1
2011-03-03isup: Print the linkset nr and name like in other commands.Holger Hans Peter Freyther1-1/+2
2011-03-03ss7: Drop the input of packages as wellzecke/test-forward-failureHolger Hans Peter Freyther3-1/+15
We don't want the input change any state on the linkset and will drop them if we think our application is not reachable.
2011-03-03ss7: Move the blocking of outgoing messages into the SS7 appHolger Hans Peter Freyther2-18/+17
We are using knowledge of the SS7 application to drop outgoing packages to force failures on the link and should move this into the ss7 application.