Victor Seva
1cf249f560
TT#4556 bin/create_lnp.pl: fix removal logic
...
panel API doesn't allow to remove lnpcarrier with lnpnumbers assigned
Change-Id: I4b67a1f06c3e156089db52b77d0b406d02f28401
10 years ago
Victor Seva
e3934987d1
TT#4475 pid_watcher.py: catch SIGTERM and log that the process was aborted
...
Change-Id: Ic97859a8b6d83665125e376ce80573bfcd4a65d1
10 years ago
Victor Seva
86e0e44faf
TT#4110 bin/create_subscribers.pl: add pbx_group support
...
* use sort for deterministic output for loops with keys
Example
> subscribers:
> spce.test:
> group00:
> customer: 'customerpbx.test'
> password: testuser
> cc: 43
> ac: 1
> sn: 1000
> is_pbx_pilot: 1
> is_pbx_group: 1
> pbx_extension: 1000
> group01:
> customer: 'customerpbx.test'
> password: testuser
> cc: 43
> ac: 1
> sn: 1001
> is_pbx_pilot: 0
> is_pbx_group: 1
> pbx_extension: 1001
> testuser1003:
> customer: 'customerpbx.test'
> password: testuser
> cc: 43
> ac: 1
> sn: 1003
> is_pbx_pilot: 0
> pbx_groups:
> - 'group00'
> pbx_extension: 1003
> testuser1002:
> customer: 'customerpbx.test'
> password: testuser
> cc: 43
> ac: 1
> sn: 1002
> is_pbx_pilot: 0
> pbx_groups:
> - 'group00'
> - 'group01'
> pbx_extension: 1002
> alias_numbers:
> - cc: 43
> ac: 96
> sn: 5751941
Change-Id: I3eabb55b30bff3dec4b03f53d1d00a7398e23881
10 years ago
Victor Seva
407517a48a
TT#4110 Initial support for PBX scenarios
...
* run_test.sh: add hacks for pbx
* bin/pid_watcher.py: add --pbx parameter to control
what services we need to check for.
* invite: simple call to an extenston from another PBX user
same customer. WARNING!! do not use customer.test, that
one is SIP only
* fix tap-test:
- source/tests/test_check.py:34:1: E302 expected 2 blank lines, found 1
- source/tests/test_check.py:96:54: E202 whitespace before '}'
* wrap-and-sort -sat
Change-Id: Iabb5139e70fd372088933fe9302b996148d38705
10 years ago
Victor Seva
874667ff39
TT#4110 add support for pbx
...
scenario.yml:
- is_pbx_pilot
- pbx_extension
Change-Id: I57d57d936162c56dbf3649656a0654b0d0c654ca
10 years ago
Andreas Granig
85f345ded5
TT#2766 Add inbound peering rules to tests
...
Change-Id: I1e8882e7f366c90ca775db7aea092251a66c386e
10 years ago
Alexander Lutay
d5b9c7211f
MT#19571 Remove {kamailio}{lb}{children} option from config_debug.pl as it doesn't exist
...
Having it here affects further ngcp-ngcpcfg-check Jenkins test which reports:
> 2016-05-06 02:23:46: Error: Invalid schema detected for /etc/ngcp-config/config.yml
> /etc/ngcp-config/config.yml#0: INVALID
> - [/kamailio/lb/children] Unexpected key 'children'
It happen only in case if kamailio-config-tests Jenkins job failed
and it didn't cleanup/restore original config.
Change-Id: I48eef343c3a1813af6e18b0d0b426d539dc2950b
10 years ago
Victor Seva
7267cba42a
MT#19053 bin/update_peer_host.pl: fix error message
...
> Use of uninitialized value in concatenation (.) or string at ./bin/update_peer_host.pl line 76.
Change-Id: I121658d110d1deaa19e0e6407d5a45aa586b13ea
10 years ago
Victor Seva
81fc94a4ec
MT#19053 fix new flow with ROUTE_PSTN_SELECT_PEER
...
* add reload workaround when deleting peers too
Change-Id: I8f517a04c4ecd5f9eff728f16a8366b1469f409c
10 years ago
Victor Seva
1d9026e0f9
MT#17333 add lnp scenarios group
...
* add suport for lnp.yml
* update README
Change-Id: I6460a9a52f8d4645fb9411d0570fd3383b8e6918
10 years ago
Victor Seva
a06a24b703
MT#19053 fix bin/config_debug group option
...
* we need to define the option as string
Change-Id: Id5a93477d110179a97f2785603183fd1aee07f71
10 years ago
Victor Seva
d6bd38fd16
MT#19053 support groups of scenarios
...
* bin/config_debug.pl:
- use YAML instead of YAML::Tiny
- support config.yml per group
Change-Id: I226cb1ef776fa147e0b4d85a5e4f9987427a51e2
10 years ago
Victor Seva
036064d8ad
MT#13337 lock_ported scenario
...
* bin/create_subscribers.pl: remove lock from here is a preference!!
Change-Id: I47aedefa6aa7c459d68600e776c94b2f384f4ecb
10 years ago
Victor Seva
f998b1645d
MT#7571 disable invite_speeddial scenario
...
* bin/set_preferences.pl
- use rewrite_rule_set with rewrite rule set name not id
Change-Id: Ia87f835b78abab3cfb04f535cccb9cd65d38ed9c
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
Victor Seva
9a7814994b
MT#7571 bin/create_rewrite_rules.pl: use REST API
...
Change-Id: Icbefc9291c8c5719485b34c68fb5256517795de2
10 years ago
Alexander Lutay
1c77b3df68
MT#7571 config_debug.pl: Fix of the fix 78ba96f: s/ngcp-panel/ngcp_panel/
...
Change-Id: I7a7496fc9a97869aa08d6364b28970333558a9ac
10 years ago
Victor Seva
78ba96fe23
MT#7571 config_debug.pl: disable sslverify for restapi. fix 7d3ec378bd
...
Change-Id: Ia7fb8f37a9070344a1408de61c25b458924fb35d
10 years ago
Victor Seva
7d3ec378bd
MT#7571 config_debug.pl: disable sslverify for restapi
...
Change-Id: I7705a3ebd72b27fba4c8eafccd0897ea94ed3e31
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
fc685d65b0
MT#16225 [jessie] update collectd pid filename
...
Change-Id: Id938d170d4900e42d273d21f9ecd85965efee0e8
10 years ago
Victor Seva
df0a6e1843
MT#16237 bin/scenario.pl: fix warning
...
> Mon Dec 14 09:59:29 CET 2015 - Generating csv/reg.xml files
> Possible precedence issue with control flow operator at ./bin/scenario.pl line 72.
Change-Id: I73968a15ea81de15cbb38c48678fefce98c28da9
10 years ago
Victor Seva
c421e3fa7a
MT#7571 bin/check.sh: fix cosmetic output removing domain
...
Change-Id: I9247a9824a115512512886a79a68fc4eb9c096d1
11 years ago
Victor Seva
20bb49e4e3
MT#7571 bin/check.sh: fix creation of KAM_DIR cfgtest dir
...
Change-Id: Id2bb681bcc98fc5284d752a0a1cf99b292982e37
11 years ago
Victor Seva
cafe088569
MT#7571 bin/check.sh: skip delete domain when skiping run tests
...
Change-Id: If4d13b6451e5f1b969423572920fc7820df58fa4
11 years ago
Victor Seva
8e20d27907
MT#14967 fix check.py TAP output
...
script was returning error but the TAP was not showing any error
Change-Id: I13e44e09cc63c54ed9e67bfb550cad717d10815d
11 years ago
Victor Seva
587d056de9
MT#14229 fix shellcheck warnings
...
Fixing the test -z -n mess I notice
that ./run_test.sh needed a missing -J
for creating the initial KAM_DIR (cfgtest)
Change-Id: Ic0832c977657248852f5795cd35851f881299cf9
11 years ago
Victor Seva
f67b5bd9c6
MT#6565 enable invite_peerout_rewrite_pv_regex. Fix typo check.py
...
Change-Id: Ied814cce246492da171d6966fdcd6aa0c13816fc
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
Alexander Lutay
78fc7f0dd8
MT#13297 pid_watcher.py will trigger check_all on event 'modified'
...
Change-Id: I77dad7f6757ecf5b471341732b9cd003efb1dece
11 years ago
Victor Seva
ef49f263aa
MT#11921 fix tap-test errors. fix commit 2383cafe85
...
Change-Id: I050f117618df6364b6059a1cc69f0316f0654ab6
11 years ago
Victor Seva
2383cafe85
MT#11921 fix tap-test errors and move unit-tests to tests dir
...
Change-Id: I5a76db17a3d9178dca42440f50b5c9af1837d80c
11 years ago
Victor Seva
1bce64b713
MT#6499 pid_watcher.py: create logging file here not by run_tests.sh
...
This fixes strange problem having empty log/pid_watcher.log file
12 years ago
Victor Seva
c4e7d63886
Revert "MT#7533 stop rate-o-mat service"
...
changes on heartbeat config makes it to restart on apply.
This reverts commit 6a327ad7f1 .
12 years ago
Victor Seva
6a327ad7f1
MT#7533 stop rate-o-mat service
...
pid_wached.py: add services that should to stop too
12 years ago
Victor Seva
e972c3c70a
MT#8753 protection of run "bin/config_debug.pl on" twice in a row
...
Avoid overwrite config.yml.orig if already exists
and don't modify /etc/hosts if is already changed.
12 years ago
Victor Seva
637eb0521f
MT#8721 run sipp on background to get the proper pid on responder scenario
12 years ago
Alexander Lutay
9518075d29
MT#7531 Add ERROR label for failed TAP cases
12 years ago
Victor Seva
3fdb96faf8
MT#7349 pid_watcher.py: update sems dir too.
12 years ago
Victor Seva
7942d5e8ce
MT#7349 pid_watcher.py: update sems pid filename
12 years ago
Victor Seva
73fd5c7797
MT#7109 create private memory per_pid file
12 years ago
Victor Seva
42491e6e5e
MT#7109 add prefix to headers
12 years ago
Victor Seva
fa9ce94dbe
MT#7109 Add first SUM row to private mem stat file
12 years ago
Victor Seva
ea6c1b4949
MT#7109 Add mem stats
...
Initial and final stats are created on mem dir.
12 years ago
Victor Seva
f5b9fda5c4
MT#6817 add pid_watcher.py
...
Use inotify in order to monitor the pid change for some services
12 years ago
Victor Seva
601f7c5ea4
MT#6543 generate tap file even if no sip message yaml exists
12 years ago
Victor Seva
62c95620e8
MT#6499 bin/config_debug.pl: more flexible localhost match
12 years ago
Victor Seva
9934dcf59d
MT#6165 ulog_parser.pl: add more info on error Call-ID
12 years ago
Victor Seva
9e8a299c2a
MT#6133 use sipwise user when connecting to mysql
12 years ago