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.
71 lines
3.1 KiB
71 lines
3.1 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_manager_scenarios_pbx_test.secretary.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'
|
|
- 'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>, <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>, <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;leg_b=1;did=[^;]+;ice_caller=strip;ice_callee=strip;aset=\d+;rtpprx=yes>'
|
|
- 'Contact: <sip:[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];transport=UDP>'
|
|
- 'Content-Type: application/sdp'
|
|
- 'Content-Length:\s+\d+'
|
|
- 'P-NGCP-Src-Ip: [% scenarios.0.ip %]'
|
|
- 'P-NGCP-Src-Port: [% scenarios.0.responders.0.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.0.responders.0.mport %] RTP/AVP 8'
|
|
- 'a=rtpmap:8 PCMA/8000'
|
|
- 'a=ptime:50'
|
|
sip_out:
|
|
- [
|
|
'PUBLISH sip:[% scenarios.0.responders.0.username %]@invite-manager.scenarios-pbx.test SIP/2.0',
|
|
'To: <sip:[% scenarios.0.responders.0.username %]@invite-manager.scenarios-pbx.test>',
|
|
'From: <sip:[% scenarios.0.responders.0.username %]@invite-manager.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_manager_scenarios_pbx_test.secretary.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',
|
|
'Record-Route: <sip:[% server_ip %];r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>, <sip:127.0.0.1;r2=on;lr=on;ftag=[^;]+;ngcplb=yes;socket=sip:[% server_ip %]:5060>, <sip:127.0.0.1:5062;lr=on;ftag=[^;]+;leg_b=1;did=[^;]+;ice_caller=strip;ice_callee=strip;aset=\d+;rtpprx=yes>',
|
|
'Contact: <sip:[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];transport=UDP>',
|
|
'Content-Type: application/sdp',
|
|
'Content-Length:\s+\d+',
|
|
'P-NGCP-Src-Ip: [% scenarios.0.ip %]',
|
|
'P-NGCP-Src-Port: [% scenarios.0.responders.0.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',
|
|
]
|