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.
98 lines
3.6 KiB
98 lines
3.6 KiB
flow:
|
|
- start|DEFAULT_ROUTE:
|
|
- start|ROUTE_ENTRY:
|
|
- return|ROUTE_ENTRY:
|
|
- start|ROUTE_NET_INFO:
|
|
- return|ROUTE_NET_INFO:
|
|
- start|ROUTE_CHECK_TEL_URI:
|
|
- return|ROUTE_CHECK_TEL_URI:
|
|
- start|ROUTE_PRX_REQUEST:
|
|
- start|ROUTE_INITVARS:
|
|
- return|ROUTE_INITVARS:
|
|
- start|dialog:end:
|
|
- return|dialog:end:
|
|
- return|dialog:end:
|
|
- start|ROUTE_FIX_PBX_STOP_RECORDS:
|
|
- return|ROUTE_FIX_PBX_STOP_RECORDS:
|
|
- start|ROUTE_STOP_RTPPROXY:
|
|
- start|ROUTE_RESTORE_CLUSTERSET:
|
|
- return|ROUTE_RESTORE_CLUSTERSET:
|
|
- return|ROUTE_STOP_RTPPROXY:
|
|
- start|ROUTE_SCA_UPDATE:
|
|
- return|ROUTE_SCA_UPDATE:
|
|
- start|ROUTE_PREPARE_UA:
|
|
- return|ROUTE_PREPARE_UA:
|
|
- start|ROUTE_OUTBOUND:
|
|
- start|DEFAULT_SEND:
|
|
- exit|DEFAULT_SEND:
|
|
- exit|DEFAULT_SEND:
|
|
- start|ROUTE_EXIT:
|
|
- start|ROUTE_RUNTIME:
|
|
- return|ROUTE_RUNTIME:
|
|
- exit|ROUTE_EXIT:
|
|
sip_in:
|
|
- '^BYE sip:127.0.0.1:5080;prxroute=1 SIP/2.0'
|
|
- 'From: <sip:[% scenarios.2.username %]@incoming-shared-line.scenarios-pbx.test>;tag='
|
|
- 'To: <sip:1002@incoming-shared-line.scenarios-pbx.test>;tag='
|
|
- 'Call-Info: <sip:incoming-shared-line.scenarios-pbx.test>;appearance-index=1'
|
|
- 'CSeq: 3 BYE'
|
|
- 'Contact: sip:[% scenarios.2.username %]@[% scenarios.2.ip %]:[% scenarios.2.port %]'
|
|
- 'Max-Forwards: 69'
|
|
- 'Content-Length: 0'
|
|
- 'P-NGCP-Src-Ip: [% scenarios.2.ip %]'
|
|
- 'P-NGCP-Src-Port: [% scenarios.2.port %]'
|
|
- 'P-NGCP-Src-Proto: udp'
|
|
- 'P-NGCP-Src-Af: 4'
|
|
- 'P-Sock-Info: udp:127.0.0.1:5060'
|
|
sip_out:
|
|
- [
|
|
'^SIP/2.0 100 Trying',
|
|
'From: <sip:[% scenarios.2.username %]@incoming-shared-line.scenarios-pbx.test>;tag=',
|
|
'To: <sip:1002@incoming-shared-line.scenarios-pbx.test>;tag=',
|
|
'CSeq: 3 BYE',
|
|
'P-Out-Socket: udp:127.0.0.1:5060',
|
|
'P-NGCP-Auth-IP: [% scenarios.2.ip %]',
|
|
'P-NGCP-Auth-UA: <null>',
|
|
'Content-Length: 0',
|
|
]
|
|
- [
|
|
'^PUBLISH sip:[% scenarios.2.username %]@incoming-shared-line.scenarios-pbx.test SIP/2.0',
|
|
'From: <sip:[% scenarios.2.username %]@incoming-shared-line.scenarios-pbx.test>',
|
|
'To: <sip:[% scenarios.2.username %]@incoming-shared-line.scenarios-pbx.test>',
|
|
'Event: dialog',
|
|
'Content-Type: application/dialog-info\+xml',
|
|
]
|
|
- [
|
|
'^NOTIFY sip:[% scenarios.0.username %]@',
|
|
'To: <sip:[% scenarios.0.username %]@incoming-shared-line.scenarios-pbx.test>;tag=',
|
|
'From: <sip:[% scenarios.0.username %]@incoming-shared-line.scenarios-pbx.test>;tag=',
|
|
'CSeq: 3 NOTIFY',
|
|
'Max-Forwards: 70',
|
|
'Content-Length: 0',
|
|
'Contact: sip:127.0.0.1:5062',
|
|
'Call-Info: <sip:incoming-shared-line.scenarios-pbx.test>;appearance-index=\*;appearance-state=idle',
|
|
'Event: call-info',
|
|
'Subscription-State: active;expires=\d+',
|
|
]
|
|
- [
|
|
'^NOTIFY sip:[% scenarios.1.username %]@',
|
|
'To: <sip:[% scenarios.0.username %]@incoming-shared-line.scenarios-pbx.test>;tag=',
|
|
'From: <sip:[% scenarios.0.username %]@incoming-shared-line.scenarios-pbx.test>;tag=',
|
|
'CSeq: 3 NOTIFY',
|
|
'Max-Forwards: 70',
|
|
'Content-Length: 0',
|
|
'Contact: sip:127.0.0.1:5062',
|
|
'Call-Info: <sip:incoming-shared-line.scenarios-pbx.test>;appearance-index=\*;appearance-state=idle',
|
|
'Event: call-info',
|
|
'Subscription-State: active;expires=\d+',
|
|
]
|
|
- [
|
|
'^BYE sip:127.0.0.1:5080;prxroute=1 SIP/2.0',
|
|
'From: <sip:[% scenarios.2.username %]@incoming-shared-line.scenarios-pbx.test>;tag=',
|
|
'To: <sip:1002@incoming-shared-line.scenarios-pbx.test>;tag=',
|
|
'CSeq: 3 BYE',
|
|
'Contact: sip:[% scenarios.2.username %]@[% scenarios.2.ip %]:[% scenarios.2.port %]',
|
|
'Max-Forwards: 68',
|
|
'Content-Length: 0',
|
|
]
|