summaryrefslogtreecommitdiffstats
path: root/SCCP_Test
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-04-12 12:18:28 +0200
committerHarald Welte <laforge@gnumonks.org>2017-04-12 12:18:28 +0200
commitd69f34514eefcf88d27b9c0f944d271777c427d2 (patch)
treec6119e0f62eb5fe20e4fc4dcd07b895f59ce3c2f /SCCP_Test
parent0872b68e539732d0b7d94e4303ca358fd1780e17 (diff)
Change addressing configuration to match libosmo-sigtran m3ua_test
Diffstat (limited to 'SCCP_Test')
-rw-r--r--SCCP_Test/SCCP_Testcases.cfg12
-rw-r--r--SCCP_Test/SCCP_Testcases.ttcn4
2 files changed, 8 insertions, 8 deletions
diff --git a/SCCP_Test/SCCP_Testcases.cfg b/SCCP_Test/SCCP_Testcases.cfg
index ce35486..5ba8c60 100644
--- a/SCCP_Test/SCCP_Testcases.cfg
+++ b/SCCP_Test/SCCP_Testcases.cfg
@@ -28,21 +28,21 @@ M3UA_Emulation.tsp_M3UA_Server_Mode := false;
SCCP_Testcases.tsp_address :=
{
local_sctp_port := 2905,
- local_ip_addr := "10.6.70.19",
+ local_ip_addr := "127.0.0.1",
remote_sctp_port := 2905,
- remote_ip_addr := "159.107.193.33"
+ remote_ip_addr := "127.0.0.2"
}
SCCP_Testcases.tsp_own_GT := '14377760'H
SCCP_Testcases.tsp_remote_GT := '14375760'H
-SCCP_Testcases.tsp_SSN := 8 //8:MSC 5:MAP see 3.4.2.2/Q.713
+SCCP_Testcases.tsp_SSN := 1 //8:MSC 5:MAP see 3.4.2.2/Q.713
SCCP_Testcases.tsp_SIO := '83'O //SCCP national
-SCCP_Testcases.tsp_own_SPC := 2351
-SCCP_Testcases.tsp_remote_SPC := 2300// max value on 14 bits
+SCCP_Testcases.tsp_own_SPC := 23
+SCCP_Testcases.tsp_remote_SPC := 1// max value on 14 bits
SCCP_Testcases.tsp_SLS := 0
#[tsp_sccp_serviceType := "mtp3_itu" |"mtp3b_itu"|"mtp3_ansi"|"mtp3b_ansi"| "mtp3b_tcc"]
-SCCP_Testcases.tsp_sccp_serviceType := "mtp3_ttc"
+SCCP_Testcases.tsp_sccp_serviceType := "mtp3_itu"
#for mtp3_itu/gti0011 or mtp3_ansi/gti0001 :
#tsp_translationType := 7
diff --git a/SCCP_Test/SCCP_Testcases.ttcn b/SCCP_Test/SCCP_Testcases.ttcn
index 0cf1c7a..b659fc6 100644
--- a/SCCP_Test/SCCP_Testcases.ttcn
+++ b/SCCP_Test/SCCP_Testcases.ttcn
@@ -194,7 +194,7 @@ function setAddresses_gti0001() runs on MTC_CT
pointCodeIndic := '1'B,
ssnIndicator := '1'B,
globalTitleIndic := '0001'B,
- routingIndicator := '0'B
+ routingIndicator := '1'B
},//addressIndicator
signPointCode := SCCP_SPC_int2bit(tsp_remote_SPC, tsp_sccp_serviceType, tsp_SIO), // see SCCP.ttcn
subsystemNumber := tsp_SSN,
@@ -212,7 +212,7 @@ function setAddresses_gti0001() runs on MTC_CT
pointCodeIndic := '1'B,
ssnIndicator := '1'B,
globalTitleIndic := '0001'B,
- routingIndicator := '0'B
+ routingIndicator := '1'B
},//addressIndicator
signPointCode := SCCP_SPC_int2bit(tsp_own_SPC, tsp_sccp_serviceType, tsp_SIO), // see SCCP.ttcn
subsystemNumber := tsp_SSN,