|
|
|
@ -17,12 +17,12 @@ flow:
|
|
|
|
- start|ROUTE_FIND_CALLER:
|
|
|
|
- start|ROUTE_FIND_CALLER:
|
|
|
|
- start|ROUTE_AUTH:
|
|
|
|
- start|ROUTE_AUTH:
|
|
|
|
- start|ROUTE_AUTH_HELPER:
|
|
|
|
- start|ROUTE_AUTH_HELPER:
|
|
|
|
$x_hdr(From): spce.test
|
|
|
|
$x_hdr(From): invite-tcp-udp-reinvite.scenarios.test
|
|
|
|
$var(realm_user): testuser1002
|
|
|
|
$var(realm_user): [% scenarios.0.username %]
|
|
|
|
$var(realm_domain): spce.test
|
|
|
|
$var(realm_domain): invite-tcp-udp-reinvite.scenarios.test
|
|
|
|
- return|ROUTE_AUTH_HELPER:
|
|
|
|
- return|ROUTE_AUTH_HELPER:
|
|
|
|
$avp(orig_acc_caller_user): ['testuser1002']
|
|
|
|
$avp(orig_acc_caller_user): ['[% scenarios.0.username %]']
|
|
|
|
$avp(orig_acc_caller_domain): ['spce.test']
|
|
|
|
$avp(orig_acc_caller_domain): ['invite-tcp-udp-reinvite.scenarios.test']
|
|
|
|
- start|ROUTE_ADD_CALLINFO_REPLY:
|
|
|
|
- start|ROUTE_ADD_CALLINFO_REPLY:
|
|
|
|
- start|ROUTE_ADD_CALLINFO_CALLER_PRIMARY:
|
|
|
|
- start|ROUTE_ADD_CALLINFO_CALLER_PRIMARY:
|
|
|
|
- return|ROUTE_ADD_CALLINFO_CALLER_PRIMARY:
|
|
|
|
- return|ROUTE_ADD_CALLINFO_CALLER_PRIMARY:
|
|
|
|
@ -65,10 +65,10 @@ flow:
|
|
|
|
- return|ROUTE_SET_CALLEE_DIALOG:
|
|
|
|
- return|ROUTE_SET_CALLEE_DIALOG:
|
|
|
|
$avp(lua_dlg_profile): [
|
|
|
|
$avp(lua_dlg_profile): [
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
"totaluser:[% spce_test.testuser1003.uuid %]",
|
|
|
|
"totaluser:[% invite_tcp_udp_reinvite_scenarios_test.testuser1003.uuid %]",
|
|
|
|
"total",
|
|
|
|
"total",
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
"user:[% spce_test.testuser1003.uuid %]"
|
|
|
|
"user:[% invite_tcp_udp_reinvite_scenarios_test.testuser1003.uuid %]"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
- start|ROUTE_BLOCK_IN:
|
|
|
|
- start|ROUTE_BLOCK_IN:
|
|
|
|
- return|ROUTE_BLOCK_IN:
|
|
|
|
- return|ROUTE_BLOCK_IN:
|
|
|
|
@ -102,29 +102,29 @@ flow:
|
|
|
|
$avp(lua_dlg_profile): [
|
|
|
|
$avp(lua_dlg_profile): [
|
|
|
|
"local",
|
|
|
|
"local",
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
"totaluser:[% spce_test.testuser1003.uuid %]",
|
|
|
|
"totaluser:[% invite_tcp_udp_reinvite_scenarios_test.testuser1003.uuid %]",
|
|
|
|
"total",
|
|
|
|
"total",
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
"user:[% spce_test.testuser1003.uuid %]"
|
|
|
|
"user:[% invite_tcp_udp_reinvite_scenarios_test.testuser1003.uuid %]"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
- start|ROUTE_CNT_DLG_CHECK:
|
|
|
|
- start|ROUTE_CNT_DLG_CHECK:
|
|
|
|
- return|ROUTE_CNT_DLG_CHECK:
|
|
|
|
- return|ROUTE_CNT_DLG_CHECK:
|
|
|
|
- return|ROUTE_SET_CALLER_DIALOG:
|
|
|
|
- return|ROUTE_SET_CALLER_DIALOG:
|
|
|
|
$avp(lua_dlg_profile): [
|
|
|
|
$avp(lua_dlg_profile): [
|
|
|
|
"accountout:[% customer_test.id %]",
|
|
|
|
"accountout:[% customer_test.id %]",
|
|
|
|
"userout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
"userout:[% invite_tcp_udp_reinvite_scenarios_test.testuser1002.uuid %]",
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
"user:[% spce_test.testuser1002.uuid %]",
|
|
|
|
"user:[% invite_tcp_udp_reinvite_scenarios_test.testuser1002.uuid %]",
|
|
|
|
"totalaccountout:[% customer_test.id %]",
|
|
|
|
"totalaccountout:[% customer_test.id %]",
|
|
|
|
"totaluserout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
"totaluserout:[% invite_tcp_udp_reinvite_scenarios_test.testuser1002.uuid %]",
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
"totaluser:[% spce_test.testuser1002.uuid %]",
|
|
|
|
"totaluser:[% invite_tcp_udp_reinvite_scenarios_test.testuser1002.uuid %]",
|
|
|
|
"local",
|
|
|
|
"local",
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
"totaluser:[% spce_test.testuser1003.uuid %]",
|
|
|
|
"totaluser:[% invite_tcp_udp_reinvite_scenarios_test.testuser1003.uuid %]",
|
|
|
|
"total",
|
|
|
|
"total",
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
"user:[% spce_test.testuser1003.uuid %]"
|
|
|
|
"user:[% invite_tcp_udp_reinvite_scenarios_test.testuser1003.uuid %]"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
- start|ROUTE_ACC_CALLER:
|
|
|
|
- start|ROUTE_ACC_CALLER:
|
|
|
|
- start|ROUTE_SET_ACC_CALLER_CALL_COUNTERS:
|
|
|
|
- start|ROUTE_SET_ACC_CALLER_CALL_COUNTERS:
|
|
|
|
@ -193,50 +193,50 @@ flow:
|
|
|
|
$avp(proto): ["tcp"]
|
|
|
|
$avp(proto): ["tcp"]
|
|
|
|
$avp(lua_dlg_profile): [
|
|
|
|
$avp(lua_dlg_profile): [
|
|
|
|
"accountout:[% customer_test.id %]",
|
|
|
|
"accountout:[% customer_test.id %]",
|
|
|
|
"userout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
"userout:[% invite_tcp_udp_reinvite_scenarios_test.testuser1002.uuid %]",
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
"user:[% spce_test.testuser1002.uuid %]",
|
|
|
|
"user:[% invite_tcp_udp_reinvite_scenarios_test.testuser1002.uuid %]",
|
|
|
|
"totalaccountout:[% customer_test.id %]",
|
|
|
|
"totalaccountout:[% customer_test.id %]",
|
|
|
|
"totaluserout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
"totaluserout:[% invite_tcp_udp_reinvite_scenarios_test.testuser1002.uuid %]",
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
"totaluser:[% spce_test.testuser1002.uuid %]",
|
|
|
|
"totaluser:[% invite_tcp_udp_reinvite_scenarios_test.testuser1002.uuid %]",
|
|
|
|
"local",
|
|
|
|
"local",
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
"totaluser:[% spce_test.testuser1003.uuid %]",
|
|
|
|
"totaluser:[% invite_tcp_udp_reinvite_scenarios_test.testuser1003.uuid %]",
|
|
|
|
"total",
|
|
|
|
"total",
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
"user:[% spce_test.testuser1003.uuid %]"
|
|
|
|
"user:[% invite_tcp_udp_reinvite_scenarios_test.testuser1003.uuid %]"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
sip_in:
|
|
|
|
sip_in:
|
|
|
|
- '^INVITE'
|
|
|
|
- '^INVITE'
|
|
|
|
- 'Contact: <sip:testuser1002@'
|
|
|
|
- 'Contact: <sip:[% scenarios.0.username %]@'
|
|
|
|
- 'CSeq: 2 INVITE'
|
|
|
|
- 'CSeq: 2 INVITE'
|
|
|
|
- 'Max-Forwards: 69'
|
|
|
|
- 'Max-Forwards: 69'
|
|
|
|
- 'Content-Type: application/sdp'
|
|
|
|
- 'Content-Type: application/sdp'
|
|
|
|
- 'Proxy-Authorization: Digest username="testuser1002"'
|
|
|
|
- 'Proxy-Authorization: Digest username="[% scenarios.0.username %]"'
|
|
|
|
sip_out:
|
|
|
|
sip_out:
|
|
|
|
- [
|
|
|
|
- [
|
|
|
|
'^SIP/2.0 100 Trying',
|
|
|
|
'^SIP/2.0 100 Trying',
|
|
|
|
'CSeq: 2 INVITE',
|
|
|
|
'CSeq: 2 INVITE',
|
|
|
|
'From: <sip:testuser1002@',
|
|
|
|
'From: <sip:[% scenarios.0.username %]@',
|
|
|
|
'To: <sip:testuser1003@'
|
|
|
|
'To: <sip:[% scenarios.0.responders.0.username %]@'
|
|
|
|
]
|
|
|
|
]
|
|
|
|
- [
|
|
|
|
- [
|
|
|
|
'^SIP/2.0 101 Connecting',
|
|
|
|
'^SIP/2.0 101 Connecting',
|
|
|
|
'CSeq: 2 INVITE',
|
|
|
|
'CSeq: 2 INVITE',
|
|
|
|
'From: <sip:testuser1002@',
|
|
|
|
'From: <sip:[% scenarios.0.username %]@',
|
|
|
|
'To: <sip:testuser1003@'
|
|
|
|
'To: <sip:[% scenarios.0.responders.0.username %]@'
|
|
|
|
]
|
|
|
|
]
|
|
|
|
- [
|
|
|
|
- [
|
|
|
|
'^INVITE sip:testuser1003@',
|
|
|
|
'^INVITE sip:[% scenarios.0.responders.0.username %]@',
|
|
|
|
'CSeq: 2 INVITE',
|
|
|
|
'CSeq: 2 INVITE',
|
|
|
|
'From: <sip:4311002@',
|
|
|
|
'From: <sip:[% invite_tcp_udp_reinvite_scenarios_test.testuser1002.phone_number %]@',
|
|
|
|
'To: <sip:testuser1003@',
|
|
|
|
'To: <sip:[% scenarios.0.responders.0.username %]@',
|
|
|
|
'Content-Type: application/sdp',
|
|
|
|
'Content-Type: application/sdp',
|
|
|
|
'P-Caller-UUID: [% spce_test.testuser1002.uuid %]',
|
|
|
|
'P-Caller-UUID: [% invite_tcp_udp_reinvite_scenarios_test.testuser1002.uuid %]',
|
|
|
|
'P-Callee-UUID: [% spce_test.testuser1003.uuid %]',
|
|
|
|
'P-Callee-UUID: [% invite_tcp_udp_reinvite_scenarios_test.testuser1003.uuid %]',
|
|
|
|
'P-Asserted-Identity: <sip:4311002@',
|
|
|
|
'P-Asserted-Identity: <sip:[% invite_tcp_udp_reinvite_scenarios_test.testuser1002.phone_number %]@',
|
|
|
|
'P-Called-Party-ID: <sip:testuser1003@',
|
|
|
|
'P-Called-Party-ID: <sip:[% scenarios.0.responders.0.username %]@',
|
|
|
|
'P-App-Param: ;calltimer=21600;aleg_sst_enable=no;sst_enable=no',
|
|
|
|
'P-App-Param: ;calltimer=21600;aleg_sst_enable=no;sst_enable=no',
|
|
|
|
'P-App-Name: sbc'
|
|
|
|
'P-App-Name: sbc'
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|