Holger Hans Peter Freyther
d8a73e24d2
isup: Allow to have a different OPC for ISUP messages.
2011-01-20 11:49:39 +01:00
Holger Hans Peter Freyther
a79ac9be8d
isup: ANSI/ITU have a different idea about the CIC and spare bits
...
There can be 2 or 4 spare bits depending on the ISUP spec, it is
better to handle this in higher code and assume the whole thing is
a cic.
2011-01-20 11:49:39 +01:00
Holger Hans Peter Freyther
a4661fb228
isup: Fix the lebgth check in this packet
2011-01-20 11:49:39 +01:00
Holger Hans Peter Freyther
b4dd029632
isup: Add the isup_types.h to the header files (fixes distcheck)
2011-01-20 11:49:39 +01:00
Holger Hans Peter Freyther
f0a5139a7b
mtp: Add defines for the test messages
2011-01-20 11:37:51 +01:00
Holger Hans Peter Freyther
cfbe80febb
mtp: Send a TFA for the point codes we are routing to.
2011-01-20 11:37:50 +01:00
Holger Hans Peter Freyther
adf7692031
mtp: Send TRA messages on all affected point codes
2011-01-20 11:37:50 +01:00
Holger Hans Peter Freyther
27c5e2357f
mtp: Send the TFP for every POC we want to handle.
2011-01-20 11:37:50 +01:00
Holger Hans Peter Freyther
bee2ed18c7
mtp: Make the input path work on a specific link of the linkset
2011-01-20 11:37:50 +01:00
Holger Hans Peter Freyther
84899a484c
stp: Set the pcap fd properly... WIP merge this
2011-01-20 11:37:50 +01:00
Holger Hans Peter Freyther
efbd8c2e80
stp: Allow to forward all ISUP messages without any modification
2011-01-20 11:37:50 +01:00
Holger Hans Peter Freyther
1b6901ec4a
stp: Forward unhandled ISUP from one end to another
2011-01-20 11:37:50 +01:00
Holger Hans Peter Freyther
9cf11bc109
stp: Create a M2UA link by hand and connect the SCCP routines
...
This is a hacked version that will just forward SCCP from one
linkset to another one. It is missing configuration and ISUP.
2011-01-20 11:37:50 +01:00
Holger Hans Peter Freyther
a93b83bf99
stp: Begin to implement a signalling transfer point
...
This is creating a new application that will be a signalling
transfer point. Right now it is a stripped down version of
the udt_relay, which is a stripped down version of cellmgr_ng.
2011-01-20 11:37:50 +01:00
Holger Hans Peter Freyther
92affdad72
mtp: Do not send anything in case the there is no link
...
If there is no usable link in the linkset we should not try
to send. This assumes that all incoming packages come from
links that are up. We do not check this right now but we
will have to check this.
2011-01-20 11:37:49 +01:00
Holger Hans Peter Freyther
101cd0bc83
mtp: Send the SSA/SSP for the apoc and assn of the request
2011-01-20 11:37:49 +01:00
Holger Hans Peter Freyther
df8597aeea
mtp: Send the SSA with the affected POC for SCCP.
2011-01-20 11:37:49 +01:00
Holger Hans Peter Freyther
c17852ee34
m2ua: Write MTP packets to the pcap file if requested.
2011-01-20 11:37:49 +01:00
Holger Hans Peter Freyther
e13c5aa418
Merge branch 'on-waves/m2ua'
2011-01-17 15:15:05 +01:00
Holger Hans Peter Freyther
d70a7e8e79
m2ua: Create a MTP Link class using SCTP/M2UA for the transport
...
This is a MTP Link that can be used with a MTP LinkSet. E.g. with
some config changes one could use cellmgr_ng or udt_relay over a
M2UA link.
2011-01-17 14:45:15 +01:00
Holger Hans Peter Freyther
0e2f9116f8
mtp: Rename link_data to mtp_link and move out the transport specific things
...
Rename link_data to mtp_link and move it into the mtp_data header
file, also remove the union to ease creating more of the subtypes.
This is done in preparation to the linkset knowing more about the
link (e.g. having a link test per link instead of per link).
2011-01-17 14:11:26 +01:00
Holger Hans Peter Freyther
4a3743440b
Merge branch 'on-waves/multiple-links'
2011-01-17 11:29:07 +01:00
Holger Hans Peter Freyther
d91f94024e
mtp: Create the SLC with all links
2011-01-17 11:27:32 +01:00
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