Marco Capetta
3fe284ace5
TT#73250 Add queue and group_serial PBX scenarios to k-c-t
...
- invite_queue
- invite_group_serial
Some other tests has been prepared but not yet completed
- invite_group_parallel
- invite_xfer_blind_caller
- invite_xfer_blind_callee
Change-Id: I77f80495e85ba8691d4dc22c7807b945fac3325e
6 years ago
Guillem Jover
f8cf9ab796
TT#39401 Use List::Util in perl core instead of List::MoreUtils
...
Remove unused liblist-allutils-perl dependency.
Change-Id: I2e28c3d535ed207ee159c09bad973d4558d50e8e
8 years ago
Guillem Jover
31f441ad1a
TT#17650 Switch to use YAML::XS instead of YAML
...
This module is more compliant and it is faster than the pure perl
implementation. The latter is also deprecated in favor of the former
(see man YAML for more details).
Change-Id: I15240ac294476c0d9cc30e36e622adc7e07db136
9 years ago
Victor Seva
6d10bef848
TT#4110 scenarios_pbx: is_pbx_pilot order is important
...
* create pbx_pilot fist
Change-Id: I14e717c2bb58dddf1854cc296f716ebb7b64fba9
10 years ago
Victor Seva
a0af0be1fc
TT#4760 scenario_ids.yml
...
* support dynamic checks with defined ids
* create_subscribers.pl generates scenario/scenario_ids.yml
* create_peers.pl will add peers info to it
* generate_test.pl will produce the final test_0XXX.tt2 with the
proper values
* we put the scenario_ids.yml in log if debug is needed
Example of scenarios_ids.yml:
---
customer_test:
id: 7
peer_00_host0:
id: 95
spce_test:
testuser1003:
uuid: 15dd6b9a-1b83-4d74-b630-be05d3fada77
Example of checks:
- return|ROUTE_SET_CALLEE_DIALOG:
$avp(lua_dlg_profile): [
"totalaccount:[% customer_test.id %]",
"totaluser:[% spce_test.testuser1003.uuid %]",
"total", "account:[% customer_test.id %]",
"user:[% spce_test.testuser1003.uuid %]"
]
Change-Id: I3d81bcae0865d9861b4f721618f2bc21f2db14b8
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
874667ff39
TT#4110 add support for pbx
...
scenario.yml:
- is_pbx_pilot
- pbx_extension
Change-Id: I57d57d936162c56dbf3649656a0654b0d0c654ca
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
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
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
2383cafe85
MT#11921 fix tap-test errors and move unit-tests to tests dir
...
Change-Id: I5a76db17a3d9178dca42440f50b5c9af1837d80c
11 years ago
Victor Seva
560e36a662
MT#4009 Add GPL licence to all scripts
13 years ago
Victor Seva
bf6a35ab01
Create subscribers from scenarios.yml file.
...
- Now subscribers can have aliases.
- No duplicate info in scenarios.
13 years ago
Victor Seva
118615080a
Use proper interface config for scripts.
13 years ago
Victor Seva
13ea3ac85a
bin/create_subscribers.pl: remove output
...
run_tests.sh: define start and end output
13 years ago
Victor Seva
7914804505
Reorganize scripts: all scripts on bin directory except run_tests.sh
13 years ago