TT#116100 scenarios/invite_blockout_ncos

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

Change-Id: I8067300d31dc09d18bdff0a444f7a558db814511
mr9.5.1
Victor Seva 5 years ago
parent ea37348b0f
commit 981613f4ab

@ -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-blockout-ncos.scenarios.test
$var(realm_user): testuser1002
$var(realm_domain): spce.test
$var(realm_domain): invite-blockout-ncos.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-blockout-ncos.scenarios.test']
- start|ROUTE_ADD_CALLINFO_REPLY:
- start|ROUTE_ADD_CALLINFO_CALLER_PRIMARY:
- return|ROUTE_ADD_CALLINFO_CALLER_PRIMARY:

@ -1,10 +1,10 @@
cdr:
- source_user: 'testuser1002'
source_domain: 'spce.test'
source_cli: '4311002'
source_domain: 'invite-blockout-ncos.scenarios.test'
source_cli: '[% invite_blockout_ncos_scenarios_test.testuser1002.phone_number %]'
destination_user: 'testuser1003'
destination_domain: 'spce.test'
destination_user_dialed: '4311003'
destination_domain: 'invite-blockout-ncos.scenarios.test'
destination_user_dialed: '[% invite_blockout_ncos_scenarios_test.testuser1003.phone_number %]'
call_type: 'call'
call_status: 'other'
call_code: '403'

@ -1,5 +0,0 @@
{
"testuser1002@spce.test": {
"ncos": "ncos_test_00"
}
}

@ -0,0 +1,5 @@
{
"testuser1002@invite-blockout-ncos.scenarios.test": {
"ncos": "ncos_test_00"
}
}

@ -1,6 +1,7 @@
---
test_uuid: invite_blockout_ncos
domains:
'spce.test':
invite-blockout-ncos.scenarios.test:
reseller_id: 1
customers:
'customer.test':
@ -13,7 +14,7 @@ customers:
billing_profile_id: 1
reseller_id: 1
subscribers:
spce.test:
invite-blockout-ncos.scenarios.test:
testuser1003:
customer: 'customer.test'
password: testuser
@ -29,10 +30,10 @@ subscribers:
scenarios:
- ip: 127.126.0.1
username: testuser1002
domain: spce.test
domain: invite-blockout-ncos.scenarios.test
responders:
- ip: 127.1.0.1
username: testuser1003
domain: spce.test
register: no
active: no
domain: invite-blockout-ncos.scenarios.test
register: 'no'
active: 'no'

Loading…
Cancel
Save