|
|
|
|
@ -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-hdr.scenarios.test
|
|
|
|
|
$var(realm_user): testuser1002
|
|
|
|
|
$var(realm_domain): spce.test
|
|
|
|
|
$var(realm_domain): invite-hdr.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-hdr.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_hdr_scenarios_test.testuser1003.uuid %]",
|
|
|
|
|
"total",
|
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
|
"user:[% spce_test.testuser1003.uuid %]"
|
|
|
|
|
"user:[% invite_hdr_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_hdr_scenarios_test.testuser1003.uuid %]",
|
|
|
|
|
"total",
|
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
|
"user:[% spce_test.testuser1003.uuid %]"
|
|
|
|
|
"user:[% invite_hdr_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_hdr_scenarios_test.testuser1002.uuid %]",
|
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
|
"user:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"user:[% invite_hdr_scenarios_test.testuser1002.uuid %]",
|
|
|
|
|
"totalaccountout:[% customer_test.id %]",
|
|
|
|
|
"totaluserout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"totaluserout:[% invite_hdr_scenarios_test.testuser1002.uuid %]",
|
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
|
"totaluser:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"totaluser:[% invite_hdr_scenarios_test.testuser1002.uuid %]",
|
|
|
|
|
"local",
|
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
|
"totaluser:[% spce_test.testuser1003.uuid %]",
|
|
|
|
|
"totaluser:[% invite_hdr_scenarios_test.testuser1003.uuid %]",
|
|
|
|
|
"total",
|
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
|
"user:[% spce_test.testuser1003.uuid %]"
|
|
|
|
|
"user:[% invite_hdr_scenarios_test.testuser1003.uuid %]"
|
|
|
|
|
]
|
|
|
|
|
- start|ROUTE_ACC_CALLER:
|
|
|
|
|
- start|ROUTE_SET_ACC_CALLER_CALL_COUNTERS:
|
|
|
|
|
@ -191,19 +191,19 @@ flow:
|
|
|
|
|
- exit|ROUTE_EXIT:
|
|
|
|
|
$avp(lua_dlg_profile): [
|
|
|
|
|
"accountout:[% customer_test.id %]",
|
|
|
|
|
"userout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"userout:[% invite_hdr_scenarios_test.testuser1002.uuid %]",
|
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
|
"user:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"user:[% invite_hdr_scenarios_test.testuser1002.uuid %]",
|
|
|
|
|
"totalaccountout:[% customer_test.id %]",
|
|
|
|
|
"totaluserout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"totaluserout:[% invite_hdr_scenarios_test.testuser1002.uuid %]",
|
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
|
"totaluser:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"totaluser:[% invite_hdr_scenarios_test.testuser1002.uuid %]",
|
|
|
|
|
"local",
|
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
|
"totaluser:[% spce_test.testuser1003.uuid %]",
|
|
|
|
|
"totaluser:[% invite_hdr_scenarios_test.testuser1003.uuid %]",
|
|
|
|
|
"total",
|
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
|
"user:[% spce_test.testuser1003.uuid %]"
|
|
|
|
|
"user:[% invite_hdr_scenarios_test.testuser1003.uuid %]"
|
|
|
|
|
]
|
|
|
|
|
sip_in:
|
|
|
|
|
- '^INVITE'
|
|
|
|
|
@ -230,12 +230,12 @@ sip_out:
|
|
|
|
|
- [
|
|
|
|
|
'^INVITE sip:testuser1003@',
|
|
|
|
|
'CSeq: 2 INVITE',
|
|
|
|
|
'FroM: <sip:4311002@',
|
|
|
|
|
'FroM: <sip:[% invite_hdr_scenarios_test.testuser1002.phone_number %]@',
|
|
|
|
|
'TO: <sip:testuser1003@',
|
|
|
|
|
'Content-Type: application/sdp',
|
|
|
|
|
'P-Caller-UUID: [% spce_test.testuser1002.uuid %]',
|
|
|
|
|
'P-Callee-UUID: [% spce_test.testuser1003.uuid %]',
|
|
|
|
|
'P-Asserted-Identity: <sip:4311002@',
|
|
|
|
|
'P-Caller-UUID: [% invite_hdr_scenarios_test.testuser1002.uuid %]',
|
|
|
|
|
'P-Callee-UUID: [% invite_hdr_scenarios_test.testuser1003.uuid %]',
|
|
|
|
|
'P-Asserted-Identity: <sip:[% invite_hdr_scenarios_test.testuser1002.phone_number %]@',
|
|
|
|
|
'P-Called-Party-ID: <sip:testuser1003@',
|
|
|
|
|
'P-App-Param: ;calltimer=21600;aleg_sst_enable=no;sst_enable=no',
|
|
|
|
|
'P-App-Name: sbc'
|
|
|
|
|
|