TT#116100 scenarios/invite_blockin_clir

* domain per scenario
* dynamic IP/port and numbers
* dynamic values at prefs.json

Change-Id: Ib6d4e041df03c694ce2386aea254c2c8aa4b811d
mr9.5.1
Victor Seva 5 years ago
parent 033969db9d
commit 3ff44f5c0a

@ -17,12 +17,12 @@ flow:
- start|ROUTE_FIND_CALLER:
- start|ROUTE_AUTH:
- start|ROUTE_AUTH_HELPER:
$x_hdr(From): spce.test
$x_hdr(From): invite-blockin-clir.scenarios.test
$var(realm_user): testuser1002
$var(realm_domain): spce.test
$var(realm_domain): invite-blockin-clir.scenarios.test
- return|ROUTE_AUTH_HELPER:
$avp(orig_acc_caller_user): ['testuser1002']
$avp(orig_acc_caller_domain): ['spce.test']
$avp(orig_acc_caller_domain): ['invite-blockin-clir.scenarios.test']
- start|ROUTE_ADD_CALLINFO_REPLY:
- start|ROUTE_ADD_CALLINFO_CALLER_PRIMARY:
- return|ROUTE_ADD_CALLINFO_CALLER_PRIMARY:
@ -65,10 +65,10 @@ flow:
- return|ROUTE_SET_CALLEE_DIALOG:
$avp(lua_dlg_profile): [
"totalaccount:[% customer_test.id %]",
"totaluser:[% spce_test.testuser1003.uuid %]",
"totaluser:[% invite_blockin_clir_scenarios_test.testuser1003.uuid %]",
"total",
"account:[% customer_test.id %]",
"user:[% spce_test.testuser1003.uuid %]"
"user:[% invite_blockin_clir_scenarios_test.testuser1003.uuid %]"
]
- start|ROUTE_BLOCK_IN:
- start|ROUTE_ACC_FAILURE:

@ -1,11 +1,11 @@
cdr:
- source_user: 'testuser1002'
source_domain: 'spce.test'
source_cli: '4311002'
source_domain: 'invite-blockin-clir.scenarios.test'
source_cli: '[% invite_blockin_clir_scenarios_test.testuser1002.phone_number %]'
source_clir: '1'
destination_user: 'testuser1003'
destination_domain: 'spce.test'
destination_user_dialed: '4311003'
destination_domain: 'invite-blockin-clir.scenarios.test'
destination_user_dialed: '[% invite_blockin_clir_scenarios_test.testuser1003.phone_number %]'
call_type: 'call'
call_status: 'other'
call_code: '403'

@ -1,11 +0,0 @@
{
"testuser1002@spce.test": {
"clir": true
},
"testuser1003@spce.test": {
"block_in_list": [
"4311001"
],
"block_in_clir": true
}
}

@ -0,0 +1,11 @@
{
"testuser1002@invite-blockin-clir.scenarios.test": {
"clir": true
},
"testuser1003@invite-blockin-clir.scenarios.test": {
"block_in_list": [
"[% invite_blockin_clir_scenarios_test.testuser1001.phone_number %]"
],
"block_in_clir": true
}
}

@ -1,6 +1,7 @@
---
test_uuid: invite_blockin_clir
domains:
'spce.test':
invite-blockin-clir.scenarios.test:
reseller_id: 1
customers:
'customer.test':
@ -13,7 +14,7 @@ customers:
billing_profile_id: 1
reseller_id: 1
subscribers:
spce.test:
invite-blockin-clir.scenarios.test:
testuser1003:
customer: 'customer.test'
password: testuser
@ -26,13 +27,19 @@ subscribers:
cc: 43
ac: 1
sn: 1002
testuser1001:
customer: 'customer.test'
password: testuser
cc: 43
ac: 1
sn: 1001
scenarios:
- ip: 127.126.0.1
username: testuser1002
domain: spce.test
domain: invite-blockin-clir.scenarios.test
responders:
- ip: 127.1.0.1
username: testuser1003
domain: spce.test
register: no
active: no
domain: invite-blockin-clir.scenarios.test
register: 'no'
active: 'no'

Loading…
Cancel
Save