|
|
|
|
@ -17,12 +17,12 @@ flow:
|
|
|
|
|
- start|ROUTE_FIND_CALLER:
|
|
|
|
|
- start|ROUTE_AUTH:
|
|
|
|
|
- start|ROUTE_AUTH_HELPER:
|
|
|
|
|
$x_hdr(From): spce.test
|
|
|
|
|
$var(realm_user): testuser1002
|
|
|
|
|
$var(realm_domain): spce.test
|
|
|
|
|
$x_hdr(From): invite-foreign-dom.scenarios.test
|
|
|
|
|
$var(realm_user): [% scenarios.0.username %]
|
|
|
|
|
$var(realm_domain): invite-foreign-dom.scenarios.test
|
|
|
|
|
- return|ROUTE_AUTH_HELPER:
|
|
|
|
|
$avp(orig_acc_caller_user): ['testuser1002']
|
|
|
|
|
$avp(orig_acc_caller_domain): ['spce.test']
|
|
|
|
|
$avp(orig_acc_caller_user): ['[% scenarios.0.username %]']
|
|
|
|
|
$avp(orig_acc_caller_domain): ['invite-foreign-dom.scenarios.test']
|
|
|
|
|
- start|ROUTE_ADD_CALLINFO_REPLY:
|
|
|
|
|
- start|ROUTE_ADD_CALLINFO_CALLER_PRIMARY:
|
|
|
|
|
- return|ROUTE_ADD_CALLINFO_CALLER_PRIMARY:
|
|
|
|
|
@ -81,13 +81,13 @@ flow:
|
|
|
|
|
- return|ROUTE_SET_CALLER_DIALOG:
|
|
|
|
|
$avp(lua_dlg_profile): [
|
|
|
|
|
"accountout:[% customer_test.id %]",
|
|
|
|
|
"userout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"userout:[% invite_foreign_dom_scenarios_test.testuser1002.uuid %]",
|
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
|
"user:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"user:[% invite_foreign_dom_scenarios_test.testuser1002.uuid %]",
|
|
|
|
|
"totalaccountout:[% customer_test.id %]",
|
|
|
|
|
"totaluserout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"totaluserout:[% invite_foreign_dom_scenarios_test.testuser1002.uuid %]",
|
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
|
"totaluser:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"totaluser:[% invite_foreign_dom_scenarios_test.testuser1002.uuid %]",
|
|
|
|
|
"total",
|
|
|
|
|
"outgoing"
|
|
|
|
|
]
|
|
|
|
|
@ -149,44 +149,44 @@ flow:
|
|
|
|
|
- exit|ROUTE_EXIT:
|
|
|
|
|
$avp(lua_dlg_profile): [
|
|
|
|
|
"accountout:[% customer_test.id %]",
|
|
|
|
|
"userout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"userout:[% invite_foreign_dom_scenarios_test.testuser1002.uuid %]",
|
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
|
"user:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"user:[% invite_foreign_dom_scenarios_test.testuser1002.uuid %]",
|
|
|
|
|
"totalaccountout:[% customer_test.id %]",
|
|
|
|
|
"totaluserout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"totaluserout:[% invite_foreign_dom_scenarios_test.testuser1002.uuid %]",
|
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
|
"totaluser:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"totaluser:[% invite_foreign_dom_scenarios_test.testuser1002.uuid %]",
|
|
|
|
|
"total",
|
|
|
|
|
"outgoing"
|
|
|
|
|
]
|
|
|
|
|
sip_in:
|
|
|
|
|
- '^INVITE sip:004321001@'
|
|
|
|
|
- 'Contact: sip:testuser1002@'
|
|
|
|
|
- '^INVITE sip:[% scenarios.0.responders.0.username %]@'
|
|
|
|
|
- 'Contact: sip:[% scenarios.0.username %]@'
|
|
|
|
|
- 'CSeq: 2 INVITE'
|
|
|
|
|
- 'Max-Forwards: 69'
|
|
|
|
|
- 'Content-Type: application/sdp'
|
|
|
|
|
- 'Proxy-Authorization: Digest username="testuser1002"'
|
|
|
|
|
- 'Proxy-Authorization: Digest username="[% scenarios.0.username %]"'
|
|
|
|
|
sip_out:
|
|
|
|
|
- [
|
|
|
|
|
'^SIP/2.0 100 Trying',
|
|
|
|
|
'CSeq: 2 INVITE',
|
|
|
|
|
'From: <sip:testuser1002@',
|
|
|
|
|
'To: <sip:004321001@'
|
|
|
|
|
'From: <sip:[% scenarios.0.username %]@',
|
|
|
|
|
'To: <sip:[% scenarios.0.responders.0.username %]@'
|
|
|
|
|
]
|
|
|
|
|
- [
|
|
|
|
|
'^SIP/2.0 101 Connecting',
|
|
|
|
|
'CSeq: 2 INVITE',
|
|
|
|
|
'From: <sip:testuser1002@',
|
|
|
|
|
'To: <sip:004321001@'
|
|
|
|
|
'From: <sip:[% scenarios.0.username %]@',
|
|
|
|
|
'To: <sip:[% scenarios.0.responders.0.username %]@'
|
|
|
|
|
]
|
|
|
|
|
- [
|
|
|
|
|
'^INVITE sip:004321001@',
|
|
|
|
|
'^INVITE sip:[% scenarios.0.responders.0.username %]@',
|
|
|
|
|
'CSeq: 2 INVITE',
|
|
|
|
|
'From: <sip:4311002@',
|
|
|
|
|
'To: <sip:004321001@',
|
|
|
|
|
'From: <sip:[% invite_foreign_dom_scenarios_test.testuser1002.phone_number %]@',
|
|
|
|
|
'To: <sip:[% scenarios.0.responders.0.username %]@',
|
|
|
|
|
'Content-Type: application/sdp',
|
|
|
|
|
'P-Caller-UUID: [% spce_test.testuser1002.uuid %]',
|
|
|
|
|
'P-Caller-UUID: [% invite_foreign_dom_scenarios_test.testuser1002.uuid %]',
|
|
|
|
|
'P-Callee-UUID: 0',
|
|
|
|
|
'P-Called-Party-ID: <sip:004321001@',
|
|
|
|
|
'P-Called-Party-ID: <sip:[% scenarios.0.responders.0.username %]@',
|
|
|
|
|
'P-App-Name: sbc'
|
|
|
|
|
]
|
|
|
|
|
|