Harald Welte
dd35d2c8fb
xua_asp_fsm: Add start_link/6
2012-05-09 00:10:39 +02:00
Harald Welte
312a1eb1ae
xua_as_fsm: ignore ASP_DOWN in AS-PENDING and fix state list generation
2012-05-09 00:03:38 +02:00
Harald Welte
eb61885c35
xua_asp_fsm: wrap next_state/1 and signal ASP state chg to AS
2012-05-08 23:50:04 +02:00
Harald Welte
09a80c09df
sg_as_sup: introduc get_as_fsm_name/1
2012-05-08 23:37:33 +02:00
Harald Welte
7c3ec176b1
xua_as_fsm: fix use of lists:all/2 and introduc create_asp/2
2012-05-08 23:36:49 +02:00
Harald Welte
ee7964c0f3
make the SG AS/ASP supervisor hierarchy work
2012-05-07 23:55:02 +02:00
Harald Welte
108c4b73f7
M2UA: some important parameter types
2012-05-06 23:32:40 +02:00
Harald Welte
fbd4f73739
add new AS and ASP supervisors as well as FSM for AS
...
This is part of a new process hierarchy for proper operation of a SG
(Signalling Gateway) with a number of AS, each containing multiple ASP,
the respective state management, fail-over, etc.
The AS supervisor starts the AS fsm and the ASP supervisor.
The ASP supervisor will be used to start and maintain ASP fsm's
(xua_asp_fsm), which in turn link into the respective M2UA/M3UA/SUA
behavior.
Those ASP fsm's will then be used by the processes that represent the
SCTP associations.
2012-05-06 23:29:42 +02:00
Harald Welte
0fbcc824f9
add some more M2UA related definitions
2012-05-05 23:59:35 +02:00
Harald Welte
231ae0b993
M2UA Codec: Use generic xUA codec instead
2012-05-05 23:58:21 +02:00
Harald Welte
f8bf03231c
add compatibility clause for Erlang Public License
...
This is required to make sure that even if somebody thinks the erlang
OTP libraries and my code form a derivative work, there will be no
licensing conflict.
2012-04-16 13:10:47 +02:00
Harald Welte
92e783d109
rename sua_codec to generic xua_codec
...
SUA/M3UA/M2UA/M2PA actaully all uses almost the same message format,
so it makes sense to write one generic xua_codec and derive from that.
The current SUA implementation didn't actually contain anything SUA
specific, so we can just rename it and use xua_codec directly from the
users.
2012-04-01 19:54:20 +02:00
Harald Welte
7aff8fb62b
sua_codec: rename generic part from sua -> xua
2012-04-01 19:03:31 +02:00
Harald Welte
bd63ade980
sctp_sua: Pass connectionless msgs to SCCP
2012-04-01 18:41:53 +02:00
Harald Welte
48a7b19ce0
remove debug output
2012-02-13 22:15:24 +01:00
Harald Welte
1a82d20b59
sccp_codec: Adapt eunit test case to recent code changes
...
In commit 2c67ac00cc
we removed
the 'encoding' parameter from the sccp_gt record.
2012-02-13 14:39:13 +01:00
Harald Welte
4e159db4a5
sua_codec: Adapt test to recent code changes
...
In 4d6109983b
we removed a length field
from the sua_msg record, the eunit test case has to be adapted
2012-02-13 14:35:04 +01:00
Harald Welte
d36ad227d9
mtp3_codec: update eunit test with recent code change
...
Fixes in the mtp3 parser introduced in
092443629b
have to be reflected in the
test case.
2012-02-13 14:33:07 +01:00
Harald Welte
a4a6f9b76b
ss7_links: no longer 'link' processes creating a linkset
...
This just produced bogus messages about cleaning up tables, which was
not being done anymore anyway.
2012-01-31 22:30:58 +01:00
Harald Welte
79e233f14a
osmo_util: add new asn_val() function
2012-01-31 22:30:22 +01:00
Harald Welte
7580dc5430
ss7_links: add type annotations
2012-01-28 14:42:45 +01:00
Harald Welte
31da1fd8b0
IPA ss7_link: Construct fake mtp3_routing_label{}
...
In SCCP-over-IPA links, we don't have MTP3 or something else that can
transport a routing label. It's a true point-to-point connection and
it cannot do MTP-based routing. In order to fit this into our existing
SS7 link / linkset code, we locally construct a fake mtp3 routing label
with the remote and local point code of the linkset.
2012-01-28 14:09:59 +01:00
Harald Welte
f66bbfa97b
IPA protocol: Fix delivery of 'ipa_closed' to user processes
2012-01-28 14:08:52 +01:00
Harald Welte
abfa83e85b
SCCP: add defines for Reset, Error and Release Cause values
2012-01-28 14:08:34 +01:00
Harald Welte
1180b7cf00
move invert_rout_lbl to mtp3_codec and export it there
2012-01-25 01:28:56 +01:00
Harald Welte
cbddf84dde
SCCP codec: fix parsing of CC message option part
2012-01-24 22:58:01 +01:00
Harald Welte
5208c29a52
SS7 IPA module: Various typo fixes
2012-01-24 00:00:51 +01:00
Harald Welte
2968ef8bee
IPA: set link state 'active', not just 'up'
2012-01-23 23:57:21 +01:00
Harald Welte
5cde762bd9
Integration between IPA protocol and ss7_links code to permit SCCP over IPA
2012-01-23 23:18:28 +01:00
Harald Welte
0bd3528871
osmo_util:pointcode2int(undefined) -> undefined
2012-01-23 17:35:57 +01:00
Harald Welte
9dda4e179a
sccp codec: correctly parse and encode CR message variable/optional part
2012-01-23 16:15:06 +01:00
Harald Welte
c923a2ab0b
sccp codec: ensure correct encoding of 'undefined' point code
2012-01-23 14:13:05 +01:00
Harald Welte
9ebf3164f6
M2PA: implement RC 'fiso_msu_accepted' flag
...
This flag prevents the accepting of FISU or MSU inside RC, ensuring that
those events cannot enter LSC/IAC during times where they are invalid.
2012-01-20 02:03:22 +01:00
Harald Welte
e5014374e9
MTP2 LSC: ignore SIOS in out_of_service state
2012-01-19 23:19:34 +01:00
Harald Welte
b064a92e1c
M2PA: implement proper acknowledgement of user data
2012-01-19 23:18:34 +01:00
Harald Welte
ae47958d67
m2pa_codec: use standard 'undefined' for not-present mtp3 portion
2012-01-19 23:17:50 +01:00
Harald Welte
23a45c1694
sctp_core: Properly handle cant_assoc event from SCTP
2012-01-19 23:09:17 +01:00
Harald Welte
7098497b89
MTP2 LSC: pass-through of primitives from LSC into IAC during initial alignment
2012-01-19 22:50:39 +01:00
Harald Welte
4055baacc8
MTP2 IAC: Ignore FISU/MSU during proving state of IAC
2012-01-19 22:49:53 +01:00
Harald Welte
4d08a71c98
MTP2 IAC: ignore SIOS in not_aligned state
2012-01-19 22:30:17 +01:00
Harald Welte
99efaf9578
SUA-SCCP converter: fix parsing of protocol class options
2012-01-18 14:11:23 +01:00
Harald Welte
4d6109983b
SUA codec: remove 'msg_length' from sua_msg{}
2012-01-18 14:10:35 +01:00
Harald Welte
2c67ac00cc
SCCP Codec: don't include 'encoding' in sccp_addr{}
...
The Encoding parameter really only tells us about the odd/even number of
digits, and that information is already present as the list of digits in
the decoded address.
2012-01-18 08:49:45 +01:00
Harald Welte
7e1c261f40
SCCP/SUA converter: use atoms like calling_party_addr, not integers
2012-01-18 07:44:31 +01:00
Harald Welte
6b77daa026
add very basic sua decode / re-encode test
2012-01-18 00:29:56 +01:00
Harald Welte
8e92c9a46e
SCCP->SUA conversion: fix lots of bugs in initial untested code
2012-01-18 00:25:26 +01:00
Harald Welte
8ed441d72d
sua_codec: Make sure we can re-encode options with {length, data} tuple
2012-01-18 00:25:05 +01:00
Harald Welte
042a579c02
fix various bugs in SUA -> SCCP conversion
2012-01-18 00:09:51 +01:00
Harald Welte
ad1524b7a5
update osmo_ss7.app with new modules added to this repo
2012-01-17 15:17:28 +01:00
Harald Welte
263f184754
m2pa: fix typo in header file
2012-01-17 15:11:58 +01:00