Harald Welte
babe0e92cd
DHA: After sending TR-CONTINUE from initiation-received state we go to active
2013-06-09 23:13:56 +02:00
Harald Welte
f0d0e908d1
DHA: don't forget to 'request-components' in TC-CONTINUE
...
when TCU requests a TC-CONTINUE, DHA has to request pending
components from CCO.
2013-06-09 23:01:40 +02:00
Harald Welte
1e7edddd7f
Always include AARE DialoguePDU if sending first END/CONTINUE
...
According to the spec regarding dialogue handling, the first
CONTINUE or END in response to a BEGIN must always contain a
dialogue portion with an AARE PDU, acknowledging protocol version and
application context name.
2013-06-09 22:13:41 +02:00
Harald Welte
0a00ca8a20
DHA: make extract_dialogue_portion() safe for asn1_NOVALUE
2013-06-09 16:19:58 +02:00
Harald Welte
0afe128c20
DHA: fix missing '' around atom with '-' in its name
...
... otherwise it would be treated like an arithmetic expression
2013-06-09 16:19:57 +02:00
Harald Welte
cc3bbf9876
DHA: Always send dialogue portion in 'initiation_received'
...
Whether or not the local TC-User specifies a userPortion doesn't matter,
we always need to respond with a dialoguePortion confirming protocol
version and AC name to the originator.
2013-06-09 16:15:44 +02:00
Harald Welte
0c1ac01cf6
DHA: AARE protocol-version is always an array of versions!
2013-06-08 10:11:22 +02:00
Harald Welte
f1803eabfb
DHA: fix parsing of BEGIN dialogue portion on incoming msgs
2013-06-08 01:14:21 +02:00
Harald Welte
e7540c5c33
DHA: make sure that the 'ok' of ASN.1 decoder doesn't end up in components list
2012-01-31 21:06:34 +01:00
Harald Welte
67f6051009
DHA: Always store TR-* record in state.state, not TC-*
2012-01-31 18:55:42 +01:00
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.
2012-01-31 18:36:06 +01:00
Harald Welte
876c198584
DHA: work around TCAP implementations that forget tho send the id-as-dialogue
2012-01-31 00:10:14 +01:00
Harald Welte
141484622f
DHA: Make sure to generate TC-END.ind to TC-User
2012-01-30 23:57:07 +01:00
Harald Welte
f43bffe405
DHA: handle TR-END.indication from TSL
2012-01-30 23:34:53 +01:00
Harald Welte
7943c341b2
DHA: fix copy/paste mistake END/CONTINUE
2012-01-30 21:14:17 +01:00
Harald Welte
d03ed86648
DHA: correct parsing of ComponentPortion and AARE-apdu
2012-01-30 21:06:03 +01:00
Harald Welte
d2a045ad25
DHA: use TC:Components for encoding components, not TR:ComponentPortion
2012-01-30 01:21:48 +01:00
Harald Welte
5d2061e509
DHA: properly encode dialogueportion during BEGIN
2012-01-30 00:55:38 +01:00
Harald Welte
b8f82b68af
DHA: Fix encoding of ComponentPortion
2012-01-29 20:24:22 +01:00
Harald Welte
bedd015b07
DHA: No need for passing PID of dialogue_sup into DHA
2011-12-18 12:54:08 +01:00
Harald Welte
6b0a7361be
DHA: Since TCO is a gen_server, not gen_fsm, use cast!
2011-12-18 12:20:42 +01:00
Harald Welte
2cdfd20466
s/transaction_coordinator_server/tcap_tco_server/g
2011-12-17 18:56:54 +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
bd91071d0b
include DHA pid in init arguments of component supervisor
2011-10-22 22:18:39 +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
b3888e41fd
DHA: use correct name for component supervisor
2011-10-16 01:16:56 +02: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
2c7a40e5ba
Initial import of TCAP project from Motivity.
2011-03-07 23:57:05 +01:00