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
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
bc20d64e5d
TT#116103 scenarios/invite_allowip
...
* Contact with <> format
* tests:
- add received Contact parameter as optional
Change-Id: I77672a592de9bdcf1cc566f13c8772342202f048
5 years ago
Victor Seva
d87d869d8f
TT#116100 scenarios/invite_allowip
...
* domain per scenario
* dynamic IP/port and numbers
* dynamic values at prefs.json
Change-Id: Iab62d2a0ea5953bc6a32e4ed41f1977ae687a515
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
497e26f8ad
TT#60000 Move allow_ip check after CLI processing
...
Change-Id: I6832f37bb4d1a7c6e6dc814f15ca6af01e4ff81d
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
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
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
10 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
Kirill Solomko
b42a4eab92
MT#18499 adapted kamailio tests
...
- adapted tests for LOAD_CALLER_CONTRACT_PREF
- adapted tests for LOAD_CALLEE_CONTRACT_PREF
- adapted tests for SET_CALLEE_DIALOG
Change-Id: I216b96f35a63fbcb4ceb7fa6dd6b2b25a5085933
10 years ago
Victor Seva
abc84e175b
MT#17185 support rfc3325
...
- append invite_anonymous scenario
- update new route on all affected scenarios
- add some checks for it
Change-Id: I7e6d16420b6ce4b4d8fd1e08b027fb5912f7c578
10 years ago
Victor Seva
129397e6fc
MT#7571 use NGCP REST API instead of SOAP lib
...
- prefs.yml -> prefs.json
solving true/1 problem
- disable non working scenarios:
* incoming_foreign_dom
* incoming_peer
* invite_concurrent_max_out
* invite_concurrent_max_out_per_account
* invite_ignore_allowip
* invite_peerout
* invite_peerout_rewrite
* invite_peerout_rewrite_pv_regex
* register_allowip
* register_ignore_allowip
missing API parts:
- peers settings
- add/modify/delete peers
* bin/create_peers.pl
* bin/update_peer_host.pl
TODO:
- bin/create_ncos.pl
- bin/create_rewrite_rules.pl
- bin/create_subscribers_rewrite_rules.pl
- bin/create_subscribers_speeddial_rules.pl
Change-Id: I6d47e24669f9da22b5b3ac4fb410c50d2c9dbf53
10 years ago
Victor Seva
04f22a3423
MT#14721 fix routename from event_route
...
Previously kamailio was not detecting properly the routename
Change-Id: I4021215da468032461a7ff7611fe90e897480afd
11 years ago
Victor Seva
e1a76fb1f4
MT#6565 kamailio saving json using uuid for tests
...
- fix check.py comparation when int -> string
- disable tcpdump by default ( new option -K to enable it)
- fix graph_flow for json ( new option --json )
Change-Id: I25f49ef6303b4e2e28c34fefd7860c744e6c3250
11 years ago
Victor Seva
d2d2cffd03
MT#8673 MT#8503 add new routes
12 years ago
Andrew Pogrebennyk
24c733ec27
MT#4759 adapt tests to the new upper limit for the max-forward value.
12 years ago
Andrew Pogrebennyk
fac80cb131
MT#6335 loosen the check for allowed_ips_grp pref value.
12 years ago
Victor Seva
bc33a6ed3d
add more xavp checks
13 years ago
Victor Seva
13ec4c78e8
fix flows since kamailio config has been changed
13 years ago
Victor Seva
62f0ffa08b
scenarios: try to get the same msgid by adding some pause
13 years ago
Victor Seva
444fa7609d
scenarios/*: New scenario.yml version with subscribers info.
13 years ago
Victor Seva
ec168c0c06
scenarios/invite_allowip: Added scenario.yml and cleanup.
13 years ago
Victor Seva
1e01dd8a74
bin/check.sh: Now can run more than one sipp_scenario.
13 years ago
Victor Seva
047f7e3036
scenarios/callee.csv: Add testuser1 info
...
scenarios/*/sipp_*xml: Explicit use the first callee.
13 years ago
Victor Seva
b9c575ecb0
rename tests files
13 years ago
Andrew Pogrebennyk
2532dd4536
Add basic block_out INVITE test; some cleanups
13 years ago
Andrew Pogrebennyk
fe8b92381a
Add basic allowed_ips_grp INVITE tests
13 years ago