|
|
|
@ -91,8 +91,8 @@ flow:
|
|
|
|
- start|ROUTE_OUTBOUND:
|
|
|
|
- start|ROUTE_OUTBOUND:
|
|
|
|
$avp(lua_dlg_profile): [
|
|
|
|
$avp(lua_dlg_profile): [
|
|
|
|
"relay",
|
|
|
|
"relay",
|
|
|
|
"peerout:[% peer_00_host0.id %]",
|
|
|
|
"peerout:[% peer_invite_peerout_rewrite_host0.id %]",
|
|
|
|
"peer:[% peer_00_host0.id %]",
|
|
|
|
"peer:[% peer_invite_peerout_rewrite_host0.id %]",
|
|
|
|
"outgoing"
|
|
|
|
"outgoing"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
- start|ROUTE_SET_CALLER_DIALOG:
|
|
|
|
- start|ROUTE_SET_CALLER_DIALOG:
|
|
|
|
@ -101,17 +101,17 @@ flow:
|
|
|
|
- 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_peerout_rewrite_scenarios_test.testuser1002.uuid %]",
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
"user:[% spce_test.testuser1002.uuid %]",
|
|
|
|
"user:[% invite_peerout_rewrite_scenarios_test.testuser1002.uuid %]",
|
|
|
|
"totalaccountout:[% customer_test.id %]",
|
|
|
|
"totalaccountout:[% customer_test.id %]",
|
|
|
|
"totaluserout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
"totaluserout:[% invite_peerout_rewrite_scenarios_test.testuser1002.uuid %]",
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
"totaluser:[% spce_test.testuser1002.uuid %]",
|
|
|
|
"totaluser:[% invite_peerout_rewrite_scenarios_test.testuser1002.uuid %]",
|
|
|
|
"total",
|
|
|
|
"total",
|
|
|
|
"relay",
|
|
|
|
"relay",
|
|
|
|
"peerout:[% peer_00_host0.id %]",
|
|
|
|
"peerout:[% peer_invite_peerout_rewrite_host0.id %]",
|
|
|
|
"peer:[% peer_00_host0.id %]",
|
|
|
|
"peer:[% peer_invite_peerout_rewrite_host0.id %]",
|
|
|
|
"outgoing"
|
|
|
|
"outgoing"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
- start|ROUTE_ACC_CALLER:
|
|
|
|
- start|ROUTE_ACC_CALLER:
|
|
|
|
@ -186,48 +186,48 @@ flow:
|
|
|
|
- exit|ROUTE_EXIT:
|
|
|
|
- exit|ROUTE_EXIT:
|
|
|
|
$avp(lua_dlg_profile): [
|
|
|
|
$avp(lua_dlg_profile): [
|
|
|
|
"accountout:[% customer_test.id %]",
|
|
|
|
"accountout:[% customer_test.id %]",
|
|
|
|
"userout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
"userout:[% invite_peerout_rewrite_scenarios_test.testuser1002.uuid %]",
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
"user:[% spce_test.testuser1002.uuid %]",
|
|
|
|
"user:[% invite_peerout_rewrite_scenarios_test.testuser1002.uuid %]",
|
|
|
|
"totalaccountout:[% customer_test.id %]",
|
|
|
|
"totalaccountout:[% customer_test.id %]",
|
|
|
|
"totaluserout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
"totaluserout:[% invite_peerout_rewrite_scenarios_test.testuser1002.uuid %]",
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
"totaluser:[% spce_test.testuser1002.uuid %]",
|
|
|
|
"totaluser:[% invite_peerout_rewrite_scenarios_test.testuser1002.uuid %]",
|
|
|
|
"total",
|
|
|
|
"total",
|
|
|
|
"relay",
|
|
|
|
"relay",
|
|
|
|
"peerout:[% peer_00_host0.id %]",
|
|
|
|
"peerout:[% peer_invite_peerout_rewrite_host0.id %]",
|
|
|
|
"peer:[% peer_00_host0.id %]",
|
|
|
|
"peer:[% peer_invite_peerout_rewrite_host0.id %]",
|
|
|
|
"outgoing"
|
|
|
|
"outgoing"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
sip_in:
|
|
|
|
sip_in:
|
|
|
|
- '^INVITE sip:004321001@'
|
|
|
|
- '^INVITE sip:[% scenarios.0.responders.0.username %]@'
|
|
|
|
- '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:004321001@'
|
|
|
|
'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:004321001@'
|
|
|
|
'To: <sip:[% scenarios.0.responders.0.username %]@'
|
|
|
|
]
|
|
|
|
]
|
|
|
|
- [
|
|
|
|
- [
|
|
|
|
'^INVITE sip:4321001@',
|
|
|
|
'^INVITE sip:4321001@',
|
|
|
|
'CSeq: 2 INVITE',
|
|
|
|
'CSeq: 2 INVITE',
|
|
|
|
'From: <sip:4311002@',
|
|
|
|
'From: <sip:[% invite_peerout_rewrite_scenarios_test.testuser1002.phone_number %]@',
|
|
|
|
'To: <sip:004321001@',
|
|
|
|
'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_peerout_rewrite_scenarios_test.testuser1002.uuid %]',
|
|
|
|
'P-Callee-UUID: 0',
|
|
|
|
'P-Callee-UUID: 0',
|
|
|
|
'P-Asserted-Identity: <sip:4311002@',
|
|
|
|
'P-Asserted-Identity: <sip:[% invite_peerout_rewrite_scenarios_test.testuser1002.phone_number %]@',
|
|
|
|
'P-Called-Party-ID: <sip:4321001@',
|
|
|
|
'P-Called-Party-ID: <sip:4321001@',
|
|
|
|
'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'
|
|
|
|
|