9
0
Fork 0
Commit Graph

256 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 0f833b084b mtp: take the linkset down when the last link is failing 2011-01-17 11:27:01 +01:00
Holger Hans Peter Freyther 85e17d1224 mtp: Remove the forced_down as it is never read in that application 2011-01-17 11:27:00 +01:00
Holger Hans Peter Freyther fe72c160e2 mtp: Turn the MTPl2 link into a list of links. 2011-01-17 11:27:00 +01:00
Holger Hans Peter Freyther 069e635413 mtp: Keep an array for the SLS -> SLC mapping for active links. 2011-01-17 11:21:12 +01:00
Holger Hans Peter Freyther 644aafbc94 mtp: Make the link_data be a child of the link_set
Change the order of the link and linkset. The link will be
below the linkset. This change should make it more easy to
introduce multiple linksets.
2011-01-17 11:21:11 +01:00
Holger Hans Peter Freyther c8405692b3 mtp: Propagate link and linkset failures in two stages
Handle a single link failure in links.c and if all the
links have failed propagate it up. This is preparing the
multiple links support.
2011-01-17 11:21:11 +01:00
Holger Hans Peter Freyther 569f1e171d mtp: Rename mtp_link to mtp_link_set as this is the linkset
The link_udp is actually below the linkset. We need to get this
right now and then can have multiple links.
2011-01-17 11:21:11 +01:00
Holger Hans Peter Freyther 346e1c4bc4 mtp: Attempt to select the sls properly in the round robin fashion
When we call the submit method with a SLS of -1 we will try
to find the next SLS to do things in a round robin way.
2011-01-17 11:21:10 +01:00
Holger Hans Peter Freyther 45738887be mtp: Kill the link variable from the mtp link. 2011-01-17 11:21:10 +01:00
Holger Hans Peter Freyther b6edf97481 linkset: Prepare the UDP support to support multiple links. 2011-01-17 11:21:10 +01:00
Holger Hans Peter Freyther 016ba29ec2 msc: Remove the msc_clear_queue now that it is not needed 2011-01-17 11:21:10 +01:00
Holger Hans Peter Freyther f19afaed7b sccp: Stop queueing messages between SLTM messages
Remove the queueing of messages that was added during a debugging
session and should not be needed. This will simply bringing down
the linkset.
2011-01-17 11:21:09 +01:00
Holger Hans Peter Freyther a99b04b700 mtp: Move the link code into a new file called links. 2011-01-17 11:21:09 +01:00
Holger Hans Peter Freyther f9b4a86e8d misc: Remove the link_c7 dummy methods 2011-01-17 11:21:09 +01:00
Holger Hans Peter Freyther de56c22702 license: Switch to the GNU AGPLv3 for this network service 2011-01-16 20:35:13 +01:00
Holger Hans Peter Freyther ea853044c8 mgcp: Merge from master. Fix some issues with the new code 2011-01-07 11:38:00 +01:00
Holger Hans Peter Freyther 7e0936ee52 mgcp: Merge new mgcp_protocol to parse digital trunks. 2011-01-06 19:50:32 +01:00
Holger Hans Peter Freyther 7a72556577 mtp: Allow to have a different POC for SCCP 2011-01-01 13:34:58 +01:00
Holger Hans Peter Freyther ff9cd6f8f6 mtp: Well we do not wait for the SST any more but start transmitting. 2010-12-31 21:47:14 +01:00
Holger Hans Peter Freyther 0945961af3 mtp: Add some SSNs we want to handle.
This should be really configurable. SSN=1 should always lead to a
SSA, the others depend on what we run on our end of the link.
2010-12-31 16:54:04 +01:00
Holger Hans Peter Freyther 80ab4c6066 mtp: Implement the subsystem test and respond with a SSP/SSA
The SCMG handling should be moved to a different file. Right
now the list of supported SSNs is not configurable but it should.
2010-12-31 13:40:19 +01:00
Holger Hans Peter Freyther eefd72cd74 mtp: Remove the flood feature as the issue has been debugged
The issue with paging messages with a PointCode and the too
long queue has been fixed by rewriting the header.
2010-12-20 17:24:23 +01:00
Holger Hans Peter Freyther 9260b24428 iusp: Make isup parsing work on big endian machines 2010-12-20 17:24:23 +01:00
Holger Hans Peter Freyther 882082c1f6 mgcp: Fix the adaptation name for the config options 2010-12-20 17:21:26 +01:00
Holger Hans Peter Freyther 2c472a3f7b mgcp: Fix the management objects 2010-12-20 17:21:26 +01:00
Holger Hans Peter Freyther d10a3c1b4a mtp: Attempt to fix the SCCP restart logic.
The SST is not necessary. We will have to assume the link is
established after having gotten the TRA on the Affected Point Code
and we will need to always handle the restart allowed.
2010-12-10 13:22:46 +01:00
Holger Hans Peter Freyther 3aad776b28 isup: Respond to a ISUP GRS with a GRA. 2010-12-10 13:22:46 +01:00
Holger Hans Peter Freyther 433ea2f037 isup: Implement handling GRS and GRA messages for ISUP. 2010-12-10 13:22:46 +01:00
Holger Hans Peter Freyther c21cfaa023 isup: Start parsing the ISUP messages
Introduce a ISUP debug category, parse the reset circuit
message, add a test case for this easy parsing.
2010-12-10 13:22:46 +01:00
Holger Hans Peter Freyther 03ba4f485b isup: Start with isup support in the cellmgr.
Start parsing the ISUP messages. This just adds what
we need to handle now and will not grow it a lot.
2010-12-10 13:22:42 +01:00
Holger Hans Peter Freyther 58d0c24f03 mtp: Send a simple ISUP message 2010-12-08 11:32:29 +01:00
Holger Hans Peter Freyther ae7418177e mtp: Print a TFP message on the screen when we get a message 2010-12-08 11:28:12 +01:00
Holger Hans Peter Freyther 3a80cb2593 mtp: Prepare ISUP handling, just print the ISUP part. 2010-12-08 11:12:46 +01:00
Holger Hans Peter Freyther 1291ce5f8c mtp: Print un-handled messages 2010-12-08 11:10:34 +01:00
Holger Hans Peter Freyther 8220b94064 udt_relay: Remove the abort and return a NULL pointer after a message 2010-12-08 10:08:40 +01:00
Holger Hans Peter Freyther 396282ef8e udt_relay: Initialize the ni_ni as well here 2010-12-08 10:08:14 +01:00
Holger Hans Peter Freyther e15fa4cafe contrib: Add smalltalk script to send send UDP messages
These messages are a SLTM and a TRA message that we want
to test on the udt relay receiver. The speciality is the header.
2010-12-08 10:06:52 +01:00
Holger Hans Peter Freyther 8fa8e584dd mgcp: Add config options for some GAIN options, apply them. 2010-12-01 23:45:22 +01:00
Holger Hans Peter Freyther 3bbb58bfdb mtp: Group all MTP settings together. 2010-11-26 21:25:38 +01:00
Holger Hans Peter Freyther b38b33b884 mtp: Make the spare/ni configurable 2010-11-26 21:21:04 +01:00
Holger Hans Peter Freyther e976df1b5b mtp: Be able to set the spare bits in the network indicator 2010-11-26 21:07:11 +01:00
Holger Hans Peter Freyther 4e3e28e916 mtp: Store the NetworIndicator in the mtp_link and use it
Prepare to make the ni configurable and store it inside the
mtp_link where it can be changed by the user of the mtp_link.
Initialize this to the current value.
2010-11-26 21:05:39 +01:00
Holger Hans Peter Freyther 2a9bf2b615 mtp: Set the network indicator in the mtp_msg_alloc
Prepare to have different network indicators.
2010-11-26 21:01:58 +01:00
Holger Hans Peter Freyther 7694381f52 udt: Add a forward_only to the bsc struct and use it for the msc_conn
Simply forward everything, no need for inspecting things.
2010-11-16 11:16:37 +01:00
Holger Hans Peter Freyther 594ee9a8c4 udt_relay: Add a forked copy of main to just relay messages
Do not run any of the header rewriting for messages. This will
simply relay SCCP friends to the MTP library. Some work on msc_conn.c
is needed to avoid calling most of it.
2010-11-16 11:03:19 +01:00
Holger Hans Peter Freyther ed3046339e mgcp: Print the extra settings from the config 2010-10-27 19:33:06 +02:00
Holger Hans Peter Freyther d25dfce4f5 assignment: An evil hack to include some fake IES..
Add stuff to the message...
2010-10-27 15:59:33 +02:00
Holger Hans Peter Freyther e3abeb1400 mgcp: Assume that on a MDCX all data is present...
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-10-18 19:37:32 +02:00
Holger Hans Peter Freyther 5d930f8745 mtp: Store the mtp_link inside the connection
Prepare to have multiple links to the BSC.
2010-10-08 23:18:15 +08:00
Holger Hans Peter Freyther dedb7ce3fe mtp: Ignore the spare bits as of Q.701 6.2
The sender is supposed to set them to 0 and we are asked
to ignore them. Apparently something called SIF is enabled
on the sender side.
2010-10-08 17:49:24 +08:00