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.
kamailio-config-tests/scenarios_pbx/invite_shared_line/0033_test.yml.tt2

43 lines
1.1 KiB

flow:
- start|DEFAULT_ROUTE:
- start|ROUTE_ENTRY:
- return|ROUTE_ENTRY:
- start|ROUTE_NET_INFO:
- return|ROUTE_NET_INFO:
- start|ROUTE_IMP_REQUEST:
- start|ROUTE_IMP_WITHINDLG:
- return|ROUTE_IMP_WITHINDLG:
- start|ROUTE_AUTH:
- start|ROUTE_EXIT:
- start|ROUTE_RUNTIME:
- return|ROUTE_RUNTIME:
- exit|ROUTE_EXIT:
sip_in:
- '^SUBSCRIBE sip:testuser1002@spce.test SIP/2.0'
- 'From: <sip:testuser1002@spce.test>;tag='
- 'To: <sip:testuser1002@spce.test>'
- 'CSeq: 1 SUBSCRIBE'
- 'Contact: <sip:testuser1002@127.1.0.1:\d+>'
- 'Expires: 0'
- 'Event: call-info'
- 'Content-Length:\s+0'
- 'P-NGCP-Src-Ip: 127.1.0.1'
- 'P-NGCP-Src-Port: \d+'
- '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:testuser1002@spce.test>;tag=',
'To: <sip:testuser1002@spce.test>',
'CSeq: 1 SUBSCRIBE',
'P-Out-Socket: udp:127.0.0.1:5060',
'P-NGCP-Auth-IP: 127.1.0.1',
'P-NGCP-Auth-UA: <null>',
'Content-Length: 0'
]
- [
'^SIP/2.0 407 Proxy Authentication Required'
]