Harald Welte
50dfc196ca
SUA: add functions for SUA <-> SCCP conversion
2012-01-17 15:11:37 +01:00
Harald Welte
91b7965efb
sctp_core: Make sure to pass all primitives in all states to callback
...
the callback (sctp_sua/sctp_m2pa) can then either act on it by itself
or forward the message to the user
2012-01-17 10:12:34 +01:00
Harald Welte
475ccdbf95
xUA ASP FSM: Don't unconditionally send M3UA_IEI_TRAF_MODE_TYPE
2012-01-17 10:11:58 +01:00
Harald Welte
84facd702d
SUA ASP callback: only deal with ASPSM / ASPTM, not with MGMT
2012-01-17 10:11:31 +01:00
Harald Welte
d174b00d78
add define()s for default port numbers and official PPIDs
2012-01-17 09:00:11 +01:00
Harald Welte
26bdef27dd
Commit current state of working MTP3-in-M2PA
...
The current implementation can successfully establish M2PA with Cisco
ITP.
2012-01-16 22:22:17 +01:00
Harald Welte
f14ef9ffd7
M2PA: deal with empty M2PA messages that don't contain MTP3
2012-01-16 22:20:35 +01:00
Harald Welte
e3b02edba1
MTP3MG: fixe parse/encode ordering if H0/H1 nibbles
2012-01-16 22:04:44 +01:00
Harald Welte
eb8a1c1534
M2PA: fix encoding of MTP3 in M2Pa
2012-01-16 21:56:33 +01:00
Harald Welte
958c644834
M2PA: fix parsing of MTP3 portion of M2PA user messages
2012-01-16 21:40:22 +01:00
Harald Welte
092443629b
MTP3: fix encoding of bit/byte ordering in routing label
2012-01-16 21:39:48 +01:00
Harald Welte
429456f13f
MTP3: parsing of mgmt messages
2012-01-16 20:03:37 +01:00
Harald Welte
b668988e25
Add M2PA codec, MTP2 IAC and LSC gen_fsm implementations
2012-01-16 16:00:45 +01:00
Harald Welte
fa8ada0145
MTP3: Add SLTC gen_fsm implementation (Q.707)
2012-01-16 15:59:45 +01:00
Harald Welte
642a68b017
mtp3: add encoder/decoder for MTP3MG
2012-01-16 15:59:27 +01:00
Harald Welte
d9c318fdca
sccp_codec: make sure we also accept list input, not just binary
2011-12-10 22:17:11 +01:00
Harald Welte
fe275c0038
ss7_links: don't crash on MTP-{PAUSE,RESUME,STATUS}.ind from M3UA
2011-12-08 14:19:49 +01:00
Harald Welte
9b5ea3e612
ss7_links: add mtp3_tx/2 variant to trnasmit to given linkset
...
this doesn't resolve the Linkset based on Dpc/SLS, but on the
caller-specified linkset name.
2011-12-08 14:09:34 +01:00
Harald Welte
4608ba1779
ss7_{links,routes}: deal with tuple/record point codes
2011-12-08 12:10:34 +01:00
Harald Welte
19350ad9d4
ss7_routes: accept tuple/record point codes
2011-12-08 12:05:34 +01:00
Harald Welte
eecba25038
M3UA / MTP3: accept #mtp3_routing_label{} with tuple/record point codes
2011-12-08 12:02:02 +01:00
Harald Welte
7ad37a2220
allow pointcode2int() for a pointcode that's already in integer format
...
this simplifies the callers...
2011-12-08 11:50:00 +01:00
Harald Welte
b5936ba8a6
sccp_codec: it's "undefined", not "undef"
2011-12-08 00:58:51 +01:00
Harald Welte
683ed23bbd
SCCP: support encoding of non-integer pointcodes (auto conversion)
2011-12-08 00:56:54 +01:00
Harald Welte
ba0ada720f
osmo_util: define #pointcode{} record instead of manual 3-tuple
2011-12-08 00:56:30 +01:00
Harald Welte
9baab6dbc9
sccp: addr helper functions for quick generation of GT/sccp_addr
2011-12-08 00:46:00 +01:00
Harald Welte
21cde2e5db
sccp: add definitions for NAI (nature of address indicator)
2011-12-08 00:45:43 +01:00
Harald Welte
ca6f2cf41d
update gitignore
2011-11-12 11:26:56 +01:00
Harald Welte
b819e2429f
rebar script: use eunit_surefire to generate XML output
2011-11-11 23:29:19 +01:00
Harald Welte
10d77cd53a
m3ua: fix typo (caught by dialyzer)
2011-11-04 22:28:21 +01:00
Harald Welte
3dfbe2565e
osmo_util: we cannot restrict the parameter type of a primitive
2011-11-04 22:28:04 +01:00
Harald Welte
dd540862da
add some simplistic type / range annotations for records in headers
2011-11-04 22:25:40 +01:00
Harald Welte
dbe1c88489
IPA client: make sure set_link_state is called with proper type
...
caught by dialyzer
2011-11-04 21:49:23 +01:00
Harald Welte
d4e423f09d
bssmap_codec: fix bin_bcd2str (cought by dialyzer)
2011-11-04 21:49:00 +01:00
Harald Welte
7dadde8c70
Make sure an incoming M3UA message is actually sent to registered service Pid
2011-10-19 13:40:39 +02:00
Harald Welte
805fac48ee
ss7_links: add get_opc_for_linkset/1, is_pc_local/1
...
the functions are related to determining the local point code of
signalling links.
2011-10-12 17:17:55 +02:00
Harald Welte
9c3b1bb25f
sccp_codec: SCCP point codes are little-endian !
...
we parsed and generated them as big-endian so far, which is wrong.
2011-10-12 17:00:34 +02:00
Harald Welte
9bfab7c6f9
ss7_routes: some pretty printing of point codes
2011-10-12 00:02:42 +02:00
Harald Welte
b8bfc4eb83
add new 'ss7_routes' module to maintain point code routes
...
Once a linkset becomes active, it will automatically add a route
for its destination point code to the routing table. If a linkset
transitions into 'up' or 'down', it will be removed from the routing
table.
the ss7_routes:create_route() and delete_route() calls can be used
by anyone to create additional point code routes (with mask)
2011-10-11 18:49:59 +02:00
Harald Welte
f0e315da42
MTP3: ASP-INACTIVE.ind should result in a "up" state (up == inactive)
2011-10-11 18:48:42 +02:00
Harald Welte
67b003dcad
add dummy ss7 service dumper module
...
Instead of implementing a real subsystem, it just dumps all MTP3 payload
messages of specified service
2011-10-10 21:43:27 +02:00
Harald Welte
8fa297de83
ss7 supervisor: fix add_mtp_link() function
2011-10-10 19:32:13 +02:00
Harald Welte
8a9f28c91e
ss7_links: Don't kill the user PID that has created a linkset
...
Linksets are more like global applicaiton config, they should not be
removed at the time the process configuring them has died.
2011-10-10 19:31:27 +02:00
Harald Welte
1ea446947d
ss7_links: actually trap the EXIT signal of the other processes
2011-10-10 19:19:13 +02:00
Harald Welte
0013e7949e
fix table name
2011-10-10 14:58:29 +02:00
Harald Welte
dd57e67991
ss7_links add function to dump service state
2011-10-10 14:54:06 +02:00
Harald Welte
dfe15e7f25
ss7_links: link to the 'service' pid and cleanup on exit
2011-10-10 14:49:19 +02:00
Harald Welte
c6e466edcb
import SS7 link handling from osmo_ss7
2011-10-10 14:03:50 +02:00
Harald Welte
4997823ccd
remove sccp_scoc/sccp_scrc which are now part of osmo_sccp
2011-10-10 12:41:09 +02:00
Harald Welte
cc69928878
sccp_scrc: Use sccp_links:mtp3_tx() instead of mtp_tx_action callback
...
The point here is that the MTP3 level needs to make a decision which
link to route the message to... so there must be a common transmit
function, which then calls the link-specific transmit function after
resolving the actual link.
2011-10-10 12:32:27 +02:00