AgeCommit message (Collapse)AuthorFilesLines
2011-03-01mgcp: Use the 'i' as type for SNMP to help with the code.zecke/wip-mgcpHolger Hans Peter Freyther1-1/+1
2011-03-01mgcp: Configure the HSCOMM routing based on the information we haveHolger Hans Peter Freyther3-3/+45
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 Freyther2-6/+25
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 Freyther10-684/+2025
* 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-02-28mgcp: Add code that will attempt to configure the TDM switchHolger Hans Peter Freyther1-0/+161
2011-02-25sctp: Fix a memory leak on connection failures.Holger Hans Peter Freyther1-0/+1
2011-02-25sctp: Only handle traffic with the payload type of M2UAHolger Hans Peter Freyther1-1/+9
2011-02-25sctp: Fail if we fail to enable SCTP events on this socketHolger Hans Peter Freyther1-5/+10
Without events we don't have access to the SCTP sndrcvinfo and the ppid in it and we will do bad things like sending M2UA on PPID 0.
2011-02-25links: Fix the init code for the old cellmgr_ng codeHolger Hans Peter Freyther1-1/+1
2011-02-23counter: Fix the wrong counter size.Holger Hans Peter Freyther1-2/+2
2011-02-23vty: Allow to specify 14 bits for the CPC.Holger Hans Peter Freyther1-2/+2
2011-02-23mtp: Call the mtp_link_set always set otherwise things get confusingHolger Hans Peter Freyther5-115/+115
In a backtrace it is confusing to see variables called link and link and one is a mtp_link and the other is a mtp_link_set.
2011-02-23msc: Remove unused method from the codeHolger Hans Peter Freyther1-7/+0
2011-02-23sccp: The link attribute was never used leading to a crashHolger Hans Peter Freyther2-2/+9
Right now we assume that the source of an application with SCCP state tracking is a linkset. Send the message to that linkset.
2011-02-23mtp: Attempt to implement the MTP Restart properlyHolger Hans Peter Freyther3-20/+105
For the SSP functionatilty we will need to have the timers T18 and T20. In the period of T18 we will collect TFP/TFR/TFA for the reachable nodes of the system. Each of this node will send us a TRA when it is finished. Right now we assume to only have one node and stop the T18 after the TRA of this node. Then we would need to send the TFP/TFR we have collected. On the expiry of the T20 timer we will need to send our TRA and notify local users. For more complex routing we will need to have a shared routing cache and remember which SSNs and OPCs are reachable and have inter linkset notifications.
2011-02-23mtp: Do not start linktest on a blocked linkHolger Hans Peter Freyther1-0/+6
2011-02-23vty: Add all mighty new vty interface for osmo-stpHolger Hans Peter Freyther18-317/+1301
This new interface allows to have multiple linksets, msc connections and ways to connect those in one instance of the osmo-stp. Forbid to reset linksets without an app.
2011-02-22vty: Move the actual commands into a new file in preparationHolger Hans Peter Freyther3-232/+273
2011-02-22vty: Always work through the linkset number for the commandsHolger Hans Peter Freyther1-21/+9
2011-02-22misc: Use llist_add_tail to add new links to the endHolger Hans Peter Freyther5-5/+5
2011-02-22m2ua: Make sure all replies contain the link identifierHolger Hans Peter Freyther1-1/+11
2011-02-22vty: Remove more globals from the bsc data.Holger Hans Peter Freyther8-89/+117
This is a interim solution until we have the new and all mighty new config file format. This should work for now, makes the init abit harder to understand though.
2011-02-17m2ua: Start link only after we had the emergency alignmentHolger Hans Peter Freyther2-3/+8
This should avoid us getting an error as we are sending the SLTM too fast. In one way this makes sense, on the other hand we already have too many states and should remove some variables
2011-02-17log: Improve some logging messages across several files.Holger Hans Peter Freyther2-16/+21
2011-02-17m2ua: Do nothing on a reset request for now.Holger Hans Peter Freyther1-4/+10
Only restart the link test on this link in case the link is present and we need to do things. The link up/down should be controlled in a different way.
2011-02-17m2ua: Keep the M2UA ASP state in the mtp_m2ua_linkHolger Hans Peter Freyther2-36/+97
This change allows to run multiple links over the same SCTP connection or multiple SCTP connections. It does not yet support fail over handling or load balancing but that seems possible now.
2011-02-17m2ua: Include the interface identifier in the notify messageHolger Hans Peter Freyther1-2/+5
2011-02-17mtp: Rename link_no to nr, add a name like for the other commandsHolger Hans Peter Freyther6-53/+63
2011-02-17mtp: Make the mtp_link point to a specific type of linkHolger Hans Peter Freyther10-70/+132
We might want to be able to change the type of a link at runtime. Decouple the link and the actual type of the link.
2011-02-17vty: Move link commands from the name to the linkset numberHolger Hans Peter Freyther1-10/+10
2011-02-17mtp: Stop hardcoding the supported SSN inside the mtp_layer3.cHolger Hans Peter Freyther4-2/+15
Stop hardcoding the supported ssn's inside the mtp_layer3.c and make it possible to allow to configure this in the future.
2011-02-17mtp: Remove the bsc pointer from the MTP LinkSetHolger Hans Peter Freyther5-8/+7
2011-02-17mtp: Rename no to nr to align with the rest of the structsHolger Hans Peter Freyther3-8/+8
2011-02-17bsc: Print the talloc allocation report on SIGUSR1Holger Hans Peter Freyther1-0/+9
2011-02-17bsc: Move the signal handling code over to the bsc.cHolger Hans Peter Freyther3-67/+46
2011-02-17bsc: Move the option parsing into the common code in bsc.cHolger Hans Peter Freyther3-146/+90
2011-02-17bsc: Cleanup some fields and namesHolger Hans Peter Freyther5-15/+5
2011-02-17ss7: Move all mtp linksets callbacks into the app layerHolger Hans Peter Freyther4-60/+77
2011-02-17ss7: Move the linkset up/down into the ss7_app, move some code aroundHolger Hans Peter Freyther6-56/+65
2011-02-17ss7: Provide a way to start the applicationHolger Hans Peter Freyther5-38/+35
2011-02-17ss7: Create a SS7 application that is responsible for the routingHolger Hans Peter Freyther15-115/+499
2011-02-17msc: Move more state into the sccp_state.cHolger Hans Peter Freyther3-25/+11
2011-02-17msc: Move the nat handling into the sccp_state for nowHolger Hans Peter Freyther3-42/+50
2011-02-17msc: Move the MSC Connection into a new header fileHolger Hans Peter Freyther15-172/+314
This is in preparation of splitting the MSC part and the nat logic for the upcoming config rewriting.
2011-02-17m2ua: Start to separate the SCTP code and M2UA to allow multiple linksHolger Hans Peter Freyther4-61/+141
We want to be able to support multiple links over different SCTP connection and in the future also over the same connection. This is the first step to separate the SCTP connection handling from the link handling inside these messages.
2011-02-17mtp: Allow to find a linkset by numberHolger Hans Peter Freyther2-26/+38
2011-02-17mtp: Allocate the MTPLinkSet as a child of the BSCHolger Hans Peter Freyther8-35/+28
In preparation of the VTY code change, make the mtp linkset a child of the bsc.
2011-02-17bsc: Allocate the bsc with talloc insteadHolger Hans Peter Freyther8-118/+151
Allocate the bsc with talloc to have a nice root context for everything in the system.