|
|
|
|
@ -154,16 +154,16 @@ flow:
|
|
|
|
|
- return|ROUTE_RUNTIME:
|
|
|
|
|
- exit|ROUTE_EXIT:
|
|
|
|
|
sip_in:
|
|
|
|
|
- 'INVITE sip:testuser1003@spce.test SIP/2.0'
|
|
|
|
|
- 'From: <sip:testuser1002@spce.test>;tag=[\w-]+'
|
|
|
|
|
- 'To: <sip:testuser1003@spce.test>'
|
|
|
|
|
- 'INVITE sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test SIP/2.0'
|
|
|
|
|
- 'From: <sip:[% scenarios.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+'
|
|
|
|
|
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>'
|
|
|
|
|
- 'CSeq: \d+ INVITE'
|
|
|
|
|
- 'Contact: sip:testuser1002@127.126.0.1:\d+'
|
|
|
|
|
- 'Proxy-Authorization: Digest username="testuser1002",realm="spce.test",uri="sip:127.0.0.1:5060",nonce=".+",response=".+",algorithm=MD5'
|
|
|
|
|
- 'Contact: sip:[% scenarios.0.username %]@[% scenarios.0.ip %]:[% scenarios.0.port %]'
|
|
|
|
|
- 'Proxy-Authorization: Digest username="[% scenarios.0.username %]",realm="invite-callee-bye.scenarios.test",uri="sip:127.0.0.1:5060",nonce=".+",response=".+",algorithm=MD5'
|
|
|
|
|
- 'Content-Type: application/sdp'
|
|
|
|
|
- 'Content-Length:\s+\d+'
|
|
|
|
|
- 'P-NGCP-Src-Ip: 127.126.0.1'
|
|
|
|
|
- 'P-NGCP-Src-Port: \d+'
|
|
|
|
|
- 'P-NGCP-Src-Ip: [% scenarios.0.ip %]'
|
|
|
|
|
- 'P-NGCP-Src-Port: [% scenarios.0.port %]'
|
|
|
|
|
- 'P-NGCP-Src-Proto: udp'
|
|
|
|
|
- 'P-NGCP-Src-Af: 4'
|
|
|
|
|
- 'P-Sock-Info: udp:127.0.0.1:5060'
|
|
|
|
|
@ -171,47 +171,47 @@ sip_in:
|
|
|
|
|
sip_out:
|
|
|
|
|
- [
|
|
|
|
|
'SIP/2.0 100 Trying',
|
|
|
|
|
'From: <sip:testuser1002@spce.test>;tag=[\w-]+',
|
|
|
|
|
'To: <sip:testuser1003@spce.test>',
|
|
|
|
|
'From: <sip:[% scenarios.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+',
|
|
|
|
|
'To: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>',
|
|
|
|
|
'CSeq: \d+ INVITE',
|
|
|
|
|
'P-Out-Socket: udp:127.0.0.1:5060',
|
|
|
|
|
'P-NGCP-Auth-IP: 127.126.0.1',
|
|
|
|
|
'P-NGCP-Auth-IP: [% scenarios.0.ip %]',
|
|
|
|
|
'P-NGCP-Auth-UA: <null>',
|
|
|
|
|
'Server: Sipwise NGCP Proxy',
|
|
|
|
|
'Content-Length: 0',
|
|
|
|
|
]
|
|
|
|
|
- [
|
|
|
|
|
'SIP/2.0 101 Connecting',
|
|
|
|
|
'From: <sip:testuser1002@spce.test>;tag=[\w-]+',
|
|
|
|
|
'To: <sip:testuser1003@spce.test>',
|
|
|
|
|
'From: <sip:[% scenarios.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+',
|
|
|
|
|
'To: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>',
|
|
|
|
|
'CSeq: \d+ INVITE',
|
|
|
|
|
'P-Out-Socket: udp:127.0.0.1:5060',
|
|
|
|
|
'P-NGCP-Auth-IP: 127.126.0.1',
|
|
|
|
|
'P-NGCP-Auth-IP: [% scenarios.0.ip %]',
|
|
|
|
|
'P-NGCP-Auth-UA: <null>',
|
|
|
|
|
'P-NGCP-Authorization: testuser1002@spce.test',
|
|
|
|
|
'P-NGCP-Authorization: [% scenarios.0.username %]@invite-callee-bye.scenarios.test',
|
|
|
|
|
'P-NGCP-Authorized: 1',
|
|
|
|
|
'P-NGCP-Caller-Info: <sip:testuser1002@spce.test>;ip=127.126.0.1;port=\d+;primary=4311002',
|
|
|
|
|
'P-Caller-UUID: [% spce_test.testuser1002.uuid %]',
|
|
|
|
|
'P-NGCP-Caller-Info: <sip:[% scenarios.0.username %]@invite-callee-bye.scenarios.test>;ip=[% scenarios.0.ip %];port=[% scenarios.0.port %];primary=[% invite_redirect_scenarios_test.testuser1002.phone_number %]',
|
|
|
|
|
'P-Caller-UUID: [% invite_callee_bye_scenarios_test.testuser1002.uuid %]',
|
|
|
|
|
'Server: Sipwise NGCP Proxy',
|
|
|
|
|
'Content-Length: 0',
|
|
|
|
|
]
|
|
|
|
|
- [
|
|
|
|
|
'INVITE sip:testuser1003@127.1.0.1:\d+ SIP/2.0',
|
|
|
|
|
'From: <sip:4311002@spce.test>;tag=[\w-]+',
|
|
|
|
|
'To: <sip:testuser1003@spce.test>',
|
|
|
|
|
'INVITE sip:[% scenarios.0.responders.0.username %]@[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %] SIP/2.0',
|
|
|
|
|
'From: <sip:[% invite_callee_bye_scenarios_test.testuser1002.phone_number %]@invite-callee-bye.scenarios.test>;tag=[\w-]+',
|
|
|
|
|
'To: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>',
|
|
|
|
|
'CSeq: \d+ INVITE',
|
|
|
|
|
'Contact: sip:testuser1002@127.126.0.1:\d+',
|
|
|
|
|
'Contact: sip:[% scenarios.0.username %]@[% scenarios.0.ip %]:[% scenarios.0.port %]',
|
|
|
|
|
'Content-Type: application/sdp',
|
|
|
|
|
'Content-Length:\s+\d+',
|
|
|
|
|
'P-LB-Uptime: \d+',
|
|
|
|
|
'P-Asserted-Identity: <sip:4311002@spce.test>',
|
|
|
|
|
'P-Caller-UUID: [% spce_test.testuser1002.uuid %]',
|
|
|
|
|
'P-Callee-UUID: [% spce_test.testuser1003.uuid %]',
|
|
|
|
|
'P-Called-Party-ID: <sip:testuser1003@spce.test>',
|
|
|
|
|
'P-Asserted-Identity: <sip:[% invite_callee_bye_scenarios_test.testuser1002.phone_number %]@invite-callee-bye.scenarios.test>',
|
|
|
|
|
'P-Caller-UUID: [% invite_callee_bye_scenarios_test.testuser1002.uuid %]',
|
|
|
|
|
'P-Callee-UUID: [% invite_callee_bye_scenarios_test.testuser1003.uuid %]',
|
|
|
|
|
'P-Called-Party-ID: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>',
|
|
|
|
|
'P-App-Param: ;calltimer=21600;aleg_sst_enable=no;sst_enable=no;hold_alter_b2b_bleg=no;hold_alter_b2b_aleg=no',
|
|
|
|
|
'P-App-Name: sbc',
|
|
|
|
|
'P-NGCP-Caller-Info: <sip:testuser1002@spce.test>;ip=127.126.0.1;port=\d+;primary=4311002',
|
|
|
|
|
'P-NGCP-Callee-Info: <sip:testuser1003@spce.test>;ip=127.0.0.1;port=5060;primary=4311003',
|
|
|
|
|
'P-NGCP-Caller-Info: <sip:[% scenarios.0.username %]@invite-callee-bye.scenarios.test>;ip=[% scenarios.0.ip %];port=[% scenarios.0.port %];primary=[% invite_redirect_scenarios_test.testuser1002.phone_number %]',
|
|
|
|
|
'P-NGCP-Callee-Info: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>;ip=127.0.0.1;port=5060;primary=[% invite_callee_bye_scenarios_test.testuser1003.alias_numbers.0.phone_number %]',
|
|
|
|
|
'P-D-Uri: sip:lb@127.0.0.1;lr;socket=sip:127.0.0.1:5060',
|
|
|
|
|
'P-Proxy-Uri: sip:127.0.0.1:5062',
|
|
|
|
|
]
|
|
|
|
|
|