aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/bsc_nat_sccp.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-04-16 14:06:18 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-04-19 13:06:47 +0200
commit123bc3283460ef24f054abef756ba6fcbd4188cc (patch)
treedab9bb0f918903666d908dde1bc1d53561b23a04 /openbsc/include/openbsc/bsc_nat_sccp.h
parent91b9a45be42202738d3435425f97887d320f88a7 (diff)
ussd: Keep track of used TIs for USSD and forward messages
Keep track of the used transaction identifier and always forward messages to the USSD provider. E.g. this can be used to have a dialogue going. Right now it is still possible that the MSC will close down the connection.
Diffstat (limited to 'openbsc/include/openbsc/bsc_nat_sccp.h')
-rw-r--r--openbsc/include/openbsc/bsc_nat_sccp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_nat_sccp.h b/openbsc/include/openbsc/bsc_nat_sccp.h
index a66732dfa..20db2c12f 100644
--- a/openbsc/include/openbsc/bsc_nat_sccp.h
+++ b/openbsc/include/openbsc/bsc_nat_sccp.h
@@ -80,6 +80,9 @@ struct sccp_connections {
int imsi_checked;
char *imsi;
+ /* remember which Transactions we run over the bypass */
+ char ussd_ti[8];
+
/*
* audio handling. Remember if we have ever send a CRCX,
* remember the endpoint used by the MSC and BSC.