|
|
|
|
@ -7,21 +7,13 @@ flow:
|
|
|
|
|
- start|ROUTE_EXIT:
|
|
|
|
|
- start|ROUTE_RUNTIME:
|
|
|
|
|
- return|ROUTE_RUNTIME:
|
|
|
|
|
- start|tm:branch-failure:redirect:
|
|
|
|
|
- start|FAILURE_ROUTE_LOCAL:
|
|
|
|
|
- start|ROUTE_INITVARS:
|
|
|
|
|
- return|ROUTE_INITVARS:
|
|
|
|
|
- start|ROUTE_STOP_RTPPROXY_BRANCH:
|
|
|
|
|
- start|ROUTE_RESTORE_CLUSTERSET:
|
|
|
|
|
- return|ROUTE_RESTORE_CLUSTERSET:
|
|
|
|
|
- return|ROUTE_STOP_RTPPROXY_BRANCH:
|
|
|
|
|
- start|ROUTE_INITVARS:
|
|
|
|
|
- return|ROUTE_INITVARS:
|
|
|
|
|
- start|ROUTE_LOAD_CALLER_PREF:
|
|
|
|
|
- start|ROUTE_CLEAR_CALLER_PREF:
|
|
|
|
|
- return|ROUTE_CLEAR_CALLER_PREF:
|
|
|
|
|
- start|ROUTE_CHECK_UA:
|
|
|
|
|
- return|ROUTE_CHECK_UA:
|
|
|
|
|
- start|ROUTE_LOAD_CALLER_CONTRACT_PREF:
|
|
|
|
|
- return|ROUTE_LOAD_CALLER_CONTRACT_PREF:
|
|
|
|
|
- return|ROUTE_LOAD_CALLER_PREF:
|
|
|
|
|
- start|ROUTE_FIND_CALLEE:
|
|
|
|
|
- start|ROUTE_CLEAR_CALLEE_PREF:
|
|
|
|
|
- return|ROUTE_CLEAR_CALLEE_PREF:
|
|
|
|
|
@ -76,34 +68,6 @@ flow:
|
|
|
|
|
- start|ROUTE_CNT_DLG_CHECK:
|
|
|
|
|
- return|ROUTE_CNT_DLG_CHECK:
|
|
|
|
|
- start|ROUTE_OUTBOUND:
|
|
|
|
|
- start|ROUTE_SET_CALLER_DIALOG:
|
|
|
|
|
- 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.testuser1003.uuid %]',
|
|
|
|
|
'account:[% customer_test.id %]',
|
|
|
|
|
'user:[% spce_test.testuser1003.uuid %]',
|
|
|
|
|
'totalaccountout:[% customer_test.id %]',
|
|
|
|
|
'totaluserout:[% spce_test.testuser1003.uuid %]',
|
|
|
|
|
'totalaccount:[% customer_test.id %]',
|
|
|
|
|
'totaluser:[% spce_test.testuser1003.uuid %]',
|
|
|
|
|
"accountout:[% customer_test.id %]",
|
|
|
|
|
"userout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
|
"user:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"totalaccountout:[% customer_test.id %]",
|
|
|
|
|
"totaluserout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
|
"totaluser:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"local",
|
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
|
"totaluser:[% spce_test.testuser1003.uuid %]",
|
|
|
|
|
"total",
|
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
|
"user:[% spce_test.testuser1003.uuid %]"
|
|
|
|
|
]
|
|
|
|
|
- start|ROUTE_ACC_CALLER:
|
|
|
|
|
- return|ROUTE_ACC_CALLER:
|
|
|
|
|
- start|ROUTE_ACC_CALLEE:
|
|
|
|
|
@ -154,37 +118,45 @@ flow:
|
|
|
|
|
- start|ROUTE_APPLY_HEADER_RULES:
|
|
|
|
|
- return|ROUTE_APPLY_HEADER_RULES:
|
|
|
|
|
- return|BRANCH_ROUTE_SBC:
|
|
|
|
|
- start|ROUTE_LOAD_CALLEE_CONTRACT_PREF:
|
|
|
|
|
- return|ROUTE_LOAD_CALLEE_CONTRACT_PREF:
|
|
|
|
|
- start|ROUTE_SET_CALLEE_DIALOG:
|
|
|
|
|
- start|ROUTE_CNT_DLG_CHECK:
|
|
|
|
|
- return|ROUTE_CNT_DLG_CHECK:
|
|
|
|
|
- return|ROUTE_SET_CALLEE_DIALOG:
|
|
|
|
|
- start|ROUTE_SET_BRANCH_HDRS:
|
|
|
|
|
- start|ROUTE_PREPARE_UA:
|
|
|
|
|
- return|ROUTE_PREPARE_UA:
|
|
|
|
|
- return|ROUTE_SET_BRANCH_HDRS:
|
|
|
|
|
- start|ROUTE_SET_RUSER:
|
|
|
|
|
- return|ROUTE_SET_RUSER:
|
|
|
|
|
- start|ROUTE_DROP:
|
|
|
|
|
- start|ROUTE_RUNTIME:
|
|
|
|
|
- return|ROUTE_RUNTIME:
|
|
|
|
|
- exit|ROUTE_DROP:
|
|
|
|
|
- start|DEFAULT_SEND:
|
|
|
|
|
- exit|DEFAULT_SEND:
|
|
|
|
|
- exit|DEFAULT_SEND:
|
|
|
|
|
- start|ROUTE_OUTBOUND:
|
|
|
|
|
- start|ROUTE_EXIT:
|
|
|
|
|
- start|ROUTE_RUNTIME:
|
|
|
|
|
- return|ROUTE_RUNTIME:
|
|
|
|
|
- exit|ROUTE_EXIT:
|
|
|
|
|
$avp(lua_dlg_profile): [
|
|
|
|
|
'accountout:[% customer_test.id %]',
|
|
|
|
|
'userout:[% spce_test.testuser1003.uuid %]',
|
|
|
|
|
'account:[% customer_test.id %]',
|
|
|
|
|
'user:[% spce_test.testuser1003.uuid %]',
|
|
|
|
|
'totalaccountout:[% customer_test.id %]',
|
|
|
|
|
'totaluserout:[% spce_test.testuser1003.uuid %]',
|
|
|
|
|
'totalaccount:[% customer_test.id %]',
|
|
|
|
|
'totaluser:[% spce_test.testuser1003.uuid %]',
|
|
|
|
|
"accountout:[% customer_test.id %]",
|
|
|
|
|
"userout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
|
"user:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"totalaccountout:[% customer_test.id %]",
|
|
|
|
|
"totaluserout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
|
"totaluser:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"local",
|
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
|
"totaluser:[% spce_test.testuser1003.uuid %]",
|
|
|
|
|
"total",
|
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
|
"user:[% spce_test.testuser1003.uuid %]"
|
|
|
|
|
]
|
|
|
|
|
"accountout:[% customer_test.id %]",
|
|
|
|
|
"userout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
|
"user:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"totalaccountout:[% customer_test.id %]",
|
|
|
|
|
"totaluserout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
|
"totaluser:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"local",
|
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
|
"totaluser:[% spce_test.testuser1003.uuid %]",
|
|
|
|
|
"total",
|
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
|
"user:[% spce_test.testuser1003.uuid %]"
|
|
|
|
|
]
|
|
|
|
|
- exit|ROUTE_EXIT:
|
|
|
|
|
sip_in:
|
|
|
|
|
- '^SIP/2.0 302 Moved Temporarily'
|
|
|
|
|
|