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_add/0028_test.yml.tt2

31 lines
1.2 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:
sip_in:
- 'SIP/2.0 200 OK'
- 'From: <sip:[% invite_locmap_add_scenarios_test.testuser1000.phone_number %]@invite-locmap-add.scenarios.test>;tag=[\w-]+'
- 'To: <sip:[% scenarios.0.responders.1.username %]@invite-locmap-add.scenarios.test>;tag=[\w-]+'
- 'CSeq: \d+ BYE'
- 'Contact: <sip:[% scenarios.0.responders.1.ip %]:[% scenarios.0.responders.1.port %];transport=UDP>'
- 'Content-Length: \s+0'
sip_out:
- [
'SIP/2.0 200 OK',
'From: <sip:[% invite_locmap_add_scenarios_test.testuser1000.phone_number %]@invite-locmap-add.scenarios.test>;tag=[\w-]+',
'To: <sip:[% scenarios.0.responders.1.username %]@invite-locmap-add.scenarios.test>;tag=[\w-]+',
'CSeq: \d+ BYE',
'Contact: <sip:[% scenarios.0.responders.1.ip %]:[% scenarios.0.responders.1.port %];transport=UDP>',
'Content-Length: \s+0',
]