SMPP_Emulation: replace previous entries in f_create_smpp_expect()
Will be used by MSC_Tests.TC_call_re_establishment_auth in I8110a6b432de734d53b111c7b69aabca12129691 to re-plug SMPP handling for an imsi to another vc_conn. Related: SYS#5130 Change-Id: I63856fc158f5db9ced9185c208035b26e7ed7a74
This commit is contained in:
parent
2c4f7d8dde
commit
f8aa6c1a25
|
@ -361,6 +361,17 @@ type port SMPPEM_PROC_PT procedure {
|
|||
|
||||
private function f_create_expect(charstring dest_number, SMPP_ConnHdlr hdlr)
|
||||
runs on SMPP_Emulation_CT {
|
||||
for (var integer i := 0; i < sizeof(ExpectTable); i := i+1) {
|
||||
if (ExpectTable[i].dst_addr == dest_number) {
|
||||
ExpectTable[i] := {
|
||||
dst_ton := omit,
|
||||
dst_npi := omit,
|
||||
dst_addr := dest_number,
|
||||
vc_conn := hdlr
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
for (var integer i := 0; i < sizeof(ExpectTable); i := i+1) {
|
||||
if (ExpectTable[i].vc_conn == null) {
|
||||
ExpectTable[i] := {
|
||||
|
|
Loading…
Reference in New Issue