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_manager/0033_test.yml.tt2

61 lines
2.0 KiB

flow:
- start|DEFAULT_ONREPLY:
- start|REPLY_ROUTE_NAT:
- start|ROUTE_ENTRY:
- return|ROUTE_ENTRY:
- start|REPLY_SCA_UPDATE:
- return|REPLY_SCA_UPDATE:
- start|ROUTE_PREPARE_UA:
- return|ROUTE_PREPARE_UA:
- 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:
sip_in:
- 'SIP/2.0 200 OK'
- 'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;did=[^;]+;ice_caller=strip;ice_callee=strip;aset=\d+;rtpprx=yes;vsf=[^;]+>'
- 'From: <sip:[% invite_manager_scenarios_pbx_test.testuser1003.pbx_phone_number %]@invite-manager.scenarios-pbx.test>;tag=[\w-]+'
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-manager.scenarios-pbx.test>;tag=[\w-]+'
- 'CSeq: \d+ INVITE'
- 'Contact: <sip:127.0.0.1:5080;transport=udp>'
- 'Content-Type: application/sdp'
- 'Content-Length:\s+\d+'
- 'v=0'
- 'o=user1 \d+ \d+ IN IP4 [% server_ip %]'
- 's=-'
- 'c=IN IP4 [% server_ip %]'
- 't=0 0'
- 'm=audio \d+ RTP/AVP 8'
- 'a=rtpmap:8 PCMA/8000'
- 'a=sendrecv'
- 'a=rtcp:\d+'
- 'a=rtcp-mux'
- 'a=ptime:50'
sip_out:
- [
'SIP/2.0 200 OK',
'Record-Route: <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;did=[^;]+;ice_caller=strip;ice_callee=strip;aset=\d+;rtpprx=yes;vsf=[^;]+>',
'From: <sip:[% scenarios.1.username %]@invite-manager.scenarios-pbx.test>;tag=[\w-]+',
'To: <sip:[% scenarios.0.responders.0.username %]@invite-manager.scenarios-pbx.test>;tag=[\w-]+',
'CSeq: \d+ INVITE',
'Contact: <sip:127.0.0.1:5080;transport=udp>',
'Content-Type: application/sdp',
'Content-Length:\s+\d+',
'v=0',
'o=user1 \d+ \d+ IN IP4 [% server_ip %]',
's=-',
'c=IN IP4 [% server_ip %]',
't=0 0',
'm=audio \d+ RTP/AVP 8',
'a=rtpmap:8 PCMA/8000',
'a=sendrecv',
'a=rtcp:\d+',
'a=ptime:50',
]