Commit Graph

137 Commits

Author SHA1 Message Date
Harald Welte f23b46c414 add symlinks from ebin/itu/*.beam to ebin/*.beam
erlang doesn't search for modules recursively in ERL_LIBS
2011-12-15 23:25:54 +01:00
Harald Welte 1452830d37 Update Makefile to make sure TC.{erl,hrl,beam} is removed 2011-12-15 23:24:55 +01:00
Harald Welte 6f1e72c678 add new tcap_user module
This is what a user process will call in order to initiate TCAP
transactions.
2011-12-15 16:45:28 +01:00
Harald Welte efd9ab0344 prefix process names with "tcap_" 2011-12-15 16:43:20 +01:00
Harald Welte fb5de0e5cc rename ets 'transaction' table to 'tcap_transaction'
the ets namespace is global, so weshould prefix it with the name tcap to
avoid collisions with other applications.
2011-12-15 11:33:17 +01:00
Harald Welte 9d04bb6e40 TCAP: don't depend on the sccp application
First of all, different SCCP implementations may have different names.

Secontly, the TCAP application can be started without SCCP.  It's only
needed when the adaptor process between tcap_tco_server and SCCP is
created.  This is an explicit action by the user anyway...
2011-12-15 11:19:33 +01:00
Harald Welte 665aacb35b TCO server: make sure argument list for behaviour module is a list 2011-12-13 19:19:47 +01:00
Harald Welte 0dde0bd85f TCAP SAP supervisor: make sure we correctly start behaviour module
start of a given TCO is done as follows:
{ok, Pid} = supervisor:start_child(tcap_sup, [[osmo_sccp_tcap, [7],[]]]).

where '7' is the SCCP sub-system number (SSN) to which TCAP should bind.
2011-12-13 19:18:52 +01:00
Harald Welte c569118a3a tcap_tco_server is a gen_server, not gen_fsm! 2011-12-13 18:58:41 +01:00
Harald Welte 467e7c7a59 fix various typos in the ISM 2011-12-12 00:42:19 +01:00
Harald Welte 28e1293cdb components supervisor: DHA pid is passed to CCO 2011-10-22 22:19:32 +02:00
Harald Welte e676002dd9 ISM: generate a nice process name including dialogue + invoke ID 2011-10-22 22:19:01 +02:00
Harald Welte bd91071d0b include DHA pid in init arguments of component supervisor 2011-10-22 22:18:39 +02:00
Harald Welte 57be88ad13 CCO: handle incoming Reject from ISM 2011-10-22 19:54:33 +02:00
Harald Welte 75c35570e9 ISM: actually generate REJECT components 2011-10-22 19:54:12 +02:00
Harald Welte 3afbf0a65a CCO: Use TC.hrl instead of ROS 2011-10-18 21:12:44 +02:00
Harald Welte c9e48ab1e7 TCAP DHA: Make sure to use gen_server:cast for CCO as it is no gen_fsm 2011-10-18 21:12:15 +02:00
Harald Welte 4d8b44a455 create a new ets table to save the DialogueId -> DHA-Pid mapping 2011-10-18 21:09:46 +02:00
Harald Welte 59d0c8ab37 Implement the actual CCO, it was just a skeleton before... 2011-10-18 20:52:29 +02:00
Harald Welte 745bcf4099 rename SimpleTCAP asn.1 module to TC (TCAP Components)
This reflects the existing code which expects such a TC module to exist.
2011-10-18 20:42:47 +02:00
Harald Welte 6b363e580e first attempt at implementing the TCO and ISM parts 2011-10-18 20:22:36 +02:00
Harald Welte f564ef7227 add a simplified version of the TCAP ASN.1 syntax 2011-10-18 00:27:04 +02:00
Harald Welte b3888e41fd DHA: use correct name for component supervisor 2011-10-16 01:16:56 +02:00
Harald Welte 5930d0f720 TSM FSM: dialogue_sup -> tcap_dialogue_sup 2011-10-15 23:45:17 +02:00
Harald Welte 841dee9e0d tcap_tsm_fsm: Properly evaluate result of asn1 encoding
results from the asn1 encoder are always prefixed with {ok, ..}

As the encoder returns binary data, the list_to_binary() function is
bogus.  The result might be an iolist() - which we simply specify the
underlying SCCP transport implementation must support (or flatten
itself).
2011-10-15 22:51:39 +02:00
Harald Welte e5a830d607 tcap_tco_server: Fix ASN.1 encode of TR-UNI.req
Handle the return value of the asn1 encoder, considering its use of
iolists as well as the {ok, ...} return tuple
2011-10-15 21:48:43 +02:00
Harald Welte a4df76e84d Add Remote-Operations-Information-Objects.asn 2011-04-22 12:26:22 +02:00
Harald Welte 029471606a add sccp.hrl 2011-04-22 12:25:50 +02:00
Harald Welte d8ad6e011e add .gitignore files for asn1ct generated files 2011-04-22 12:20:56 +02:00
Harald Welte 15b36af2a6 fix child specification in tcap_sup 2011-04-22 12:19:25 +02:00
Harald Welte f512ff7caa various small fixes in order to make MAP code build 2011-04-13 16:14:19 +02:00
Vance Shipley ce61e7f36c added NMS specific SCCP binding 2011-03-30 16:26:40 -04:00
Vance Shipley f6478299b4 Merge branch 'master' of git.osmocom.org:erlang/signerl 2011-03-30 16:21:33 -04:00
Vance Shipley 021bf72700 changed to a BSD Revised form of open source license 2011-03-30 16:17:07 -04:00
Harald Welte f84c5914cf various small fixes to make the TCAP code build at all 2011-03-28 00:08:19 +02:00
Vance Shipley 794624ca47 Initial import of MAP project from Motivity. 2011-03-09 03:06:05 +01:00
Vance Shipley 2c7a40e5ba Initial import of TCAP project from Motivity. 2011-03-07 23:57:05 +01:00