Marco Capetta
ea21aeecec
TT#61251 Fix voicebox scenario tests
...
the scenario was not initially fixed because it was deactivated
due to asterisk failures
Change-Id: I41531bd6167119066986e85ec02f970c92b99db8
7 years ago
Alexander Lutay
aa06f809a7
Revert "TT#60118 Temporary disable invite_voicebox scenario"
...
Kirill has fixed asterisk in trunk, let's test it again.
This reverts commit 8926b454d1 .
Change-Id: I23e4cd73b687d45466e7ff7be045f8eacfe70157
7 years ago
Marco Capetta
8926b454d1
TT#60118 Temporary disable invite_voicebox scenario
...
Disable the scenario as a temporary workarround to allow
k-c-t to complete even if there are some issues in Asterisk service.
Revert this commit as soon as the issues in Asterisk are solved.
Change-Id: Ic10aafadd9d0ded5ecfc4a000e42d1dca7ec8703
7 years ago
Marco Capetta
51ffe4ac11
TT#57701 Adapt scenarios HM changes in reply messages
...
Change-Id: I92b95dd6f1d064ffaf85372193747e29a292a90a
7 years ago
Marco Capetta
d47e184f4a
TT#58566 Fix after introduction of EVENTMON routes
...
Added missing routes
- ROUTE_ADD_EVENTMON_HEADERS
- ROUTE_RESTORE_EVENTMON_HEADERS
where required.
Change-Id: I781bf421187418bf1ae983dd00c6d1b45fabc4a2
7 years ago
Marco Capetta
13a94c07ec
TT#45811 Adapt tests to new suspend transaction feature
...
* Add DEFAULT_ONREPLY route
* Add REPLY_ROUTE_NAT_CONTINUE route
Change-Id: I4e95ce938f2e0569e71586899b7a7562f5fd9ec9
7 years ago
Kirill Solomko
96c68c98d1
TT#39166 add ROUTE_ADD_AOC_HEADER in EXECUTE_CF_LOOP
...
Change-Id: I36bed98a7d65251f9b7050b04c23f95a8c55f511
7 years ago
Marco Capetta
ac50af2bb7
TT#47010 Fix tests after ROUTE_APPLY_HEADER_RULES introduction
...
Change-Id: Id5806a4aaa6c78f416d2e256c07b96d953378299
7 years ago
Marco Capetta
2a83e244d3
TT#53373 Increase timeout time for callforwards
...
Additionally increased the timeout of the sipp simulations.
This is necessary to avoid failures of the tests in case kamailio
takes a bit more time to preocess the incoming SIP message.
Change-Id: I60856430f28b081d74e484b2346894dd13a38d11
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
f6e69a64ae
TT#42150 Increased pause in some complex scenarios
...
In order to avoid packer ordering issue, some of the pause time
were increased in the following scenarios:
* scenarios/invite_concurrent_max
* scenarios/invite_concurrent_max_out
* scenarios/invite_concurrent_max_out_per_account
* scenarios/invite_concurrent_max_per_account
* scenarios/invite_voicebox
Change-Id: Idaa6e2c816967c2d1a90f74ab9d3e7ed8783ae63
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
Marco Capetta
a281bcf856
TT#40258 Add scenario for allow trusted with anonymous From
...
A new scenario called invite_trusted_anonymous has been added to verify
the new improvement on the allow_trusted kamailio function that should
check the PAI header in case the From is anonymous.
Additionally:
* Introduced a new API interface to allow configuration of trusted
sources. To do that, just add a file named 'trusted.yml' in the
scenario folder.
* Improved the callforward API interface to allow more sophisticated
callforward configuration. Now it is possible to configure all the
types of CF as well sources, bnumbers and timeset.
* Removed from the output the noisy parenthesis '{}' result of
ngcp-kamctl commands
Change-Id: I5ed54d063bcda2d5df7004b9cad671644e021def
8 years ago
Marco Capetta
cdf506b822
TT#39049 Implement test for B-number based Call Forwardings
...
Change-Id: I0e45d3c787642ce8a7a9a1c03c7dcc39a9bbc8ce
8 years ago
Marco Capetta
22f47af4a3
TT#35352 Add onsend_route to support log parser
...
Change-Id: Ib0bd147d15c00cc81dafc6691ebe4ee64410f2fd
8 years ago
Marco Capetta
9bd0dfe360
TT#35910 Fix UA header changes in in-dialog messages
...
Change-Id: Ia95ba54f149e24c4559fe53a303cbc13bee2ad8d
8 years ago
Marco Capetta
dc9aba8e8d
TT#33301 Upgrade to work properly with kamalio 5.1.2
...
* Added start/return ROUTE_EXIT and start/return ROUTE_ENTRY
* Updated caller/callee xavp content validation
* Updated ngcp-kamctl calls to the new rpc format
Change-Id: I166a638a7a1f0ef5102db666180eb83e8b47d6e4
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
Andrew Pogrebennyk
a45680463b
TT#21894 fix kamailio-config-tests for new sems in PRO
...
Change-Id: I786eb2beca241205057bd6a637c7d5e84f1aeeb3
9 years ago
Alexander Lutay
a32adb9cb7
TT#17550 Fix 58a89e4a: re-create the broken link for media181sec.pcap
...
Change-Id: I8695201dcdacd6a39b350143903b135b45c4699c
9 years ago
Victor Seva
58a89e4a61
TT#17550 create the links for media181
...
Change-Id: I22f4297b214ee6c7dd45c3669021d869bfb68087
9 years ago
Victor Seva
ef58271793
TT#17550 sipp doesn't support subdirectories at exec play_pcap_audio action
...
* generate a link for every scenario on the fly if doesn't exist
* BASE_DIR has to be an absolute path
Change-Id: Ib50c641f127966b672646b8579d3a8b92bb76b55
9 years ago
Andreas Granig
31252ce86d
TT#14800 Implement User-Agent filtering
...
Change-Id: I4e99928999b97bd90f29616453882b4e828da8f2
9 years ago
Kirill Solomko
350a68f045
TT#11317 fix the tests for the callforward proxy logic split
...
Change-Id: Ia3b1504ddbed148a694734e6d58d923dbf5c1bd3
9 years ago
Andrew Pogrebennyk
3b3d02427d
TT#5508 update kamailio-config-tests flows for new rtpengine routes
...
Change-Id: Ifacb9d9d640760a0bad03aad4862b992ca56e734
9 years ago
Kirill Solomko
3126113205
TT#2651 add ROUTE_CALLEE_DISPATCH
...
Change-Id: I3d26a69124dc0fc7efe7b001dd1cdfee42add344
9 years ago
Andrew Pogrebennyk
0616197f2c
TT#2651 add ROUTE_SET_BRANCH_HDRS to scenarios, pbx/lnp flows
...
Change-Id: I1423f523acc63d32c26be581fa8e04f7908684af
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
Andrew Pogrebennyk
93f5dbc48c
TT#5404 fix flows after moving ROUTE_LOAD_CALLEE_PREF before ROUTE_NCOS
...
Change-Id: Id7f060d677fcd3636c189093c86a4bb07505b175
10 years ago
Victor Seva
b499e0a35b
TT#5103 TT#4856 invite_voicebox: fix template, use dynamic id
...
Change-Id: Ibca45c5218a375d34ee7b5ca47556245f5c75d38
10 years ago
Victor Seva
9d4d650a45
TT#4856 scenarios: add counter info
...
Change-Id: I8e24a387e74099b2f53d0e97b7984c6db4c73db4
10 years ago
Andrew Pogrebennyk
805d9d85fc
TT#4060 MT#22447 now we are calling ROUTE_CLIR before ROUTE_FIND_CALLEE
...
Change-Id: I5f0b0dfb8d869ce682ae48fbf17cd49ba49703dc
10 years ago
Andreas Granig
fef2e3261c
TT#4066 Add cf map reorder function
...
Change-Id: I61302cd7d19f85e51cce3bb838d7b3f02c22d2bf
10 years ago
Andreas Granig
cbce507a10
TT#2394 Implement source-based CF
...
Change-Id: I82b1967f281a5fd2e16e22b689831db893c728d8
10 years ago
Andrew Pogrebennyk
47ccc8f27d
MT#22487 fix kamailio-config-tests WRT to new CF and incoming peer selection logic
...
Change-Id: I6860bfe9df473b4d1334560bb4ac6810fcdcbe63
10 years ago
Victor Seva
8fc7843edf
MT#20125 update flow with new ROUTE_FILTER_PRACK
...
Change-Id: Id62366967d0ac354a9ca1b3b568453370b2d4bbb
10 years ago
Victor Seva
22080eb8e8
MT#17655 add ROUTE_NCOS_CHECK
...
Change-Id: I74ea8a7b130376f5d49d7c7fca41c867166f076e
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
8fcba2e079
MT#7571 provisioning via REST API step two
...
* API: fix get_*_preferences URL
* bin/set_preferences.pl:
- don't use Hash::Merge and implement our merge()
- fix rewriteruleset preference fieldname
* migrate provisioning:
- ncos
- speeddial
- callforward
- peering
* enable peer scenarios
- MT#17185 support rfc3325
* add 'lock' property support for subscriber
Change-Id: I15e9afb744f6f4700dd863bfe226944ea4c3ecf7
10 years ago
Andrew Pogrebennyk
9e8755c6c4
MT#17837 fix invite_voicebox and invite_callforward tests
...
Change-Id: I203a791d1cb7c98ef0083663b5371df109300245
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
Andrew Pogrebennyk
f094afa2ad
MT#14153 fix kamailio-config-test invite_voicebox
...
Change-Id: I566edadb44f69aa112d7bd8224c5edcbfa791f8e
11 years ago
Andrew Pogrebennyk
ba040fcc35
MT#14153 fix kamailio-config-test invite_voicebox
...
Change-Id: I765b48c6f512690981e709f6c78806f9e67c36d8
11 years ago
Victor Seva
8df70164ea
MT#6565 CE/PRO differences due to sems version
...
- fix tap-test
- fix bin/generate_test.sh: define CE too
- scenarios:
* invite_callforward
* invite_voicebox
Change-Id: I8ebad6ea580003e8e072204ad48bc4533eba0fe9
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
Andrew Pogrebennyk
7a9805ab6b
MT#9733 fix the test flows
12 years ago