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_pbx/invite/0011_test.yml.tt2

40 lines
1.4 KiB

flow:
- start|DEFAULT_ONREPLY:
- start|REPLY_ROUTE_LEG_B:
- start|ROUTE_ENTRY:
- return|ROUTE_ENTRY:
- start|REPLY_ROUTE_RTPENGINE:
- return|REPLY_ROUTE_RTPENGINE:
- start|ROUTE_EXIT:
- start|ROUTE_RUNTIME:
- return|ROUTE_RUNTIME:
- start|dialog:start:
- return|dialog:start:
sip_in:
- 'SIP/2.0 200 OK'
- 'From: <sip:[% invite_scenarios_pbx_test.testuser1002.phone_number %]@invite.scenarios-pbx.test>;tag=[\w-]+'
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite.scenarios-pbx.test>;tag=[\w-]+'
- 'CSeq: \d+ INVITE'
- 'Content-Type: application/sdp'
- 'Content-Length:\s+\d+'
sip_out:
- [
'PUBLISH sip:[% scenarios.0.responders.0.username %]@invite.scenarios-pbx.test SIP/2.0',
'To: <sip:[% scenarios.0.responders.0.username %]@invite.scenarios-pbx.test>',
'From: <sip:[% scenarios.0.responders.0.username %]@invite.scenarios-pbx.test>;tag=[\w-]+',
'CSeq: \d+ PUBLISH',
'Content-Length:\s+\d+',
'User-Agent: Sipwise NGCP Proxy',
'Event: dialog',
'SIP-If-Match: .+',
'Content-Type: application/dialog\-info\+xml',
]
- [
'SIP/2.0 200 OK',
'From: <sip:[% invite_scenarios_pbx_test.testuser1002.phone_number %]@invite.scenarios-pbx.test>;tag=[\w-]+',
'To: <sip:[% scenarios.0.responders.0.username %]@invite.scenarios-pbx.test>;tag=[\w-]+',
'CSeq: \d+ INVITE',
'Content-Type: application/sdp',
'Content-Length:\s+\d+',
]