Alessio Garzi
773d10b39c
MT#57778 Fix scenarios for routes ROUTE_LOAD_CALLEE_RESELLER_PREF and ROUTE_LOAD_CALLER_RESELLER_PREF
...
Following scenarios have been fixed:
- invite_prack
- invite_allowip
- invite_allowedcli_nonmatch_reject
- invite_allowedcli_match_alias
- invite_allowedcli_match
- incoming_peer_stir
- incoming_peer
- incoming_hih
- incoming_foreign_dom
- invite_allowedcli_nonmatch
Change-Id: I768ef221bbb45641f229e641b3e7406de7ebe846
3 years ago
Alessio Garzi
dac78d23fa
Revert "MT#57778 Fix scenarios for routes ROUTE_LOAD_CALLEE_RESELLER_PREF and ROUTE_LOAD_CALLER_RESELLER_PREF"
...
This reverts commit 44395a5206 .
Reason for revert: too many typos... rebuilding commit from scratch
Change-Id: I68f02faf4ba1d5e43786f797ab967192d2a97ce5
3 years ago
Alessio Garzi
44395a5206
MT#57778 Fix scenarios for routes ROUTE_LOAD_CALLEE_RESELLER_PREF and ROUTE_LOAD_CALLER_RESELLER_PREF
...
Following scenarios have been fixed:
- invite_prack
- invite_allowip
- invite_allowedcli_nonmatch_reject
- invite_allowedcli_match_alias
- invite_allowedcli_match
- incoming_peer_stir
- incoming_peer
- incoming_hih
- incoming_foreign_dom
- invite_allowedcli_nonmatch
Change-Id: I37dcca7149513e1536224c59a0b50e614b3aa878
3 years ago
Victor Seva
1f63c62092
MT#56753 remove duplicate dump route
...
Change-Id: Ie07760b4fb82d90e7e6a872edf75db45f1098aff
3 years ago
Victor Seva
fb347c10f2
TT#116101 scenarios: manual fixes
...
Change-Id: I6117f6058a72c6780b887152e73824b4fc7e700a
5 years ago
Victor Seva
4060f46038
TT#116101 scenarios: sipp generated templates
...
* templates generated using:
> for scen in $(./bin/get_scenarios.sh ); do ./bin/generate_test_tt2.sh -Ssipp $scen; done
Change-Id: I4469fa08fbe8ed0546b23cc549ecccfcadfd57e5
5 years ago
Victor Seva
eff3f76f1f
TT#116103 scenarios: add "nat_sipping": "no" domain pref
...
avoid random OPTION messages
Change-Id: Ib4043b1ea7cf2df6cd5c44bff64583a888284d23
5 years ago
Victor Seva
68eb52b399
TT#116103 scenarios/invite_allowedcli_nonmatch_reject
...
* Contact with <> format
* tests:
- add received Contact parameter as optional
Change-Id: Id07d279cbbb35ac011607997af11fe29fd57a1b0
5 years ago
Victor Seva
65306258e6
TT#116100 scenarios/invite_allowedcli_nonmatch_reject
...
* domain per scenario
* dynamic IP/port and numbers
* dynamic values at prefs.json
Change-Id: I4795b1fb672457133dec493748d8cba11833d5f9
5 years ago
Marco Capetta
ee7ec19535
TT#76676 Adapt test to new routes to store call counters in CDRs
...
The routes added are:
- ROUTE_SET_ACC_CALLER_CALL_COUNTERS
- ROUTE_SET_ACC_CALLEE_CALL_COUNTERS
Change-Id: I002a9c1c862b277fb747a66a67a50b38348db287
6 years ago
Marco Capetta
3b45b6dc5b
TT#58628 Adapt test to auto collect/apply of pv_headers
...
Removed all the occurences of:
- ROUTE_COLLECT_HDR
- ROUTE_APPLY_HDR
Change-Id: Id7103f3ed573f88729a413aa268cf6cfdd1ac07c
7 years ago
Marco Capetta
7c777c811a
TT#61251 Add ROUTE_CHECK_TEL_URI
...
Needed for conversion tel2sip for From and PAI headers
Change-Id: I5c56aa2d82c3631e6b1a2998c6fbc8ab4c868fe4
7 years ago
Marco Capetta
51ffe4ac11
TT#57701 Adapt scenarios HM changes in reply messages
...
Change-Id: I92b95dd6f1d064ffaf85372193747e29a292a90a
7 years ago
Marco Capetta
ac50af2bb7
TT#47010 Fix tests after ROUTE_APPLY_HEADER_RULES introduction
...
Change-Id: Id5806a4aaa6c78f416d2e256c07b96d953378299
7 years ago
Marco Capetta
7200e5de06
TT#34026 Adapt tests to support pv_headers based templates logic
...
Change-Id: Id412688fa737296ff5c46b6527d44ce0d2abc2a3
8 years ago
Andrew Pogrebennyk
89bbba4b62
TT#40618 fix flows because of UPN-based call blocking
...
Change-Id: If4377b38656953a119b650c937d3e0f8d20c71c6
8 years ago
Marco Capetta
e1bd92af32
TT#28824 Add scenarios CDR export and validation
...
* Original option '-c' in run_tests.sh has been modified
in '-C'
* Add new option '-c' in run_tests.sh to execute a query on MySQL
after each test to extract the generated CDRs.
* Add new option '-c' in get_results.sh to compare the extracted
CDRs with the referece provided in the scenario (cdr_test.yml.tt2).
* Modified option 'mediator.interval' from 10 to 1 during the test
execution in order to speedup the cdrs generation.
* Updated README file with the latest changes.
* Added basic cdr_test for all the scenarios.
Change-Id: Ifffd686003fa5e3a1ac4ba76c502011d7fdb21bb
8 years ago
Andrew Pogrebennyk
98afa193e5
TT#36304 fix kamailio-config-tests after migration to stateful lb
...
- the hop-by-hop ACK is now generated by the LB and not relayed so it does not
have any P-NGCP-Src-* headers and Contact
- remove pause before ACK that was causing retransmission
- REFER method used to be filtered from Allow on messages coming from proxy or
sbc but not those coming from UA. it makes sense to do it everywhere I think
- in invite_retrans the retransmission is now absorbed on lb so there is one
message less in proxy logs and other message numbers are shifted forward by one
Change-Id: If6e05368fe72df7636dff43d18572eff821f16c4
8 years ago
Andreas Granig
60883648a6
TT#22659 Adapt to match runtime profiling
...
* Fix typo in README
* Add ROUTE_ENTRY/ROUTE_EXIT to scenarios
* Remove single quotes around dialog flows to have consistent namings
Test results for PRO:
All tests successful.
Files=283, Tests=14167, 1 wallclock secs ( 1.00 usr + 0.05 sys = 1.05 CPU)
Result: PASS
Test results for CE:
All tests successful.
Files=283, Tests=14167, 1 wallclock secs ( 0.93 usr + 0.07 sys = 1.00 CPU)
Result: PASS
Change-Id: Ib0a5761d9ced3e0026a92c70e7a79e6ffc710a65
9 years ago
Andreas Granig
31252ce86d
TT#14800 Implement User-Agent filtering
...
Change-Id: I4e99928999b97bd90f29616453882b4e828da8f2
9 years ago
Andrew Pogrebennyk
a26d8c1c44
TT#5154 add ROUTE_ADD_CALLINFO_CALLE[RE]_PRIMARY to kamailio-config-tests
...
adding new flows:
- start|ROUTE_ADD_CALLINFO_CALLER_PRIMARY:
- return|ROUTE_ADD_CALLINFO_CALLER_PRIMARY:
- start|ROUTE_ADD_CALLINFO_CALLEE_PRIMARY:
- return|ROUTE_ADD_CALLINFO_CALLEE_PRIMARY:
Change-Id: If001cddcf9f9964b6dada4997dfaaf9a184b7d3f
9 years ago
Victor Seva
f047ffd142
TT#6350 update new routes ROUTE_DLG_MANAGE/ROUTE_CNT_DLG_CHECK
...
* ROUTE_CNT_DLG_CHECK -> ROUTE_DLG_MANAGE detected at:
scenarios:
- incoming_hih
- invite_callforward
- invite_voicebox
- lock_ported
scenarios_lnp:
- incoming_peer
scenarios_pbx:
- invite ( ROUTE_DLG_MANAGE, called twice )
Change-Id: I594d86207e44fe03a6e7e383eec74eac3075a5ef
10 years ago
Victor Seva
cb5bc41eaa
TT#4753 send proper ACK after 4xx
...
* reminder: receive BYE and send OK
Change-Id: I0c1cc9d9ed8cee95a73f9cd2e9cedd2257d68814
10 years ago
Victor Seva
286b2d060c
MT#20759 scenanrios/invite_allowedcli_nonmatch_reject
...
* "allowed_clis_reject_policy": "reject"
Change-Id: I46854084fb96e7abe78aad0424bf441cae492a4c
10 years ago