|
|
|
|
@ -59,7 +59,7 @@ flow:
|
|
|
|
|
- return|ROUTE_CLEAR_CALLEE_PREF:
|
|
|
|
|
$xavp(callee_real_prefs[0]=>lnp_for_local_sub): None
|
|
|
|
|
- start|ROUTE_LNP:
|
|
|
|
|
$avp(callee_cli): ['004321001']
|
|
|
|
|
$avp(callee_cli): ['[% scenarios.0.responders.0.username %]']
|
|
|
|
|
$xavp(caller_real_prefs[0]=>lnp_to_rn): None
|
|
|
|
|
- start|ROUTE_APPLY_CALLEE_LNP_RWR:
|
|
|
|
|
- start|ROUTE_APPLY_REWRITE_RULE:
|
|
|
|
|
@ -104,8 +104,8 @@ flow:
|
|
|
|
|
- start|ROUTE_OUTBOUND:
|
|
|
|
|
$avp(lua_dlg_profile): [
|
|
|
|
|
"relay",
|
|
|
|
|
"peerout:[% peer_00_host0.id %]",
|
|
|
|
|
"peer:[% peer_00_host0.id %]",
|
|
|
|
|
"peerout:[% peer_invite_peerout_host0.id %]",
|
|
|
|
|
"peer:[% peer_invite_peerout_host0.id %]",
|
|
|
|
|
"outgoing"
|
|
|
|
|
]
|
|
|
|
|
- start|ROUTE_SET_CALLER_DIALOG:
|
|
|
|
|
@ -114,17 +114,17 @@ flow:
|
|
|
|
|
- return|ROUTE_SET_CALLER_DIALOG:
|
|
|
|
|
$avp(lua_dlg_profile): [
|
|
|
|
|
"accountout:[% customer_test.id %]",
|
|
|
|
|
"userout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"userout:[% invite_peerout_scenarios_lnp_test.testuser1002.uuid %]",
|
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
|
"user:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"user:[% invite_peerout_scenarios_lnp_test.testuser1002.uuid %]",
|
|
|
|
|
"totalaccountout:[% customer_test.id %]",
|
|
|
|
|
"totaluserout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"totaluserout:[% invite_peerout_scenarios_lnp_test.testuser1002.uuid %]",
|
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
|
"totaluser:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"totaluser:[% invite_peerout_scenarios_lnp_test.testuser1002.uuid %]",
|
|
|
|
|
"total",
|
|
|
|
|
"relay",
|
|
|
|
|
"peerout:[% peer_00_host0.id %]",
|
|
|
|
|
"peer:[% peer_00_host0.id %]",
|
|
|
|
|
"peerout:[% peer_invite_peerout_host0.id %]",
|
|
|
|
|
"peer:[% peer_invite_peerout_host0.id %]",
|
|
|
|
|
"outgoing"
|
|
|
|
|
]
|
|
|
|
|
- start|ROUTE_ACC_CALLER:
|
|
|
|
|
@ -202,48 +202,48 @@ flow:
|
|
|
|
|
- exit|ROUTE_EXIT:
|
|
|
|
|
$avp(lua_dlg_profile): [
|
|
|
|
|
"accountout:[% customer_test.id %]",
|
|
|
|
|
"userout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"userout:[% invite_peerout_scenarios_lnp_test.testuser1002.uuid %]",
|
|
|
|
|
"account:[% customer_test.id %]",
|
|
|
|
|
"user:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"user:[% invite_peerout_scenarios_lnp_test.testuser1002.uuid %]",
|
|
|
|
|
"totalaccountout:[% customer_test.id %]",
|
|
|
|
|
"totaluserout:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"totaluserout:[% invite_peerout_scenarios_lnp_test.testuser1002.uuid %]",
|
|
|
|
|
"totalaccount:[% customer_test.id %]",
|
|
|
|
|
"totaluser:[% spce_test.testuser1002.uuid %]",
|
|
|
|
|
"totaluser:[% invite_peerout_scenarios_lnp_test.testuser1002.uuid %]",
|
|
|
|
|
"total",
|
|
|
|
|
"relay",
|
|
|
|
|
"peerout:[% peer_00_host0.id %]",
|
|
|
|
|
"peer:[% peer_00_host0.id %]",
|
|
|
|
|
"peerout:[% peer_invite_peerout_host0.id %]",
|
|
|
|
|
"peer:[% peer_invite_peerout_host0.id %]",
|
|
|
|
|
"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:0043test28881001;npdi@',
|
|
|
|
|
'CSeq: 2 INVITE',
|
|
|
|
|
'From: <sip:4311002@',
|
|
|
|
|
'To: <sip:004321001@',
|
|
|
|
|
'From: <sip:[% invite_peerout_scenarios_lnp_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_peerout_scenarios_lnp_test.testuser1002.uuid %]',
|
|
|
|
|
'P-Callee-UUID: 0',
|
|
|
|
|
'P-Asserted-Identity: <sip:4311002@',
|
|
|
|
|
'P-Asserted-Identity: <sip:[% invite_peerout_scenarios_lnp_test.testuser1002.phone_number %]@',
|
|
|
|
|
'P-Called-Party-ID: <sip:0043test28881001;npdi@',
|
|
|
|
|
'P-App-Param: ;calltimer=21600;aleg_sst_enable=no;sst_enable=no',
|
|
|
|
|
'P-App-Name: sbc'
|
|
|
|
|
|