|
|
|
|
@ -17,12 +17,12 @@ flow:
|
|
|
|
|
- start|ROUTE_FIND_CALLER:
|
|
|
|
|
- start|ROUTE_AUTH:
|
|
|
|
|
- start|ROUTE_AUTH_HELPER:
|
|
|
|
|
$x_hdr(From): spce.test
|
|
|
|
|
$var(realm_user): testuser1002
|
|
|
|
|
$var(realm_domain): spce.test
|
|
|
|
|
$x_hdr(From): invite-redirect-blocked.scenarios.test
|
|
|
|
|
$var(realm_user): [% scenarios.0.username %]
|
|
|
|
|
$var(realm_domain): invite-redirect-blocked.scenarios.test
|
|
|
|
|
- return|ROUTE_AUTH_HELPER:
|
|
|
|
|
$avp(orig_acc_caller_user): ['testuser1002']
|
|
|
|
|
$avp(orig_acc_caller_domain): ['spce.test']
|
|
|
|
|
$avp(orig_acc_caller_user): ['[% scenarios.0.username %]']
|
|
|
|
|
$avp(orig_acc_caller_domain): ['invite-redirect-blocked.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_redirect_blocked_scenarios_test.testuser1003.uuid %]",
|
|
|
|
|
"total",
|
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
|
"user:[% spce_test.testuser1003.uuid %]"
|
|
|
|
|
"user:[% invite_redirect_blocked_scenarios_test.testuser1003.uuid %]"
|
|
|
|
|
]
|
|
|
|
|
- start|ROUTE_BLOCK_IN:
|
|
|
|
|
- return|ROUTE_BLOCK_IN:
|
|
|
|
|
@ -102,29 +102,29 @@ flow:
|
|
|
|
|
$avp(lua_dlg_profile): [
|
|
|
|
|
"local",
|
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
|
"totaluser:[% spce_test.testuser1003.uuid %]",
|
|
|
|
|
"totaluser:[% invite_redirect_blocked_scenarios_test.testuser1003.uuid %]",
|
|
|
|
|
"total",
|
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
|
"user:[% spce_test.testuser1003.uuid %]"
|
|
|
|
|
"user:[% invite_redirect_blocked_scenarios_test.testuser1003.uuid %]"
|
|
|
|
|
]
|
|
|
|
|
- start|ROUTE_CNT_DLG_CHECK:
|
|
|
|
|
- return|ROUTE_CNT_DLG_CHECK:
|
|
|
|
|
- return|ROUTE_SET_CALLER_DIALOG:
|
|
|
|
|
$avp(lua_dlg_profile): [
|
|
|
|
|
"accountout:[% customer_test.id %]",
|
|
|
|
|
"userout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"userout:[% invite_redirect_blocked_scenarios_test.testuser1002.uuid %]",
|
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
|
"user:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"user:[% invite_redirect_blocked_scenarios_test.testuser1002.uuid %]",
|
|
|
|
|
"totalaccountout:[% customer_test.id %]",
|
|
|
|
|
"totaluserout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"totaluserout:[% invite_redirect_blocked_scenarios_test.testuser1002.uuid %]",
|
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
|
"totaluser:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"totaluser:[% invite_redirect_blocked_scenarios_test.testuser1002.uuid %]",
|
|
|
|
|
"local",
|
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
|
"totaluser:[% spce_test.testuser1003.uuid %]",
|
|
|
|
|
"totaluser:[% invite_redirect_blocked_scenarios_test.testuser1003.uuid %]",
|
|
|
|
|
"total",
|
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
|
"user:[% spce_test.testuser1003.uuid %]"
|
|
|
|
|
"user:[% invite_redirect_blocked_scenarios_test.testuser1003.uuid %]"
|
|
|
|
|
]
|
|
|
|
|
- start|ROUTE_ACC_CALLER:
|
|
|
|
|
- start|ROUTE_SET_ACC_CALLER_CALL_COUNTERS:
|
|
|
|
|
@ -192,58 +192,58 @@ flow:
|
|
|
|
|
- exit|ROUTE_EXIT:
|
|
|
|
|
$avp(lua_dlg_profile): [
|
|
|
|
|
"accountout:[% customer_test.id %]",
|
|
|
|
|
"userout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"userout:[% invite_redirect_blocked_scenarios_test.testuser1002.uuid %]",
|
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
|
"user:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"user:[% invite_redirect_blocked_scenarios_test.testuser1002.uuid %]",
|
|
|
|
|
"totalaccountout:[% customer_test.id %]",
|
|
|
|
|
"totaluserout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"totaluserout:[% invite_redirect_blocked_scenarios_test.testuser1002.uuid %]",
|
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
|
"totaluser:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"totaluser:[% invite_redirect_blocked_scenarios_test.testuser1002.uuid %]",
|
|
|
|
|
"local",
|
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
|
"totaluser:[% spce_test.testuser1003.uuid %]",
|
|
|
|
|
"totaluser:[% invite_redirect_blocked_scenarios_test.testuser1003.uuid %]",
|
|
|
|
|
"total",
|
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
|
"user:[% spce_test.testuser1003.uuid %]"
|
|
|
|
|
"user:[% invite_redirect_blocked_scenarios_test.testuser1003.uuid %]"
|
|
|
|
|
]
|
|
|
|
|
sip_in:
|
|
|
|
|
- '^INVITE sip:testuser1003@'
|
|
|
|
|
- 'From: <sip:testuser1002@'
|
|
|
|
|
- 'To: <sip:testuser1003@'
|
|
|
|
|
- '^INVITE sip:[% scenarios.0.responders.0.username %]@'
|
|
|
|
|
- 'From: <sip:[% scenarios.0.username %]@'
|
|
|
|
|
- 'To: <sip:[% scenarios.0.responders.0.username %]@'
|
|
|
|
|
- 'CSeq: 2 INVITE'
|
|
|
|
|
- 'Contact: sip:testuser1002@'
|
|
|
|
|
- 'Contact: sip:[% scenarios.0.username %]@'
|
|
|
|
|
- 'Max-Forwards: 69'
|
|
|
|
|
- 'Proxy-Authorization: Digest username="testuser1002"'
|
|
|
|
|
- 'Proxy-Authorization: Digest username="[% scenarios.0.username %]"'
|
|
|
|
|
- 'Content-Type: application/sdp'
|
|
|
|
|
sip_out:
|
|
|
|
|
- [
|
|
|
|
|
'^SIP/2.0 100 Trying',
|
|
|
|
|
'From: <sip:testuser1002@',
|
|
|
|
|
'To: <sip:testuser1003@',
|
|
|
|
|
'From: <sip:[% scenarios.0.username %]@',
|
|
|
|
|
'To: <sip:[% scenarios.0.responders.0.username %]@',
|
|
|
|
|
'CSeq: 2 INVITE',
|
|
|
|
|
'Content-Length: 0'
|
|
|
|
|
]
|
|
|
|
|
- [
|
|
|
|
|
'^SIP/2.0 101 Connecting',
|
|
|
|
|
'From: <sip:testuser1002@',
|
|
|
|
|
'To: <sip:testuser1003@',
|
|
|
|
|
'From: <sip:[% scenarios.0.username %]@',
|
|
|
|
|
'To: <sip:[% scenarios.0.responders.0.username %]@',
|
|
|
|
|
'CSeq: 2 INVITE',
|
|
|
|
|
'P-NGCP-Authorization: testuser1002@',
|
|
|
|
|
'P-NGCP-Authorization: [% scenarios.0.username %]@',
|
|
|
|
|
'P-NGCP-Authorized: 1',
|
|
|
|
|
'Content-Length: 0'
|
|
|
|
|
]
|
|
|
|
|
- [
|
|
|
|
|
'^INVITE sip:testuser1003@',
|
|
|
|
|
'From: <sip:4311002@',
|
|
|
|
|
'To: <sip:testuser1003@',
|
|
|
|
|
'^INVITE sip:[% scenarios.0.responders.0.username %]@',
|
|
|
|
|
'From: <sip:[% invite_redirect_blocked_scenarios_test.testuser1002.phone_number %]@',
|
|
|
|
|
'To: <sip:[% scenarios.0.responders.0.username %]@',
|
|
|
|
|
'CSeq: 2 INVITE',
|
|
|
|
|
'Contact: sip:testuser1002@',
|
|
|
|
|
'Contact: sip:[% scenarios.0.username %]@',
|
|
|
|
|
'Content-Type: application/sdp',
|
|
|
|
|
'P-Caller-UUID: [% spce_test.testuser1002.uuid %]',
|
|
|
|
|
'P-Callee-UUID: [% spce_test.testuser1003.uuid %]',
|
|
|
|
|
'P-Asserted-Identity: <sip:4311002@',
|
|
|
|
|
'P-Called-Party-ID: <sip:testuser1003@',
|
|
|
|
|
'P-Caller-UUID: [% invite_redirect_blocked_scenarios_test.testuser1002.uuid %]',
|
|
|
|
|
'P-Callee-UUID: [% invite_redirect_blocked_scenarios_test.testuser1003.uuid %]',
|
|
|
|
|
'P-Asserted-Identity: <sip:[% invite_redirect_blocked_scenarios_test.testuser1002.phone_number %]@',
|
|
|
|
|
'P-Called-Party-ID: <sip:[% scenarios.0.responders.0.username %]@',
|
|
|
|
|
'P-App-Name: sbc',
|
|
|
|
|
'P-NGCP-Caller-Info: <sip:testuser1002@',
|
|
|
|
|
'P-NGCP-Callee-Info: <sip:testuser1003@'
|
|
|
|
|
'P-NGCP-Caller-Info: <sip:[% scenarios.0.username %]@',
|
|
|
|
|
'P-NGCP-Callee-Info: <sip:[% scenarios.0.responders.0.username %]@'
|
|
|
|
|
]
|
|
|
|
|
|