You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kamailio-config-tests/scenarios/invite_allowip_soundset/0005_test.yml.tt2

48 lines
1.4 KiB

flow:
- start|DEFAULT_ONREPLY:
- start|REPLY_ROUTE_NAT:
- start|ROUTE_ENTRY:
- return|ROUTE_ENTRY:
- start|ROUTE_APPLY_HEADER_RULES:
- return|ROUTE_APPLY_HEADER_RULES:
- start|ROUTE_PREPARE_UA:
- return|ROUTE_PREPARE_UA:
- start|REPLY_ROUTE_NAT_CONTINUE:
- start|ROUTE_EXIT:
- start|ROUTE_RUNTIME:
- return|ROUTE_RUNTIME:
- exit|ROUTE_EXIT:
- start|FAILURE_ROUTE_EARLY_REJECT:
- start|ROUTE_STOP_RTPPROXY_BRANCH:
- start|ROUTE_RESTORE_CLUSTERSET:
- return|ROUTE_RESTORE_CLUSTERSET:
- return|ROUTE_STOP_RTPPROXY_BRANCH:
- start|FAILURE_ROUTE_EARLY_REJECT:
- start|ROUTE_RUNTIME:
- return|ROUTE_RUNTIME:
- exit|ROUTE_EXIT:
- start|dialog:failed:
- return|dialog:failed:
$avp(lua_dlg_profile): None
sip_in:
- '^SIP/2.0 403 Unauthorized IP detected'
- 'From: <sip:testuser1002@invite-allowip-soundset.scenarios.test>;tag='
- 'To: <sip:testuser1003@invite-allowip-soundset.scenarios.test>;tag='
- 'CSeq: 2 INVITE'
- 'Content-Length: 0'
sip_out:
- [
'^ACK sip:earlyannounce@app.local SIP/2.0',
'From: <sip:testuser1002@invite-allowip-soundset.scenarios.test>;tag=',
'To: <sip:testuser1003@invite-allowip-soundset.scenarios.test>;tag=',
'CSeq: 2 ACK',
'Max-Forwards: 68',
'Content-Length: 0'
]
- [
'^SIP/2.0 403 Unauthorized IP detected',
'CSeq: 2 INVITE',
'Content-Length: 0',
'P-Out-Socket: udp:[% server_ip %]:5060'
]