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/0005_test.yml

87 lines
2.3 KiB

# INVITE_OFFLINE scenario
flow:
- start|MAIN:
- start|ROUTE_NET_INFO:
- end|ROUTE_NET_INFO:
- start|ROUTE_PRX_REQUEST:
- start|ROUTE_INVITE:
- start|ROUTE_LOAD_CALLEE_DOMAIN_PREF:
- end|ROUTE_LOAD_CALLEE_DOMAIN_PREF:
- start|ROUTE_FIND_CALLER:
- start|ROUTE_AUTH:
- start|ROUTE_ADD_CALLINFO_REPLY:
- end|ROUTE_ADD_CALLINFO_REPLY:
- end|ROUTE_AUTH:
- end|ROUTE_FIND_CALLER:
- start|ROUTE_LOAD_CALLER_PREF:
- start|ROUTE_CLEAR_CALLER_PREF:
- end|ROUTE_CLEAR_CALLER_PREF:
- end|ROUTE_LOAD_CALLER_PREF:
- start|ROUTE_GET_CALLER_CLI:
- end|ROUTE_GET_CALLER_CLI:
- start|ROUTE_GET_FORWARDER_CLI:
- return|ROUTE_GET_FORWARDER_CLI:
- start|ROUTE_CHECK_USERPROV_CLI:
- start|ROUTE_CHECK_CLI_ALLOWED:
- end|ROUTE_CHECK_CLI_ALLOWED:
- end|ROUTE_CHECK_USERPROV_CLI:
- start|ROUTE_CLIR:
- end|ROUTE_CLIR:
- start|ROUTE_FIND_CALLEE:
- start|ROUTE_CLEAR_CALLEE_PREF:
- end|ROUTE_CLEAR_CALLEE_PREF:
- start|ROUTE_NCOS:
- end|ROUTE_NCOS:
- start|ROUTE_NCOS:
- end|ROUTE_NCOS:
- start|ROUTE_BLOCK_OUT:
- end|ROUTE_BLOCK_OUT:
- start|ROUTE_LOAD_CALLEE_PREF:
- start|ROUTE_BLOCK_IN:
- end|ROUTE_BLOCK_IN:
- end|ROUTE_LOAD_CALLEE_PREF:
- start|ROUTE_INVITE_TO_INT:
- start|ROUTE_ACC_FAILURE:
- start|ROUTE_ACC_CALLER:
- end|ROUTE_ACC_CALLER:
- start|ROUTE_ACC_CALLEE:
- end|ROUTE_ACC_CALLEE:
- end|ROUTE_ACC_FAILURE:
- start|ROUTE_EARLY_REJECT:
- start|ROUTE_ADD_CALLINFO_REPLY:
- end|ROUTE_ADD_CALLINFO_REPLY:
- exit|ROUTE_EARLY_REJECT:
sip_in:
- '^INVITE'
- 'Contact: sip:testuser1002@'
- 'CSeq: 2 INVITE'
- 'Max-Forwards: 16'
- 'Content-Type: application/sdp'
- 'Proxy-Authorization: Digest username="testuser1002"'
sip_out:
- [
'^SIP/2.0 100 Trying',
'CSeq: 2 INVITE',
'From: <sip:testuser1002@',
'To: <sip:testuser1003@'
]
- [
'^SIP/2.0 101 Connecting',
'CSeq: 2 INVITE',
'From: <sip:testuser1002@',
'To: <sip:testuser1003@'
]
- [
'^INVITE sip:testuser1003@',
'CSeq: 2 INVITE',
'From: <sip:4311002@',
'To: <sip:testuser1003@',
'Content-Type: application/sdp',
'P-Caller-UUID: \w+',
'P-Callee-UUID: \w+',
'P-Asserted-Identity: <sip:4311002@',
'P-Called-Party-ID: <sip:testuser1003@',
'P-App-Param: ;aleg_sst_enable=no;sst_enable=no',
'P-App-Name: sbc'
]