aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-07-26GTP1C_Templates,Osmocom_Gb_types: Use/move conversion functions at Osmocom_Typespespin/tmpPau Espin Pedrol3-70/+37
Change-Id: I29948bfcb2b344d5aca293fa60455fcc6de66c72
2024-07-26Improve use of enumareted type GTP_ClausePau Espin Pedrol3-22/+37
Change-Id: Ib071fa97a354cb27263cd46dba8f468b4ddc0018
2024-07-26sgsn: Introduce test TC_attach_pdp_act_pmm_idlePau Espin Pedrol4-45/+140
Change-Id: Id46ccd9db11c8b792e1c071de91ef092ed1544c7
2024-07-26ggsn: Fix function namePau Espin Pedrol1-2/+2
The function is used to handle a UpdatePDPCtxResp, not a Req. While at it, mark the function as private. Change-Id: Ia455af1cd64ffce53b454e611c4fc85816e785bc
2024-07-26sgsn: Validate Direct Tunnel Flags DTI=1 is set during UpdatePDPContextReqPau Espin Pedrol1-0/+7
Related: SYS#5435 Change-Id: Iadd30318d02fbc304f65840f2299e5ec8b5b08e9
2024-07-26sgsn: Introduce test TC_attach_pdp_act_userPau Espin Pedrol3-53/+237
Related: SYS#5435 Change-Id: I5f0cb51457395d95bde22732b032786211cb7b61
2024-07-25sgsn: Set up GTPv1U in emulated RNCsPau Espin Pedrol2-14/+41
Change-Id: Icf5fa28ea08cfd255b49b546eadd74e91a9c7ecf
2024-07-25GTP_ConnHdlr: Allow connection to multiple GTP_EmulationPau Espin Pedrol6-75/+81
This feature will be used by SGSN_Tests' BSSGP_ConnHdlr, which in 3G scenario needs to connect to GTP at both GGSN and HNBGW/RNC endpoints. Change-Id: I6fc49428967ebcf0f6c8a9f9f20f4a98a81f3273
2024-07-25sgsn: Rename vc_GTP -> vc_GGSN_GTPPau Espin Pedrol1-9/+9
GTPv1U will also be used by emulated HNBGWs, hence we want to differentiate them in name. Change-Id: I663e667956935372809c1c42ebe8d4312d6a4d41
2024-07-25library/GTP_Emulation: Make GTPv1C port optionalPau Espin Pedrol1-6/+8
The port is not needed when emulating HNBGW, since the setup of GTPv1U happens through RAB-ASsReq/resp. Change-Id: I3ffb54d0cb8b3a81ed5235feaaac6d989baf6e0d
2024-07-25deps: Update titan.ProtocolEmulations.M3UA to current masterPau Espin Pedrol1-1/+1
This contains a recently merged DTE fix showing up sometimes during development in SGSN_Tests. Change-Id: I4037fdd6ada765b2e041426393fcc506dd7885ff
2024-07-25library/L3_Templates: Fix discriminator field in ts_GMM_DET_ACCEPT_MOPau Espin Pedrol1-1/+1
It says it's overwritten, so in practice it may not be important, but it's confusing for readers when figuring out which values are expected, eg when adding a new tr_ template which needs that field set right (not overwritten there). Change-Id: If9741953f98b7dd29749d335a5bd937fdfb62bc6
2024-07-25library/L3_Templates: Introduce templates for GMM Service Req/Acc/RejPau Espin Pedrol1-3/+89
Those will be used by a follow-up patch in SGSN_Tests. Change-Id: Ia948a27e39cf11f1421396d15da32bd82ea9513c
2024-07-24library/GTPv1C_Templates: Introduce template ts_GTPC_UpdatePdpRespGGSNPau Espin Pedrol1-0/+55
Will be used by SGSN_Tests in a follow-up patch. Change-Id: I91afc14eecfadb3e00ccb9b74794079a82ef884b
2024-07-24library/GTP_Emulation: Check IMSI presence before returning if Conditional ↵Pau Espin Pedrol1-11/+51
or Optional Change-Id: I73c683e62191a06212933391d424d608a14f8c1e
2024-07-24msc: Use template ts_RAB_SMdLPau Espin Pedrol1-39/+8
Change-Id: I768aad762c4fa6c0d3a6d0effd7a7a1aabb3488f
2024-07-24msc: Use RAB_ID obtained from RAB-AssReqPau Espin Pedrol2-3/+13
The helper function will be used too by follow-up patches. Change-Id: If532c41304803d223591ce8e0c10dda4a562dfb8
2024-07-24sgsn: Fix regression t_guard not passedPau Espin Pedrol1-1/+1
I forgot to pass this param when moving some code, and some tests which set a higher guard time then where failing. Fixes: 0737428fa71b7d9bb849a9a000b3e1a7bcdce2ca Change-Id: I83cfd0d2fd148c8874b6e176af7273df7cb69174
2024-07-24asterisk: IMS: enable EVS-only codec on IMS sidePau Espin Pedrol1-3/+8
Related: SYS#7012 Change-Id: I1d1542f23ef7c6b2cd18afd90a169633d0d73a3f
2024-07-22sgsn: expected-results.xml: Add missing TC_sgsn_context_req_{in,out}Pau Espin Pedrol1-0/+2
Change-Id: I2579958bbf8c28b72e58174e60634ca77c71dfee
2024-07-22sgsn: Move BSSGP_ConnHdlr code to its own filePau Espin Pedrol3-842/+910
This was we split generic code from test specific code, making it easier to focus on new test and finding generic functions which can be reused. This is similar to what we already use in tons of other testsuites. Related: SYS#5435 Change-Id: I0591cab8cca5195b8648920d5f79acc536a4efac
2024-07-18asterisk: Introduce test TC_ims_call_mo_holdswitchresume_moPau Espin Pedrol2-0/+90
Related: SYS#7003 Change-Id: I80ec326524501a2f0784291250e3d5fad6b04378
2024-07-18Fix BTS_Tests_ASCI.TC_vbs_notification, add missing SI1Andreas Eversberg2-1/+8
Because System Information Type 1 was missing, the BTS could not assign time slots to NCH. Without NCH, notification is not possible. Related: OS#6467 Change-Id: I65dc55da78bc53a1265124e6b6f6bb9a1650206e
2024-07-16asterisk: Introduce test TC_ims_call_mt_local_uas_inacallPau Espin Pedrol2-0/+78
Change-Id: I8a407993f37d18a0bf4c96f5228c0b5ce696053a
2024-07-16asterisk: Introduce test TC_ims_call_mt_no_local_uas_registeredPau Espin Pedrol2-0/+63
Change-Id: Ibf7ecfe67f90df060b0ae87f394424566ad0fed4
2024-07-16asterisk: TC_internal_call_all_Nregistered: Answer Cancel when receivedPau Espin Pedrol1-6/+9
Otherwise CANCEL is not answered until the MO+MT SIP UAs have fully established the call, which causes Asterisk to retransmit the CANCEL several times. Change-Id: I72e9ecaf58156f3fe62c4fb2d8c74c82ab16aa78
2024-07-16asterisk: sip: Fail rx unexpected msg during unregisterPau Espin Pedrol1-0/+3
Change-Id: Ibcf65b22925e990e4d13661204eaba1b471b6a5d
2024-07-16asterisk: MO internal call: Expect direct rtp re-INVITEPau Espin Pedrol2-6/+61
Change-Id: I4ac602865cf0c18036b411acff4562322b32933b
2024-07-16ttcn3-asterisk: Introduce test TC_ims_call_mo_2nd_mt_rejectedPau Espin Pedrol3-3/+92
Change-Id: Id6577d0e9137c86855469904d347e95b5bcfa4a7
2024-07-16asterisk: IMS: MT call: Move Tx INVITE to helper functionPau Espin Pedrol1-15/+33
This helper function will be used by another function expecting an INVITE reject in a follow-up patch. Change-Id: If9657e88304fd7b3558737fdc807bae59cddc8a2
2024-07-16asterisk: Move Via generation to helper functionPau Espin Pedrol1-17/+15
Change-Id: Id49222928980e1fc5ab006719688b4fa0849d391
2024-07-16asterisk: TC_ims_call_mo_2nd_mo_rejectedPau Espin Pedrol3-23/+77
Related: SYS#7003 Change-Id: I7764e29e8df11ad65366642f83ebe922488bf128
2024-07-16IPAd_Tests: expect the IPAd to request a notifications list on initPhilipp Maier1-0/+3
The IPAd now requests a list of pending notifications before it fetches the a new eIM package. Related: SYS#6563 Change-Id: I2cd7fdfde24404bc8cb1af258923cd86627db68a
2024-07-16RSPDefinitions_Templates: add variants of ts_retrieveNotificationsListResponsePhilipp Maier2-5/+10
There is currently only ts_retrieveNotificationsListResponse, which has a profileInstallationResult in its notificationList. However, we will need different variants of this template, so let's give it an appropriate prefix. Let's also add a first variant that has just an empty notificationList Change-Id: I1802b63a51bf68080b3ef81a967a964d961a1b96 Related: SYS#6563
2024-07-15eIM_Tests: Use real notificationAddress in ProfileINstallationResultDataPhilipp Maier3-9/+10
The ProfileInstallationResultData currently contains a dummy address as notificationAddress. This means that the eIM may try to send the ProfileInstallationResultData to that dummy address instead to the testsuite. To prevent this, let's use the actual address as notificationAddress Related: SYS#6824 Change-Id: I337ef32a424875ca9d9be178ae96f1a76383dd38
2024-07-12eIM_Tests: add testsuite for an eIMPhilipp Maier10-0/+1499
This patch adds a testsuite for an eIM server component. It simulates the SM-DP+ server backend and the IPAd client while it operates the REST API of the eIM server. Change-Id: Iba72ee00d10aba7831feedadacd943bf943de53e Related: SYS#6824
2024-07-12IPAd_Tests: rework verification of ESipa responses from IPAdPhilipp Maier1-81/+45
The verification of the ESipa requests is done separately in each test case after calling f_esipa_transceive or f_esipa_receive. Let's do the verification directly in those functions. Related: SYS#6563 Change-Id: I0150fe5c98d5a5db9f1931c72ef6e015f74055bd
2024-07-12IPAd_Tests: move static test configuration to IPAd_Tests.defaultPhilipp Maier2-3/+3
In IPAd_Tests.cfg we find some configuration parameters that never change. Those can be moved to IPAd_Tests.default. Change-Id: I14d6c7b617ed4c95a24e2ce96bf0d86c24288324 Related: SYS#6563
2024-07-11SGP32Definitions_Templates: add template for IpaEuiccDataResponsePhilipp Maier1-0/+99
Related: SYS#6824 Change-Id: I93125dfedb2c1742efdc98e5f1f4d07ed5ed715c
2024-07-11SGP32Definitions_Templates: populate certificates correctlyPhilipp Maier1-4/+4
The members eumCertificate and euiccCertificate are propulated with the wrong sample certificates. Related: SYS#6563 Change-Id: Id61c2261f931cacc543c76eea359bdcf22f36a4b
2024-07-11asterisk: Fix accessing to unset called_contact var in MT call without ↵Pau Espin Pedrol1-3/+3
precondition Change-Id: I7e7a6010c3b217c163945027d5c341bcb820c251
2024-07-10asterisk: Increase timeout waiting for AMI event FullyBootedPau Espin Pedrol1-1/+3
Change-Id: Ibd2bbdc4b916b5baca01407bac3cc5e9a99500e3
2024-07-09asterisk: Introduce test TC_ims_call_mo_holdresume_moPau Espin Pedrol5-24/+177
Related: SYS#7002 Change-Id: Ifffa1c4021f324871f11a60264c17b640569e18b
2024-07-09asterisk: Unregister SIP UAs whose MT call gets cancelledPau Espin Pedrol1-0/+2
Otherwise they are kept registered in Asterisk and that makes Asterisk try to page them on subsequent MT calls to extension 500, making test expectancies fail. Change-Id: If76c7ac3bb6bb85643a8b83800954d5025593d25
2024-07-08asterisk: Split test code into helper functionsPau Espin Pedrol1-16/+27
This allows reusing code to create new tests coming up soon, like sending HOLD (re-INVITE sendonly) after having estavlished the call. Related: SYS#6782 Change-Id: Ic9c712f4cd688729bece225c0d19219dc53e14b3
2024-07-08deps/Makefile: Use osmocom fork of titan.TestPorts.SIPmsgPau Espin Pedrol1-4/+4
This will allow us using IPv6 in IPmsg_PT until [1] is mergedi upstream. [1] https://gitlab.eclipse.org/eclipse/titan/titan.TestPorts.SIPmsg/-/merge_requests/4 Related: SYS#6982 Change-Id: If9bffd57204ee1ea56cbf0cb0109c422fb2c460f
2024-07-06Revert "s1ap: add {enc,dec}_S1AP_Global_ENB_ID() API"fixeria3-26/+29
This reverts commit c4944aaa0114bda268af12bfb58d9f12f1041c4b. This commit broke ttcn3-mme-test: TC_RIM_RAN_INF0(34)@79228701f472: Dynamic test case error: Unknown coding method requested to encode type '@S1AP-IEs.Global-ENB-ID' TC_RIM_RAN_INF0(34)@79228701f472: setverdict(error): none -> error TC_RIM_RAN_INF0(34)@79228701f472: Final verdict of PTC: error Encoding/decoding IEs (not complete PDUs) is not supported by libfftranscode. This will only work with built-in TITAN's PER codec available in recent releases. Change-Id: I4d73bca4ca1fded487d80e535d3050661b83dcea
2024-07-05asterisk: Log unexpected AMI msgPau Espin Pedrol1-3/+12
Change-Id: I406a00a54cb6d956e465001b8da0b14ea3e24195
2024-07-05asterisk: f_TC_ims_registration_423_interval_too_brief: Fix To address 'tag' ↵Pau Espin Pedrol1-1/+6
attribute Change-Id: Ifd79d9cdc03f87f104a66564455e57bb7a462fe8
2024-07-05asterisk: IMS: Fix To header 'tag' attr not set in resync 401 Unauthorized ↵Pau Espin Pedrol1-0/+1
response Change-Id: I74a014eb5cb5084726ef6b0462030a20fdbb3339