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.
58 lines
2.5 KiB
58 lines
2.5 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_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:
|
|
- return|dialog:start:
|
|
sip_in:
|
|
- '^SIP/2.0 200 OK'
|
|
- 'From: <sip:[% incoming_shared_line_scenarios_pbx_test.testuser1003.pbx_phone_number %]@incoming-shared-line.scenarios-pbx.test>;tag='
|
|
- 'To: <sip:1002@incoming-shared-line.scenarios-pbx.test>;tag='
|
|
- 'CSeq: \d+ INVITE'
|
|
- 'Allow: INVITE, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE'
|
|
- 'Call-Info: <sip:incoming-shared-line.scenarios-pbx.test>;appearance-index=1'
|
|
- 'Contact: <sip:127.0.0.1:5080;transport=udp>'
|
|
- 'Content-Type: application/sdp'
|
|
- 'Content-Length: \d+'
|
|
sip_out:
|
|
- [
|
|
'^PUBLISH sip:[% scenarios.0.username %]@incoming-shared-line.scenarios-pbx.test SIP/2.0',
|
|
'From: <sip:[% scenarios.0.username %]@incoming-shared-line.scenarios-pbx.test>',
|
|
'To: <sip:[% scenarios.0.username %]@incoming-shared-line.scenarios-pbx.test>',
|
|
'Event: dialog',
|
|
'Content-Type: application/dialog-info\+xml',
|
|
]
|
|
- [
|
|
'^SIP/2.0 200 OK',
|
|
'From: <sip:[% scenarios.2.username %]@incoming-shared-line.scenarios-pbx.test>;tag=',
|
|
'To: <sip:1002@incoming-shared-line.scenarios-pbx.test>;tag=',
|
|
'CSeq: \d+ INVITE',
|
|
'Allow: INVITE, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE',
|
|
'Call-Info: <sip:incoming-shared-line.scenarios-pbx.test>;appearance-index=1',
|
|
'Contact: <sip:127.0.0.1:5080;transport=udp>',
|
|
'Content-Type: application/sdp',
|
|
'Content-Length: \d+',
|
|
]
|
|
- [
|
|
'^CANCEL sip:[% scenarios.0.username %]@[% scenarios.2.responders.0.ip %]:[% scenarios.2.responders.0.port %] SIP/2.0',
|
|
'From: <sip:[% incoming_shared_line_scenarios_pbx_test.testuser1003.pbx_phone_number %]@incoming-shared-line.scenarios-pbx.test>;tag=',
|
|
'To: <sip:1002@incoming-shared-line.scenarios-pbx.test>',
|
|
'CSeq: \d+ CANCEL',
|
|
'Route: <sip:lb@127.0.0.1;lr;socket=sip:127.0.0.1:5060>',
|
|
'Max-Forwards: 69',
|
|
'Content-Length: 0',
|
|
'Reason: SIP;cause=200;text=\"Call completed elsewhere\"',
|
|
]
|