Commit Graph

8 Commits

Author SHA1 Message Date
Harald Welte 992982b298 TSM FSM: Make sure to replace 'undefined' in DialoguePortion with asn1_NOVALUE
The ASN.1 encoder wants to explicitly have asn1_NOVALUE for OPTIONAL
fields.  However, the default erlang record initializer is 'undefiend',
so we have to replace undefined with asn1_NOVALUE before feeding it to
asn1rt.
2012-01-29 23:06:42 +01:00
Harald Welte dbb39e1776 Fxi the way that TCO starts transaction_sup and tsm_fsm in local-out-begin 2011-12-18 21:45:49 +01:00
Harald Welte 4ab9bffba2 TSM: use a caller-provided Fun to send primitives towards SCCP 2011-12-18 12:22:31 +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 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
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