Andrew Pogrebennyk
ed64ff9925
TT#8183 fix scenarios_lnp/invite_ncos_white broken due to rewrite rule
...
Change-Id: Ic2af6fc070123ec1f20ccbf0adc3341e171cef85
9 years ago
Victor Seva
8e263c9633
TT#7338 scenario.yml: support q value for REGISTER
...
Change-Id: I4733748c19d7820e71da3943452748702a8a2db9
9 years ago
Sipwise Jenkins Builder
1d6460af58
Release new version 5.1.0.0+0~mr5.1.0.0
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
9 years ago
Victor Seva
ed076a69fc
TT#6350 scenarios_pbx: We call ROUTE_DLG_MANAGE twice!!
...
Change-Id: I29e361ccfff0a7219d4c0a491dd10f1e523b316c
9 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
9 years ago
Victor Seva
4e7cf79eac
TT#4760 move scenario_ids.yml to log just after run_sipp
...
* fix ./get_results.sh -T invocation
Change-Id: I45f00d98612bd5f16428d01395cb09fbc93bbce5
9 years ago
Victor Seva
6d10bef848
TT#4110 scenarios_pbx: is_pbx_pilot order is important
...
* create pbx_pilot fist
Change-Id: I14e717c2bb58dddf1854cc296f716ebb7b64fba9
9 years ago
Victor Seva
3ed5d82776
TT#4856 scenarios_pbx: add counters info
...
* update flow with ROUTE_SCA_UPDATE
* sems-pbx CSeq is random, use regex
Change-Id: I384852f18991380e78012a2f2a9f97920ebb6825
9 years ago
Victor Seva
ea2ff64b4c
TT#4856 scenarios_lnp: add counters info
...
Change-Id: I37bdbe56e7f52d202ca3bcfd1bdef57afed21fa2
9 years ago
Victor Seva
3640257da4
TT#4938 bin/restart_log.sh: fix delete previous logs
...
Change-Id: Id5d6cacd8f193fd6d932c882e0bcccc10615a2b9
9 years ago
Victor Seva
97c350026e
TT#5412 test: add yaml format test for XXXX_test.yml.tt2 files
...
* migrate to Docker
* tests/test_check.py: use junitxml
* bin/generate_tests.sh: support DEST_DIR
will use DEST_DIR as base dir destination
* rename scenarios_disabled -> disabled
* fix \t at XXXX_test.yml.tt2 templates
Change-Id: I845588ee4692f157f370a000abab75a05e701839
9 years ago
Andrew Pogrebennyk
561070ce1c
TT#5404 fix flows after fix cf432cb (missed trailing colon)
...
Change-Id: Ifa092b73a6ffffa75d3df5d3890c020ddde1eddd
9 years ago
Andrew Pogrebennyk
93f5dbc48c
TT#5404 fix flows after moving ROUTE_LOAD_CALLEE_PREF before ROUTE_NCOS
...
Change-Id: Id7f060d677fcd3636c189093c86a4bb07505b175
9 years ago
Victor Seva
47eb36c4f5
MT#19053 bin/config_debug.pl: use GROUP if defined as default value
...
Change-Id: I668ac12171bba1b8ee38a2844ecaba70f10bb0ae
9 years ago
Victor Seva
a255bedde2
TT#5105 bin/check.sh: restore previous behavior for responders
...
* don't reuse ports for responders
Change-Id: Ie32dfa3cc9a60849bec84fbb8cb804bb53df4db2
9 years ago
Victor Seva
0a863a2544
TT#5200 register_bria: do not use port where not really needed
...
Change-Id: I5838bb3ed26ac2b6abcbbdb42b047e39d238e1b5
9 years ago
Victor Seva
08e18b604e
TT#5105 bin/check.sh: restore previous behavior with static ports for sender
...
Change-Id: Ibe45f3ff8b2ca2eaaa092bf966b728a35cbad57b
9 years ago
Alexander Lutay
85e44bb0fa
TT#5200 Fix 4e42a6: Change port to 51603 as it is currently in use since 550a9d3
...
Change-Id: I8880ca43a4d0cdbe7a3024bbc12b77130f52c8b7
9 years ago
Alexander Lutay
4e42a6f3ac
TT#5200 Fix 563399: register_bria used old ports, moved to new one
...
Change-Id: Ica69b3479918c9e995d18579413ec37fd8cd753c
9 years ago
Victor Seva
5633995d56
TT#5200 scenarios*: fix default peer host port
...
* since 550a9d3a9a default port is 51602 for sender
* dynamic port for peers is only supported on responders
Change-Id: Ibaccd1ad90882ab78065a8fb74247aef21611f37
9 years ago
Victor Seva
550a9d3a9a
TT#5105 bin/check.sh: check media port+2, sipp uses media port +2
...
* fix sipp transport arguments
* change port range of media from 6003 to 46003 for responders
* change port range of media from 7002 to 45003 for senders
* change port from 50602 to 51602 for senders
Change-Id: Ia76daeb9098e05d67c6fb95ebe945cdb59c8a493
9 years ago
Victor Seva
b499e0a35b
TT#5103 TT#4856 invite_voicebox: fix template, use dynamic id
...
Change-Id: Ibca45c5218a375d34ee7b5ca47556245f5c75d38
9 years ago
Victor Seva
193c3fd793
TT#4938 bin/restart_log.sh touch expected logs after remove them
...
Change-Id: I4ef394570704f56990d4561883e1a7aab705a604
9 years ago
Victor Seva
9d4d650a45
TT#4856 scenarios: add counter info
...
Change-Id: I8e24a387e74099b2f53d0e97b7984c6db4c73db4
9 years ago
Victor Seva
2dc1a881eb
TT#4856 scenarios/invite_allowedcli_match: add counter info
...
Change-Id: I42576a971d583ed50838fde647d6ccf639ee5a49
9 years ago
Victor Seva
354dbbea73
TT#4856 scenarios/invite: add counter info
...
Change-Id: Ib0facd267c01efe83504bfaf07c1ca5abcab8058
9 years ago
Victor Seva
0c3e341b6f
TT#4856 scenarios/incoming_peer: add counter info
...
Change-Id: I30f61817448a20ebe222e4711b3e3c6bddbc0438
9 years ago
Victor Seva
c1a82009d3
TT#4856 scenarios/incoming_hih: add counter info
...
Change-Id: I7e59106ab912e4a927790bab9817e70221b4b9ed
9 years ago
Alexander Lutay
93ae722758
TT#4002 Bump debian/changelog to 5.0.0.0+0~mr5.0.0.0
...
Change-Id: I7eed3c1b6549d6dcd0dea4e1a28e8f97640ae453
9 years ago
Victor Seva
b9fd8225c7
TT#4857 add invite_ncos_[black|white]
...
- create lnp provider with prefix AA, and add lnp entry 439992
- create rwr with callee lnp "^(.+)$" -> "${callee_lnp_prefix}\1"
- create ncos blacklist "black", and add entry ^439991 and also select lnp provider
- create ncos whitelist "white", and add entry ^439991 and also select lnp provider
* black:
- assign ncos level "black" and rwr to domain
- dial 43999100 -> block due to ncos pattern
- dial 43999200 -> block due to ncos lnp
- dial 43999300 -> pass
* white:
- assign ncos level "white" to domain
- dial 43999100 -> allow due to ncos pattern
- dial 43999200 -> allow due to lnp match
- dial 43999300 -> block due to missing lnp
entry and missing ncos pattern match
Change-Id: Id80735f4b357708c20872a7bbdba477038651554
9 years ago
Victor Seva
8e0a598282
TT#4877 add ncoslnpcarrier support
...
ncos.yml:
---
ncos_black:
data:
mode: blacklist
local_ac: 0
description: test ncos level
reseller_id: 1
patterns:
- pattern: "^439991"
description: block LNP call
ncos_white:
data:
mode: whitelist
local_ac: 0
description: test ncos level
reseller_id: 1
patterns:
- pattern: "^439991"
description: allow LNP call
lnp.yml
---
lnp_test_00:
data:
name: lnp_test_00
prefix: AA
numbers:
- number: '439992'
routing_number: '4318881001'
ncos:
- level: ncos_black
reseller_id: 1
- level: ncos_white
reseller_id: 1
Change-Id: I7c95df88b93feb902943e05d90165204982dfc86
9 years ago
Victor Seva
947414d8be
TT#4466 scenarios_lnp: add incoming_peer_unallocated_authoritative
...
callee number in lnp but no subscriber is register with that number
and lnpcarrier is authoritative -> 404
Change-Id: I799bc8e49accb3ea7f0e8d0da884e25dae7710d5
9 years ago
Victor Seva
4fe454322a
TT#4856 scenarios/incoming_foreign_dom: add counter info
...
Change-Id: I8345cf63610cbcfc487a32767b9010be27cf81b0
9 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
9 years ago
Victor Seva
7dc0820956
MT#17655 scenarios: new flow with ROUTE_CNT_CALLE[E|R]_REJECT
...
Change-Id: Idc685da1b3bf39651522cb0a07372dcedc1ebcb9
9 years ago
Victor Seva
cb5bc41eaa
TT#4753 send proper ACK after 4xx
...
* reminder: receive BYE and send OK
Change-Id: I0c1cc9d9ed8cee95a73f9cd2e9cedd2257d68814
9 years ago
Andrew Pogrebennyk
5fcc29f42d
MT#22945 update flows after fix for CF headers removing
...
Change-Id: I21075018b86b37ce926e70d527055b19f9e89d96
9 years ago
Victor Seva
d9889e0167
TT#4110 scenarios_pbx: fix scenario
...
Change-Id: Idd8e154295c8dc617ecc40847b5dfaebd46c828d
9 years ago
Victor Seva
41ed75c299
TT#4110 scenarios_pbx: is_pbx_pilot order is important
...
Change-Id: If9732dba04a523918d0e40dc9c8f572908ffdcd5
9 years ago
Victor Seva
28ac3bd131
TT#4110 add sems-pbx logs
...
Change-Id: I561293c4ec95aec64d66e0e92b38101b23220757
9 years ago
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
9 years ago
Victor Seva
e3934987d1
TT#4475 pid_watcher.py: catch SIGTERM and log that the process was aborted
...
Change-Id: Ic97859a8b6d83665125e376ce80573bfcd4a65d1
9 years ago
Victor Seva
af1467a751
TT#4475 run_tests.sh: add timeout parameter and set 300 as default
...
* the duration of the ngcp-apply depends on the environment so
lets try to be more friendly
Change-Id: I6fcee6a5585fa9e2cd74954f3ac0355334647552
9 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
9 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
9 years ago
Andrew Pogrebennyk
805d9d85fc
TT#4060 MT#22447 now we are calling ROUTE_CLIR before ROUTE_FIND_CALLEE
...
Change-Id: I5f0b0dfb8d869ce682ae48fbf17cd49ba49703dc
9 years ago
Andreas Granig
fef2e3261c
TT#4066 Add cf map reorder function
...
Change-Id: I61302cd7d19f85e51cce3bb838d7b3f02c22d2bf
9 years ago
Victor Seva
874667ff39
TT#4110 add support for pbx
...
scenario.yml:
- is_pbx_pilot
- pbx_extension
Change-Id: I57d57d936162c56dbf3649656a0654b0d0c654ca
9 years ago
Andreas Granig
cbce507a10
TT#2394 Implement source-based CF
...
Change-Id: I82b1967f281a5fd2e16e22b689831db893c728d8
9 years ago