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
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
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
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
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
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
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
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
601f7c5ea4
MT#6543 generate tap file even if no sip message yaml exists
12 years ago
Victor Seva
9e8a299c2a
MT#6133 use sipwise user when connecting to mysql
12 years ago
Victor Seva
cf4ce574a4
MT#6055 clean kamailio location table
12 years ago
Victor Seva
053b69b092
MT#5947 remove possible banned user
12 years ago
Victor Seva
82d954384c
MT#5789 fix cfb23bb974
12 years ago
Victor Seva
cfb23bb974
MT#5789 foreign domain support
...
- bin/config_debug.pl: we need to deactivate dns_cache on lb
- bin/scenario.pl: generates scenario hosts file + adds info on scenario.csv
- bin/check.sh: uses the info from scenario.csv and hosts files
12 years ago
Victor Seva
3b62b419c8
MT#5633 add presence support on scenario.
...
Add XCap client script.
12 years ago
Victor Seva
608c604a33
MT#5757 bin/check.sh: add -g option to generate graph only if test fails
12 years ago
Victor Seva
4ff4f70cd0
MT#5733 use transport option on sipp
12 years ago
Victor Seva
4c0a6cf6ff
bin/check.sh: Add check for deactivated files not in scenario.csv
12 years ago
Victor Seva
560e36a662
MT#4009 Add GPL licence to all scripts
13 years ago
Victor Seva
300bb0f286
bin/check.sh: do not force skip test on skip parse
13 years ago
Victor Seva
e091e7d0b7
bin/check.sh: fix skip creation option
13 years ago
Michael Prokop
7471d7d324
Switch from /usr/local/src to /usr/share
...
Addressing:
| 00:53:47 3m51.5s ERROR: FAIL: After purging files have disappeared:
| 00:53:47 /usr/local/src/ owned by: kamailio-config-tests
-- https://jenkins.mgm.sipwise.com/view/piuparts/job/kamailio-config-tests-piuparts/68/console
Acked-by: Victor Seva
13 years ago
Victor Seva
fadc242117
bin/check.sh: wait between sip_scenarios.
13 years ago
Victor Seva
96ff528242
bin/create_ncos.pl: Added helper script to add ncos levels on ncos.yml
...
bin/check.sh: Call create_ncos.pl when needed.
13 years ago
Victor Seva
5b540a96c4
bin/check.sh: use renamed script. Must be exec before create_peers.pl
...
bin/set_preferences.pl: Create prefs for domain, peer or subscriber
domain: "@domain.whatever"
peer: "peer_host" as on peer.yml
subscriber: "user@domain.whatever"
13 years ago
Victor Seva
1221c600cd
bin/check.sh: Add create_rewrite_rules script
13 years ago
Victor Seva
a4fbfec180
bin/check.sh: try to get the kamailio.log on restart_log.sh error
13 years ago
Victor Seva
5ec884ae36
bin/check.sh: fix last commit. Show no error
13 years ago
Victor Seva
659dadf422
bin/check.sh: force error if there is any errors.log from sipp
13 years ago
Victor Seva
99d3de17e6
Peer responders
...
bin/upgrade_peer.pl: Added script to upgrade ip:host peer info.
- This is neeeded because we don't know for sure the port used on a responder
bin/check.sh: call upgrade_peerl script if needed
bin/scenario.pl: new peer_host option
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
babfec8eec
bin/check.sh: Clean generated tests before generate again them.
13 years ago
Victor Seva
0d2e020948
bin/check.sh: clean generated csv/reg.xml files before run again.
13 years ago
Victor Seva
33819b4027
bin/check: fix delete_locations
13 years ago
Victor Seva
63c4f686be
Reorganize the way scenarios are created.
...
scenario.yml:
scenarios:
- ip: 127.126.0.1
user: testuser1002
domain: spce.test
username: testuser1002
password: testuser
responders:
- ip: 127.1.0.1
number: 4311003
user: testuser1003
domain: spce.test
register: yes
username: testuser1003
password: testuser
bin/scenario.pl: script to generate the csv files from a scenario.yml
bin/check.sh:
- calls bin/scenario.pl to generate needed csv files.
- uses the generated scenario.csv file to know the ip of the caller/callee.
- don't need to do any unreg. All locations are removed before run any scenario.
bin/sipp.sh:
- callee.csv and caller.csv are now in the test dir
- no peer.csv
13 years ago
Victor Seva
ee99f5a4ab
bin/check.sh: copy kamailio-lb and sems logs to LOG_DIR
13 years ago
Victor Seva
31517ff786
bin/check.sh: fix last commit. port is not local var
13 years ago
Victor Seva
3828c78741
bin/check.sh: Added capture logs to debug
13 years ago
Victor Seva
32bee68c62
Adapt bin/sipp.h bin/check.sh to peer
...
bin/sipp.sh:
- Added peer.csv info file when needed.
- Added ip option to choose the sending IP
bin/check.sh:
- Use new sipp.sh IP option
13 years ago
Victor Seva
e14771eeef
bin/check.sh: Add/Delete peers
13 years ago
Victor Seva
81259f39dd
bin/check.sh: fix do not delete domain on sipp error
13 years ago
Victor Seva
2628aa7fbe
split logic. run_tests.sh runs the sipp scenarios. get_results.sh generates the tap files.
13 years ago
Victor Seva
0d1cab6290
remove scripts added to ngcp-ossbss-clients-perl package.
13 years ago
Victor Seva
815edd08ff
bin/check.sh: MPORT fix. introduce step arg
13 years ago
Victor Seva
e8ad1d10f3
bin/check.sh: fix locations. Use proper ENV var
13 years ago