aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/msc/transaction.h
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2023-04-23 11:43:13 +0200
committerlaforge <laforge@osmocom.org>2023-07-09 07:41:33 +0000
commit7e4b032b8872f6172cddab5aa642d19c536a0833 (patch)
tree0c333df8dec26a8ca6dfb102268c9791d50ad105 /include/osmocom/msc/transaction.h
parentbcb4d6b26fee6ef2147229b184e0ec0b657d02b0 (diff)
ASCI: Add transaction type to trans_find_by_callref()
A transaction can be identified by the callref and the type. Because transactions with different types may share the same callref value, it is required to include the type in the trans_find_by_callref() parameters. E.g. a voice group call may have the same callref as a voice broadcast call, but they are different calls. They also may not be confused with other transaction types having eventually equal callref value, like GSM 04.08 calls, SMS or supplementary services transactions. By adding the transaction type to trans_find_by_callref(), we essentially now use the (type, callref) tuple as unique ID for transactions, instead of just callref. Change-Id: Ic0b82033a1aa3c3508ad610c690a5f29073006c1 Related: OS#4854, OS#3294
Diffstat (limited to 'include/osmocom/msc/transaction.h')
-rw-r--r--include/osmocom/msc/transaction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/msc/transaction.h b/include/osmocom/msc/transaction.h
index 63070f7af..bc6c31625 100644
--- a/include/osmocom/msc/transaction.h
+++ b/include/osmocom/msc/transaction.h
@@ -156,7 +156,7 @@ struct gsm_trans {
struct gsm_trans *trans_find_by_type(const struct msc_a *msc_a, enum trans_type type);
struct gsm_trans *trans_find_by_id(const struct msc_a *msc_a,
enum trans_type type, uint8_t trans_id);
-struct gsm_trans *trans_find_by_callref(const struct gsm_network *net,
+struct gsm_trans *trans_find_by_callref(const struct gsm_network *net, enum trans_type type,
uint32_t callref);
struct gsm_trans *trans_find_by_sm_rp_mr(const struct gsm_network *net,
const struct vlr_subscr *vsub,