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.
53 lines
1.9 KiB
53 lines
1.9 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_REG_REQUEST:
|
|
- start|ROUTE_REG_HANDLE:
|
|
- start|ROUTE_AUTH:
|
|
- start|ROUTE_EXIT:
|
|
- start|ROUTE_RUNTIME:
|
|
- return|ROUTE_RUNTIME:
|
|
- exit|ROUTE_EXIT:
|
|
sip_in:
|
|
- '^REGISTER sip:[% scenarios.0.username %]@incoming-shared-line.scenarios-pbx.test SIP/2.0'
|
|
- 'From: <sip:[% scenarios.0.username %]@incoming-shared-line.scenarios-pbx.test>;tag='
|
|
- 'To: <sip:[% scenarios.0.username %]@incoming-shared-line.scenarios-pbx.test>'
|
|
- 'CSeq: 1 REGISTER'
|
|
- 'Contact: sip:[% scenarios.0.username %]@[% scenarios.2.responders.1.ip %]:[% scenarios.2.responders.1.port %];transport=UDP'
|
|
- 'Expires: 600'
|
|
- 'Max-Forwards: 69'
|
|
- 'Content-Length: 0'
|
|
- 'P-NGCP-Src-Ip: [% scenarios.2.responders.1.ip %]'
|
|
- 'P-NGCP-Src-Port: [% scenarios.2.responders.1.port %]'
|
|
- 'P-NGCP-Src-Proto: udp'
|
|
- 'P-NGCP-Src-Af: 4'
|
|
- 'P-Sock-Info: udp:127.0.0.1:5060'
|
|
- 'Path: <sip:lb@127.0.0.1;lr;socket=sip:127.0.0.1:5060>'
|
|
sip_out:
|
|
- [
|
|
'^SIP/2.0 100 Trying',
|
|
'From: <sip:[% scenarios.0.username %]@incoming-shared-line.scenarios-pbx.test>;tag=',
|
|
'To: <sip:[% scenarios.0.username %]@incoming-shared-line.scenarios-pbx.test>',
|
|
'CSeq: 1 REGISTER',
|
|
'P-Out-Socket: udp:127.0.0.1:5060',
|
|
'P-NGCP-Auth-IP: [% scenarios.2.responders.1.ip %]',
|
|
'P-NGCP-Auth-UA: <null>',
|
|
'Content-Length: 0',
|
|
]
|
|
- [
|
|
'^SIP/2.0 401 Unauthorized',
|
|
'From: <sip:[% scenarios.0.username %]@incoming-shared-line.scenarios-pbx.test>;tag=',
|
|
'To: <sip:[% scenarios.0.username %]@incoming-shared-line.scenarios-pbx.test>;tag=',
|
|
'CSeq: 1 REGISTER',
|
|
'P-Out-Socket: udp:127.0.0.1:5060',
|
|
'P-NGCP-Auth-IP: [% scenarios.2.responders.1.ip %]',
|
|
'P-NGCP-Auth-UA: <null>',
|
|
'WWW-Authenticate: Digest',
|
|
'Content-Length: 0',
|
|
]
|