Commit Graph

13 Commits

Author SHA1 Message Date
Harald Welte 3bf400d91a TSM: we already receive decoded asn.1, don't try to feed that to decoder again 2013-06-08 00:55:01 +02:00
Harald Welte 12f95d3935 TSM: use default QoS values if not provided in TR-* prim
According to Q.771, it is a User option if QoS paramters are passed
down.  We simply use default paramters if none have been provided.
2012-01-31 20:54:24 +01:00
Harald Welte 8d7b02530f TSM: fix incoming handling of Continue/End/Abort 2012-01-30 23:08:27 +01:00
Harald Welte a8487477ad TSM: supervisor starts DHA, not us. Resolve DHA using ets 2012-01-30 20:51:23 +01:00
Harald Welte cd4dceba61 TSM: fix copy+paste mistake resulting in BadRecord exception 2012-01-30 19:50:49 +01:00
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