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.
42 lines
1.9 KiB
42 lines
1.9 KiB
flow:
|
|
- start|DEFAULT_ONREPLY:
|
|
- start|REPLY_ROUTE_LEG_B:
|
|
- start|ROUTE_ENTRY:
|
|
- return|ROUTE_ENTRY:
|
|
- start|ROUTE_EXIT:
|
|
- start|ROUTE_RUNTIME:
|
|
- return|ROUTE_RUNTIME:
|
|
- exit|ROUTE_EXIT:
|
|
sip_in:
|
|
- 'SIP/2.0 180 Ringing'
|
|
- 'From: <sip:[% incoming_shared_line_scenarios_pbx_test.testuser1003.pbx_phone_number %]@incoming-shared-line.scenarios-pbx.test>;tag=[\w-]+'
|
|
- 'To: <sip:[% scenarios.2.responders.0.username %]@incoming-shared-line.scenarios-pbx.test>;tag=[\w-]+'
|
|
- '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'
|
|
- 'Allow-Events: talk,hold,conference,refer,check-sync'
|
|
- 'Content-Length: 0'
|
|
- 'P-NGCP-Src-Af: 4'
|
|
sip_out:
|
|
- [
|
|
'PUBLISH sip:[% scenarios.2.responders.0.username %]@incoming-shared-line.scenarios-pbx.test SIP/2.0',
|
|
'To: <sip:[% scenarios.2.responders.0.username %]@incoming-shared-line.scenarios-pbx.test>',
|
|
'From: <sip:[% scenarios.2.responders.0.username %]@incoming-shared-line.scenarios-pbx.test>;tag=[\w-]+',
|
|
'CSeq: \d+ PUBLISH',
|
|
'Content-Length:\s+\d+',
|
|
'User-Agent: Sipwise NGCP Proxy',
|
|
'Event: dialog',
|
|
'Content-Type: application/dialog\-info\+xml',
|
|
]
|
|
- [
|
|
'SIP/2.0 180 Ringing',
|
|
'From: <sip:[% incoming_shared_line_scenarios_pbx_test.testuser1003.pbx_phone_number %]@incoming-shared-line.scenarios-pbx.test>;tag=[\w-]+',
|
|
'To: <sip:[% scenarios.2.responders.0.username %]@incoming-shared-line.scenarios-pbx.test>;tag=[\w-]+',
|
|
'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',
|
|
'Allow-Events: talk,hold,conference,refer,check-sync',
|
|
'Content-Length: 0',
|
|
'P-NGCP-Src-Af: 4',
|
|
]
|