Commit Graph

50 Commits

Author SHA1 Message Date
Harald Welte d08247b27d sccp_routing: add missing check_and_dec_hopctr() default case 2013-07-14 19:44:36 +02:00
Harald Welte ffc25358e4 routing: handle routing of incoming cr/connless by GT (not SSN) 2013-07-14 19:40:02 +02:00
Harald Welte 0b9cae1e91 SCRC: don't use tracing for this process anymore, reduce screen clutter 2013-07-14 19:32:08 +02:00
Harald Welte 54b54e8461 osmo_sccp_tcap: remove debug print 2013-06-24 12:24:04 +02:00
Harald Welte d9b9aaa9cd support local_out messages with GT but not pointcode
We cannot determine the MTP3 DPC from simply looking at the CalledParty
GT address, as there is no PC in the GT.  We have to use the result
of the routing decision as MTP3 DPC in this case!
2013-06-18 19:33:50 +02:00
Harald Welte f6259f4ff4 osmo_sccp_tcap fixes
* Ignore + Print N-NOTICE.ind from SCCP
* protocol_class is not always present from SCCP
* use {debug, trace} when starting the gen_server
2013-06-10 13:39:51 +02:00
Harald Welte afcc0cf52f SCRC: make sure to forward UDTS as N-NOTICE.ind, not N-UNITDATA.ind 2013-06-07 12:52:18 +02:00
Harald Welte ac6129b646 add compatibility clause for Erlang Public License 2012-04-16 13:13:26 +02:00
Harald Welte fe4407cb0f SCCP SSN Dump: Fix case where we register only for one {SSN, PC} tuple 2012-01-28 19:17:14 +01:00
Harald Welte f633f12730 SCOC: Make sure to cancel old Tiar/Tias before starting new ones... 2012-01-28 19:12:15 +01:00
Harald Welte 58f820eb8e SCOC: Handle IT message in active state 2012-01-28 16:17:00 +01:00
Harald Welte e698ae2b4c SCCP: Make sure connection oriented messages end up with the user
The user initiating the connection should get all messages related to
that connection, not the supervisor ;)
2012-01-28 15:53:43 +01:00
Harald Welte 9760efc644 SCPC: Make sure connection-oriented SCCP actually works
This is a major patch that brings SCCP SCOC from 'should theoretically
work' to 'has actaully been tested to some extent for locally-originated
2012-01-28 14:44:46 +01:00
Harald Welte b94e8fc96f fix sccp_ssn_dump.erl 2012-01-28 14:44:25 +01:00
Harald Welte 0a224539d9 sccp_routing: make sure route_cr_or_connectionless() actually terminates 2012-01-28 14:43:52 +01:00
Harald Welte adff875073 osmo_sccp_tcap: SSN must be an integer 2012-01-28 14:43:27 +01:00
Harald Welte 71020ed0d3 SCOC: correctly interpret primitives from/to SCRC for CO 2012-01-25 01:22:25 +01:00
Harald Welte 66ad686392 SCCP SCOC: handle CC, CREF and RLSD in conn_out_pending state 2012-01-24 23:18:29 +01:00
Harald Welte 5802031adc SCOC: Make sure to send src_local_ref and proto_class to SCRC on CR 2012-01-24 13:04:50 +01:00
Harald Welte 31300014e6 Synchronize with signerl changes regarding SCCP adapter startup
Synchronize with signerl commit
2011-12-13 19:20:08 +01:00
Harald Welte 67afe0b59a scrc: gracefully handle the case where local subsystem is unequipped
sccp_routing will have responded accordingly, we simply ignore the
message in scrc.
2011-12-11 22:06:21 +01:00
Harald Welte dee465b0e8 include osmo_sccp_tcap.erl in .app file 2011-12-10 19:22:16 +01:00
Harald Welte b80119cd3e routing: accept non-integer point codes in is_local_pointcode() 2011-12-10 19:21:58 +01:00
Harald Welte c6bfb3be69 SCRC: transmit messages over MTP3 based on linkset name, not DPC 2011-12-10 19:21:40 +01:00
Harald Welte 44a9c99c0c sccp_user: take advantage of new simplified osmo_util:pointcode2int() 2011-12-08 11:58:03 +01:00
Harald Welte 5b0f66f828 sccp_routing: properly treat return tuple of osmo_ss7:route_dpc() 2011-12-04 21:48:12 +01:00
Harald Welte b25d878a48 add glue layer between SCCP and TCAP 2011-12-04 21:47:39 +01:00
Harald Welte b07fd4ad93 add rebar.config 2011-11-11 23:31:27 +01:00
Harald Welte abf1603e5c scrc: add FIXMEs about routing outgoing connection oriented msgs
When we receive local-out messages from SCOC into SCRC, they need to be
SCCP-encoded, routed and MTP3-encoded before they can be passed on.

Spotted by dialyzer.
2011-11-05 22:02:44 +01:00
Harald Welte 5a8a5a062d sccp_routing: make sure route_local_out() returns proper tuple
caught by dialyzer
2011-11-04 21:55:55 +01:00
Harald Welte 4c37da86de sccp_user: fix local_ssn_avail if called with PC in tuple format
caught by dialyzer
2011-11-04 21:55:04 +01:00
Harald Welte e75dff8b69 SCRC: deal with gen_server:cast() from MTP3 even though we're gen_fsm 2011-10-19 22:58:26 +02:00
Harald Welte ab725b5cc7 allow users to bind to a subsystem number on all local point codes
binding to {SSN,undefined} basically corresponds to binding to a
UDP port with INADDR_ANY.
2011-10-19 22:57:44 +02:00
Harald Welte ab61a4ec38 complete SCCP routing code
we now use ss7_links in order to determine which point codes are local
or not, and we use the routing table to determine the signalling link.

local-out routing form N-UNITDATA.req to the actual MTP3 on the correct
signalling link is now working.
2011-10-12 17:19:45 +02:00
Harald Welte 8880b7e585 allow non-integer (tuple) point codes to be used in function arguments 2011-10-12 17:18:49 +02:00
Harald Welte e2bbbb30a1 add sccp_ssn dumper module, dump messages of specified subsystem 2011-10-10 21:43:57 +02:00
Harald Welte 09145645eb move ss7_link into libosm-ss7 2011-10-10 20:44:10 +02:00
Harald Welte ebaeb8d7f2 rename sccp_link to ss7_link, as it also serves ISUP and other services 2011-10-10 13:13:35 +02:00
Harald Welte 3368ac3b7c sccp_links: add bind_service/unbind_service to register ISUP/SCCP 2011-10-10 13:07:31 +02:00
Harald Welte 9b6a39bdd7 import sccp_scrc and sccp_scoc from old osmo_ss7 repository
osmo_ss7 is responsible for the mtp2/mtp3/m2ua/m3ua/ipa type links,
while we collect all actual SCCP related functionality here.
2011-10-10 12:38:45 +02:00
Harald Welte 0335308da7 add .gitignore file 2011-10-10 12:38:40 +02:00
Harald Welte 8c9d4e7e94 osmo_sccp: First version handling full chain from sccp_user to m3ua link 2011-10-10 12:31:09 +02:00
Harald Welte ce046284e4 sccp_link_m3ua: Fix set_link_state() parameter type 2011-10-10 10:47:47 +02:00
Harald Welte e3dd7be386 sccp_link_m3ua: Fix typo 2011-10-09 23:31:19 +02:00
Harald Welte a2ac68342b add new file implementing SCCP routing (no GTT yet) 2011-10-09 14:32:30 +02:00
Harald Welte 49fb161451 sccp_{links,user}: Add EXIT info handler for ets table cleanup
Once a linked process dies, we evict all related records from our ETS
2011-05-01 14:23:05 +02:00
Harald Welte d975d90fcc sccp_{links,user}: link to the user process
This means we get notified if the process dies, i.e. we can remove it from
our ets tables.
2011-05-01 14:08:23 +02:00
Harald Welte f8b852c2e0 fix various bugs in sccp_user / sccp_erl occuring during first test 2011-04-30 15:36:40 +02:00
Harald Welte c1ccf1d1cd osmo_sccp application/supervisors 2011-04-29 08:57:09 +02:00
Harald Welte cc40877d65 sccp_links and sccp_user as registries for MTP links and local subsystems 2011-04-29 08:55:56 +02:00