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_locmap_forward/0021_test.yml.tt2

50 lines
1.7 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|ROUTE_CHECK_TIMER_SUPP_REQ:
- return|ROUTE_CHECK_TIMER_SUPP_REQ:
- start|ROUTE_REMOVE_TIMER_SUPP_REQ:
- return|ROUTE_REMOVE_TIMER_SUPP_REQ:
- start|REPLY_ROUTE_RTPENGINE:
- return|REPLY_ROUTE_RTPENGINE:
- start|REPLY_ROUTE_NAT_CONTINUE:
- start|ROUTE_EXIT:
- start|ROUTE_RUNTIME:
- return|ROUTE_RUNTIME:
- start|dialog:start:
- return|dialog:start:
- return|dialog:start:
sip_in:
- 'SIP/2.0 200 OK'
- 'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
- 'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+'
- 'CSeq: \d+ INVITE'
- 'Contact: <sip:127.0.0.1:508[08];transport=udp>'
- 'Content-Type: application/sdp'
- 'Content-Length:\s+\d+'
sip_out:
- [
'SIP/2.0 200 OK',
'From: <sip:testuser1000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
'CSeq: \d+ INVITE',
'Contact: <sip:127.0.0.1:508[08];transport=udp>',
'Content-Type: application/sdp',
'Content-Length:\s+\d+',
'P-Out-Socket: udp:[% server_ip %]:5060',
]
- [
'CANCEL sip:testuser1001@10.20.29.2:51603 SIP/2.0',
'From: <sip:4311000@invite-locmap-forward.scenarios.test>;tag=[\w-]+',
'To: <sip:testuser1001@invite-locmap-forward.scenarios.test>',
'CSeq: \d+ CANCEL',
'Content-Length: 0',
'Reason: SIP;cause=200;text="Call completed elsewhere"',
]