Harald Welte
77d0ee7b13
CCO: properly convert InvokeID of received components
11 years ago
Harald Welte
e7540c5c33
DHA: make sure that the 'ok' of ASN.1 decoder doesn't end up in components list
11 years ago
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.
11 years ago
Harald Welte
250b36f2d8
TCO: make sure transaciton IDs are always converted from binary to int
11 years ago
Harald Welte
67f6051009
DHA: Always store TR-* record in state.state, not TC-*
11 years ago
Harald Welte
ae3aa8c3f2
DHA: Use incoming DialogueID from user as Transaction ID in TR sub-layer
...
Theoretically, Dialogue IDs and Transaction IDs are two independent
namesepaces. However, since TC is the only user of TR, we can simply
establish a 1:1 mapping.
11 years ago
Harald Welte
f5005c00e0
CCO: Use empty list [] instead of indefined for empty state.components
11 years ago
Harald Welte
d8c6cf5e18
CCO: remove dead code
11 years ago
Harald Welte
59d51e23a4
CCO: include DialogueID in user primitives; correctly convert InvokeID
11 years ago
Harald Welte
876c198584
DHA: work around TCAP implementations that forget tho send the id-as-dialogue
11 years ago
Harald Welte
141484622f
DHA: Make sure to generate TC-END.ind to TC-User
11 years ago
Harald Welte
50f0aac344
tcap_sup: add comment
11 years ago
Harald Welte
44a2bf3a3a
ISM: terminate gracefully if 'termiante' event received
11 years ago
Harald Welte
c956b44d97
CCO: handle 'dialogue-terminated' gracefully
11 years ago
Harald Welte
f43bffe405
DHA: handle TR-END.indication from TSL
11 years ago
Harald Welte
8d7b02530f
TSM: fix incoming handling of Continue/End/Abort
11 years ago
Harald Welte
556e14a07f
TCO: Fix ets lookup when receiving END transaction
11 years ago
Harald Welte
a0efe8a006
CCO: Forward incoming INVOKE directly to TC-User
11 years ago
Harald Welte
feb2275971
CCO: correctly resolve ISM Pid on response to outgoing Invokes
11 years ago
Harald Welte
bc4c9669ae
CCO: gem_fsm/gen_fsm spelling mistake
11 years ago
Harald Welte
7943c341b2
DHA: fix copy/paste mistake END/CONTINUE
11 years ago
Harald Welte
9bdce61410
TCO: Pass only Pid, not complete From tuple as Usap PID to DHA
11 years ago
Harald Welte
d03ed86648
DHA: correct parsing of ComponentPortion and AARE-apdu
11 years ago
Harald Welte
a8487477ad
TSM: supervisor starts DHA, not us. Resolve DHA using ets
11 years ago
Harald Welte
cd4dceba61
TSM: fix copy+paste mistake resulting in BadRecord exception
11 years ago
Harald Welte
8adb719ce5
TCO: correctly parse/decode incoming transaciton IDs to resolve TSM
11 years ago
Harald Welte
fd392388e9
TCO: fix interpretation of incoming TPDUs
...
It's sufficient to call the asn1 decoder on TCMessage, we don't need
to call it again for begin/continue/end
11 years ago
Harald Welte
aee832a6ee
CCO: correctly encode InvokeId in local generation of Invoke
11 years ago
Harald Welte
d2a045ad25
DHA: use TC:Components for encoding components, not TR:ComponentPortion
11 years ago
Harald Welte
8cecce3aba
CCO: actually hand over the [{invoke, #'Invoke'{}}] style components to DHA
11 years ago
Harald Welte
5d2061e509
DHA: properly encode dialogueportion during BEGIN
11 years ago
Harald Welte
153cdc4564
ISM: give ISM processes a proper name to help debugging
11 years ago
Harald Welte
c2773f018b
enable gen_fsm debug tracing for TSM and DHA for the tiem being
11 years ago
Harald Welte
983e81e9e6
transaction supervisor: properly convert name from list to atom
11 years ago
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.
11 years ago
Harald Welte
b8f82b68af
DHA: Fix encoding of ComponentPortion
11 years ago
Harald Welte
05f7778a81
TCO/TCU: Make sure to start all supervisors on INVOKE
...
This introduces a new 'call' from the TC-User to TCO, which creates
the equired transaction_sup, dialogues_sup, dha_fsm and tsm_fsm _before_
the TC-INVOKE component will be passed into the new DHA fsm.
Once the TCO actually receives the TR-BEGIN, it will not start the
transaction supervisor, but merely look it up based on the TR-user
provided transaction ID.
11 years ago
Harald Welte
0b3d9b053c
make sure CCO correctly starts new ISM
11 years ago
Harald Welte
24b34f506a
transaction_sup: start dha_fsm in addition to dsm_fsm
12 years ago
Harald Welte
dbb39e1776
Fxi the way that TCO starts transaction_sup and tsm_fsm in local-out-begin
12 years ago
Harald Welte
bedd015b07
DHA: No need for passing PID of dialogue_sup into DHA
12 years ago
Harald Welte
4ab9bffba2
TSM: use a caller-provided Fun to send primitives towards SCCP
12 years ago
Harald Welte
6b0a7361be
DHA: Since TCO is a gen_server, not gen_fsm, use cast!
12 years ago
Harald Welte
f42d43b9f4
TCO: export the new_tid() function
12 years ago
Harald Welte
0f692c61b5
make sure that the 'transactionID' key in the ets table exists
12 years ago
Harald Welte
a6ead2ab01
make sure ANSI part at least compiles, even if incomplete
12 years ago
Harald Welte
2cdfd20466
s/transaction_coordinator_server/tcap_tco_server/g
12 years ago
Harald Welte
04c548c2d8
CCO: make sure ISM list is initialized as empty list []
12 years ago
Harald Welte
f6f4f6d5cc
CCO: fix typo (send_event instead of sent_event)
12 years ago
Harald Welte
70be83b1c9
tcap_invocation_sup:start_ism/5 instead of start_ism/1
12 years ago