|
|
|
|
@ -47,6 +47,11 @@ flow:
|
|
|
|
|
- return|ROUTE_LOAD_CALLEE_CONTRACT_PREF:
|
|
|
|
|
- start|ROUTE_SET_CALLEE_DIALOG:
|
|
|
|
|
- return|ROUTE_SET_CALLEE_DIALOG:
|
|
|
|
|
$avp(lua_dlg_profile): [
|
|
|
|
|
"totalaccount:[% customerpbx_test.id %]",
|
|
|
|
|
"totaluser:[% spce_test.testuser1003.uuid %]",
|
|
|
|
|
"total"
|
|
|
|
|
]
|
|
|
|
|
- start|ROUTE_BLOCK_IN:
|
|
|
|
|
- return|ROUTE_BLOCK_IN:
|
|
|
|
|
- start|ROUTE_ORDER_CF_MAP_ID:
|
|
|
|
|
@ -68,10 +73,21 @@ flow:
|
|
|
|
|
- start|ROUTE_OUTBOUND:
|
|
|
|
|
- start|ROUTE_SET_CALLER_DIALOG:
|
|
|
|
|
- return|ROUTE_SET_CALLER_DIALOG:
|
|
|
|
|
$avp(lua_dlg_profile): [
|
|
|
|
|
"totalaccountout:[% customerpbx_test.id %]",
|
|
|
|
|
"totaluserout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"totalaccount:[% customerpbx_test.id %]",
|
|
|
|
|
"totaluser:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"totalaccount:[% customerpbx_test.id %]",
|
|
|
|
|
"totaluser:[% spce_test.testuser1003.uuid %]",
|
|
|
|
|
"total"
|
|
|
|
|
]
|
|
|
|
|
- start|ROUTE_ACC_CALLER:
|
|
|
|
|
- return|ROUTE_ACC_CALLER:
|
|
|
|
|
- start|ROUTE_ACC_CALLEE:
|
|
|
|
|
- return|ROUTE_ACC_CALLEE:
|
|
|
|
|
- start|ROUTE_SCA_UPDATE:
|
|
|
|
|
- return|ROUTE_SCA_UPDATE:
|
|
|
|
|
- start|BRANCH_ROUTE_NO_SBC:
|
|
|
|
|
- start|ROUTE_BRANCH_ACC_RTP:
|
|
|
|
|
- return|ROUTE_BRANCH_ACC_RTP:
|
|
|
|
|
@ -88,7 +104,15 @@ flow:
|
|
|
|
|
- return|BRANCH_ROUTE_NO_SBC:
|
|
|
|
|
- return|BRANCH_ROUTE_NO_SBC:
|
|
|
|
|
- exit|ROUTE_OUTBOUND:
|
|
|
|
|
|
|
|
|
|
$avp(lua_dlg_profile): [
|
|
|
|
|
"totalaccountout:[% customerpbx_test.id %]",
|
|
|
|
|
"totaluserout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"totalaccount:[% customerpbx_test.id %]",
|
|
|
|
|
"totaluser:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"totalaccount:[% customerpbx_test.id %]",
|
|
|
|
|
"totaluser:[% spce_test.testuser1003.uuid %]",
|
|
|
|
|
"total"
|
|
|
|
|
]
|
|
|
|
|
sip_in:
|
|
|
|
|
- '^INVITE sip:1003'
|
|
|
|
|
- 'Contact: sip:testuser1002@'
|
|
|
|
|
@ -108,7 +132,7 @@ sip_out:
|
|
|
|
|
'CSeq: 2 INVITE',
|
|
|
|
|
'From: <sip:testuser1002@',
|
|
|
|
|
'To: <sip:1003@',
|
|
|
|
|
'P-Caller-UUID: \w+',
|
|
|
|
|
'P-Caller-UUID: [% spce_test.testuser1002.uuid %]',
|
|
|
|
|
'P-NGCP-Caller-Info: <sip:testuser1002@'
|
|
|
|
|
]
|
|
|
|
|
- [
|
|
|
|
|
@ -117,8 +141,8 @@ sip_out:
|
|
|
|
|
'From: <sip:testuser1002@',
|
|
|
|
|
'To: <sip:testuser1003@',
|
|
|
|
|
'Content-Type: application/sdp',
|
|
|
|
|
'P-Caller-UUID: \w+',
|
|
|
|
|
'P-Callee-UUID: \w+',
|
|
|
|
|
'P-Caller-UUID: [% spce_test.testuser1002.uuid %]',
|
|
|
|
|
'P-Callee-UUID: [% spce_test.testuser1003.uuid %]',
|
|
|
|
|
'P-NGCP-Lookup-Ext: 1003',
|
|
|
|
|
'P-NGCP-Orig-User: 43110021003',
|
|
|
|
|
'P-NGCP-Orig-Dialed: 1003',
|
|
|
|
|
|