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: ;tag=[\w-]+' - 'To: ;tag=[\w-]+' - 'CSeq: \d+ INVITE' - 'Record-Route: , , ' - 'Contact: ' - 'Content-Type: application/sdp' - 'Content-Length:\s+\d+' - 'P-NGCP-Src-Ip: [% scenarios.0.ip %]' - 'P-NGCP-Src-Port: [% scenarios.1.responders.1.port %]' - 'P-NGCP-Src-Proto: udp' - 'P-NGCP-Src-Af: 4' - 'v=0' - 'o=user1 \d+ \d+ IN IP4 [% scenarios.0.ip %]' - 's=-' - 'c=IN IP4 [% scenarios.0.ip %]' - 't=0 0' - 'm=audio [% scenarios.1.responders.1.mport %] RTP/AVP 8' - 'a=rtpmap:8 PCMA/8000' - 'a=ptime:50' sip_out: - [ 'PUBLISH sip:[% scenarios.0.username %]@invite-manager.scenarios-pbx.test SIP/2.0', 'To: ', 'From: ;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: ;tag=[\w-]+', 'To: ;tag=[\w-]+', 'CSeq: \d+ INVITE', 'Record-Route: , , ', 'Contact: ', 'Content-Type: application/sdp', 'Content-Length:\s+\d+', 'P-NGCP-Src-Ip: [% scenarios.0.ip %]', 'P-NGCP-Src-Port: [% scenarios.1.responders.1.port %]', 'P-NGCP-Src-Proto: udp', 'P-NGCP-Src-Af: 4', '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', ]