Commit Graph

23 Commits

Author SHA1 Message Date
Harald Welte 0637b91934 CCO: TCAP 'Invoke' parameters are not OPTIONAL
... so we cannot feed asn1_NOVALUE into the encoder, but have to
pass an empty list instead. sigh.
2013-06-10 09:00:51 +02:00
Harald Welte 47c1432648 CCO: use osmo_util:asn1_val() rather than local copy 2013-06-08 00:35:00 +02:00
Harald Welte 77d0ee7b13 CCO: properly convert InvokeID of received components 2012-01-31 21:28:24 +01:00
Harald Welte f5005c00e0 CCO: Use empty list [] instead of indefined for empty state.components 2012-01-31 18:35:27 +01:00
Harald Welte d8c6cf5e18 CCO: remove dead code 2012-01-31 18:09:47 +01:00
Harald Welte 59d51e23a4 CCO: include DialogueID in user primitives; correctly convert InvokeID 2012-01-31 18:03:49 +01:00
Harald Welte c956b44d97 CCO: handle 'dialogue-terminated' gracefully 2012-01-30 23:35:21 +01:00
Harald Welte a0efe8a006 CCO: Forward incoming INVOKE directly to TC-User 2012-01-30 22:51:16 +01:00
Harald Welte feb2275971 CCO: correctly resolve ISM Pid on response to outgoing Invokes 2012-01-30 22:36:02 +01:00
Harald Welte bc4c9669ae CCO: gem_fsm/gen_fsm spelling mistake 2012-01-30 21:18:00 +01:00
Harald Welte aee832a6ee CCO: correctly encode InvokeId in local generation of Invoke 2012-01-30 01:33:07 +01:00
Harald Welte 8cecce3aba CCO: actually hand over the [{invoke, #'Invoke'{}}] style components to DHA 2012-01-30 01:21:21 +01:00
Harald Welte 0b3d9b053c make sure CCO correctly starts new ISM 2012-01-29 20:02:25 +01:00
Harald Welte 04c548c2d8 CCO: make sure ISM list is initialized as empty list [] 2011-12-17 18:55:27 +01:00
Harald Welte f6f4f6d5cc CCO: fix typo (send_event instead of sent_event) 2011-12-17 18:37:44 +01:00
Harald Welte 2e7ab1fe65 CCO: ensure state.components is always a list, not just a record 2011-12-17 18:34:47 +01:00
Harald Welte a0dd2c6228 TCAP: make sure to start tcap_invocation_sup above tcap_ism_fsm
The tcap_invocation_sup is cretaed at the same time the tcap_cco_server
is created.  Once TR requests BEGIN components, the tcap_invocation_sup
is requested to start a new tcap_ism_fsm child.
2011-12-17 17:47:41 +01:00
Harald Welte d828cfabba TCAP: resolve DHA / CCO dependencies on TC-U initiated BEGIN
Prior to this patch, DHA needs to know the CCO pid, and CCO needed to
know the DHA pid at startup.  The idea was to start CCO from within the
init() callback in DHA.  However, this caused a deadlock in the
supervisor.

We now use the locally registred process names (tcap_cco_DLGID) to
resolve the process.  However, it might be cleaner to use an ets table
at some later point.  For now it is nice to see the name of each process
in pman for debugging...
2011-12-17 17:06:29 +01:00
Harald Welte 57be88ad13 CCO: handle incoming Reject from ISM 2011-10-22 19:54:33 +02:00
Harald Welte 3afbf0a65a CCO: Use TC.hrl instead of ROS 2011-10-18 21:12:44 +02:00
Harald Welte 59d0c8ab37 Implement the actual CCO, it was just a skeleton before... 2011-10-18 20:52:29 +02:00
Vance Shipley 021bf72700 changed to a BSD Revised form of open source license 2011-03-30 16:17:07 -04:00
Vance Shipley 2c7a40e5ba Initial import of TCAP project from Motivity. 2011-03-07 23:57:05 +01:00