TT#116100 scenarios/invite_callee_bye

* domain per scenario
* dynamic IP/port and numbers

Change-Id: Ieeb84fd71653ce45312e8a60f0d1d89b87ac150e
mr9.5.1
Victor Seva 5 years ago
parent 996de971bf
commit 512805e4b6

@ -14,14 +14,14 @@ flow:
- return|ROUTE_RUNTIME:
- exit|ROUTE_EXIT:
sip_in:
- 'REGISTER sip:testuser1003@spce.test SIP/2.0'
- 'From: <sip:testuser1003@spce.test>;tag=[\w-]+'
- 'To: <sip:testuser1003@spce.test>'
- 'REGISTER sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test SIP/2.0'
- 'From: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+'
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>'
- 'CSeq: \d+ REGISTER'
- 'Contact: sip:testuser1003@127.1.0.1:\d+;transport=UDP'
- 'Contact: sip:[% scenarios.0.responders.0.username %]@[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];transport=UDP'
- 'Content-Length: 0'
- 'P-NGCP-Src-Ip: 127.1.0.1'
- 'P-NGCP-Src-Port: \d+'
- 'P-NGCP-Src-Ip: [% scenarios.0.responders.0.ip %]'
- 'P-NGCP-Src-Port: [% scenarios.0.responders.0.port %]'
- 'P-NGCP-Src-Proto: udp'
- 'P-NGCP-Src-Af: 4'
- 'P-Sock-Info: udp:127.0.0.1:5060'
@ -30,24 +30,24 @@ sip_in:
sip_out:
- [
'SIP/2.0 100 Trying',
'From: <sip:testuser1003@spce.test>;tag=[\w-]+',
'To: <sip:testuser1003@spce.test>',
'From: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+',
'To: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>',
'CSeq: \d+ REGISTER',
'P-Out-Socket: udp:127.0.0.1:5060',
'P-NGCP-Auth-IP: 127.1.0.1',
'P-NGCP-Auth-IP: [% scenarios.0.responders.0.ip %]',
'P-NGCP-Auth-UA: <null>',
'Server: Sipwise NGCP Proxy',
'Content-Length: 0',
]
- [
'SIP/2.0 401 Unauthorized',
'From: <sip:testuser1003@spce.test>;tag=[\w-]+',
'To: <sip:testuser1003@spce.test>;tag=[\w-]+',
'From: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+',
'To: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+',
'CSeq: \d+ REGISTER',
'P-Out-Socket: udp:127.0.0.1:5060',
'P-NGCP-Auth-IP: 127.1.0.1',
'P-NGCP-Auth-IP: [% scenarios.0.responders.0.ip %]',
'P-NGCP-Auth-UA: <null>',
'WWW-Authenticate: Digest realm="spce.test", nonce=".+"',
'WWW-Authenticate: Digest realm="invite-callee-bye.scenarios.test", nonce=".+"',
'Server: Sipwise NGCP Proxy',
'Content-Length: 0',
]

@ -23,14 +23,14 @@ flow:
- return|ROUTE_RUNTIME:
- exit|ROUTE_EXIT:
sip_in:
- 'REGISTER sip:testuser1003@spce.test SIP/2.0'
- 'From: <sip:testuser1003@spce.test>;tag=[\w-]+'
- 'To: <sip:testuser1003@spce.test>'
- 'REGISTER sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test SIP/2.0'
- 'From: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+'
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>'
- 'CSeq: \d+ REGISTER'
- 'Authorization: Digest username="testuser1003",realm="spce.test",uri="sip:127.0.0.1:5060",nonce=".+",response=".+",algorithm=MD5'
- 'Contact: sip:testuser1003@127.1.0.1:\d+;transport=UDP'
- 'Authorization: Digest username="[% scenarios.0.responders.0.username %]",realm="invite-callee-bye.scenarios.test",uri="sip:127.0.0.1:5060",nonce=".+",response=".+",algorithm=MD5'
- 'Contact: sip:[% scenarios.0.responders.0.username %]@[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];transport=UDP'
- 'Content-Length: 0'
- 'P-NGCP-Src-Ip: 127.1.0.1'
- 'P-NGCP-Src-Ip: [% scenarios.0.responders.0.ip %]'
- 'P-NGCP-Src-Port: \d+'
- 'P-NGCP-Src-Proto: udp'
- 'P-NGCP-Src-Af: 4'
@ -40,27 +40,27 @@ sip_in:
sip_out:
- [
'SIP/2.0 100 Trying',
'From: <sip:testuser1003@spce.test>;tag=[\w-]+',
'To: <sip:testuser1003@spce.test>',
'From: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+',
'To: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>',
'CSeq: \d+ REGISTER',
'P-Out-Socket: udp:127.0.0.1:5060',
'P-NGCP-Auth-IP: 127.1.0.1',
'P-NGCP-Auth-IP: [% scenarios.0.responders.0.ip %]',
'P-NGCP-Auth-UA: <null>',
'Server: Sipwise NGCP Proxy',
'Content-Length: 0',
]
- [
'SIP/2.0 200 OK',
'From: <sip:testuser1003@spce.test>;tag=[\w-]+',
'To: <sip:testuser1003@spce.test>;tag=[\w-]+',
'From: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+',
'To: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+',
'CSeq: \d+ REGISTER',
'P-Out-Socket: udp:127.0.0.1:5060',
'P-NGCP-Auth-IP: 127.1.0.1',
'P-NGCP-Auth-IP: [% scenarios.0.responders.0.ip %]',
'P-NGCP-Auth-UA: <null>',
'P-NGCP-Authorization: testuser1003@spce.test',
'P-NGCP-Authorization: [% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test',
'P-NGCP-Authorized: 1',
'P-Caller-UUID: [% spce_test.testuser1003.uuid %]',
'Contact: <sip:testuser1003@127.1.0.1:\d+>;expires=\d+',
'P-Caller-UUID: [% invite_callee_bye_scenarios_test.testuser1003.uuid %]',
'Contact: <sip:[% scenarios.0.responders.0.username %]@[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %]>;expires=\d+',
'Server: Sipwise NGCP Proxy',
'Content-Length: 0',
]

@ -21,15 +21,15 @@ 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+'
- 'Contact: sip:[% scenarios.0.username %]@[% scenarios.0.ip %]:[% scenarios.0.port %]'
- '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'
@ -37,24 +37,24 @@ 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 407 Proxy Authentication Required',
'From: <sip:testuser1002@spce.test>;tag=[\w-]+',
'To: <sip:testuser1003@spce.test>;tag=[\w-]+',
'From: <sip:[% scenarios.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+',
'To: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+',
'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>',
'Proxy-Authenticate: Digest realm="spce.test", nonce=".+"',
'Proxy-Authenticate: Digest realm="invite-callee-bye.scenarios.test", nonce=".+"',
'Server: Sipwise NGCP Proxy',
'Content-Length: 0',
]

@ -1,9 +1,9 @@
flow:
- start|sl:filtered-ack:
sip_in:
- 'ACK sip:testuser1003@spce.test SIP/2.0'
- 'From: <sip:testuser1002@spce.test>;tag=[\w-]+'
- 'To: <sip:testuser1003@spce.test>;tag=[\w-]+'
- 'ACK 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>;tag=[\w-]+'
- 'CSeq: \d+ ACK'
- 'Content-Length: 0'
sip_out: []

@ -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',
]

@ -14,8 +14,8 @@ flow:
- exit|ROUTE_EXIT:
sip_in:
- 'SIP/2.0 100'
- 'From: <sip:4311002@spce.test>;tag=[\w-]+'
- 'To: <sip:testuser1003@spce.test>'
- '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'
- 'Content-Length: 0'
sip_out: []

@ -13,15 +13,15 @@ flow:
- return|ROUTE_RUNTIME:
- exit|ROUTE_EXIT:
sip_in:
- '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'
- 'P-LB-Uptime: \d+'
- 'P-Asserted-Identity: <sip:4311002@spce.test>'
- 'P-Caller-UUID: [% spce_test.testuser1002.uuid %]'
- '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-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-NGCP-Caller-Info: <sip:[% scenarios.0.username %]@invite-callee-bye.scenarios.test>;ip=[% scenarios.0.ip %];port=[% scenarios.0.port %];primary=[% invite_callee_bye_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'
- 'Content-Type: application/sdp'
- 'Contact: <sip:127.0.0.1:508[08];transport=udp>'
@ -29,22 +29,22 @@ sip_in:
sip_out:
- [
'SIP/2.0 100 Trying',
'From: <sip:4311002@spce.test>;tag=[\w-]+',
'To: <sip:testuser1003@spce.test>',
'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',
'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',
'P-LB-Uptime: \d+',
'P-Asserted-Identity: <sip:4311002@spce.test>',
'P-Caller-UUID: [% spce_test.testuser1002.uuid %]',
'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-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-NGCP-Caller-Info: <sip:[% scenarios.0.username %]@invite-callee-bye.scenarios.test>;ip=[% scenarios.0.ip %];port=[% scenarios.0.port %];primary=[% invite_callee_bye_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',
'Content-Type: application/sdp',
'Contact: <sip:127.0.0.1:508[08];transport=udp>',

@ -9,8 +9,8 @@ flow:
- exit|ROUTE_EXIT:
sip_in:
- 'SIP/2.0 100 Trying'
- 'From: <sip:4311002@spce.test>;tag=[\w-]+'
- 'To: <sip:testuser1003@spce.test>'
- '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'
- 'Server: Sipwise NGCP LB'
- 'Content-Length: 0'

@ -9,25 +9,25 @@ flow:
- exit|ROUTE_EXIT:
sip_in:
- 'SIP/2.0 180 Ringing'
- 'From: <sip:4311002@spce.test>;tag=[\w-]+'
- 'To: <sip:testuser1003@spce.test>;tag=[\w-]+'
- '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>;tag=[\w-]+'
- 'CSeq: \d+ INVITE'
- 'Contact: <sip:127.1.0.1:\d+;transport=UDP>'
- 'Contact: <sip:[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];transport=UDP>'
- 'Content-Length: 0'
- 'P-NGCP-Src-Ip: 127.1.0.1'
- 'P-NGCP-Src-Port: \d+'
- 'P-NGCP-Src-Ip: [% scenarios.0.responders.0.ip %]'
- 'P-NGCP-Src-Port: [% scenarios.0.responders.0.port %]'
- 'P-NGCP-Src-Proto: udp'
- 'P-NGCP-Src-Af: 4'
sip_out:
- [
'SIP/2.0 180 Ringing',
'From: <sip:4311002@spce.test>;tag=[\w-]+',
'To: <sip:testuser1003@spce.test>;tag=[\w-]+',
'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>;tag=[\w-]+',
'CSeq: \d+ INVITE',
'Contact: <sip:127.1.0.1:\d+;transport=UDP>',
'Contact: <sip:[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];transport=UDP>',
'Content-Length: 0',
'P-NGCP-Src-Ip: 127.1.0.1',
'P-NGCP-Src-Port: \d+',
'P-NGCP-Src-Ip: [% scenarios.0.responders.0.ip %]',
'P-NGCP-Src-Port: [% scenarios.0.responders.0.port %]',
'P-NGCP-Src-Proto: udp',
'P-NGCP-Src-Af: 4',
]

@ -14,16 +14,16 @@ flow:
- exit|ROUTE_EXIT:
sip_in:
- 'SIP/2.0 180 Ringing'
- 'From: <sip:4311002@spce.test>;tag=[\w-]+'
- 'To: <sip:testuser1003@spce.test>;tag=[\w-]+'
- '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>;tag=[\w-]+'
- 'CSeq: \d+ INVITE'
- 'Contact: <sip:127.0.0.1:508[08];transport=udp>'
- 'Content-Length: 0'
sip_out:
- [
'SIP/2.0 180 Ringing',
'From: <sip:testuser1002@spce.test>;tag=[\w-]+',
'To: <sip:testuser1003@spce.test>;tag=[\w-]+',
'From: <sip:[% scenarios.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+',
'To: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+',
'CSeq: \d+ INVITE',
'Contact: <sip:127.0.0.1:508[08];transport=udp>',
'Content-Length: 0',

@ -11,27 +11,27 @@ flow:
- return|dialog:start:
sip_in:
- 'SIP/2.0 200 OK'
- 'From: <sip:4311002@spce.test>;tag=[\w-]+'
- 'To: <sip:testuser1003@spce.test>;tag=[\w-]+'
- '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>;tag=[\w-]+'
- 'CSeq: \d+ INVITE'
- 'Contact: <sip:127.1.0.1:\d+;transport=UDP>'
- 'Contact: <sip:[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];transport=UDP>'
- 'Content-Type: application/sdp'
- 'Content-Length:\s+\d+'
- 'P-NGCP-Src-Ip: 127.1.0.1'
- 'P-NGCP-Src-Port: \d+'
- 'P-NGCP-Src-Ip: [% scenarios.0.responders.0.ip %]'
- 'P-NGCP-Src-Port: [% scenarios.0.responders.0.port %]'
- 'P-NGCP-Src-Proto: udp'
- 'P-NGCP-Src-Af: 4'
sip_out:
- [
'SIP/2.0 200 OK',
'From: <sip:4311002@spce.test>;tag=[\w-]+',
'To: <sip:testuser1003@spce.test>;tag=[\w-]+',
'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>;tag=[\w-]+',
'CSeq: \d+ INVITE',
'Contact: <sip:127.1.0.1:\d+;transport=UDP>',
'Contact: <sip:[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];transport=UDP>',
'Content-Type: application/sdp',
'Content-Length:\s+\d+',
'P-NGCP-Src-Ip: 127.1.0.1',
'P-NGCP-Src-Port: \d+',
'P-NGCP-Src-Ip: [% scenarios.0.responders.0.ip %]',
'P-NGCP-Src-Port: [% scenarios.0.responders.0.port %]',
'P-NGCP-Src-Proto: udp',
'P-NGCP-Src-Af: 4',
]

@ -18,8 +18,8 @@ flow:
- return|dialog:start:
sip_in:
- 'SIP/2.0 200 OK'
- 'From: <sip:4311002@spce.test>;tag=[\w-]+'
- 'To: <sip:testuser1003@spce.test>;tag=[\w-]+'
- '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>;tag=[\w-]+'
- 'CSeq: \d+ INVITE'
- 'Contact: <sip:127.0.0.1:508[08];transport=udp>'
- 'Content-Type: application/sdp'
@ -27,8 +27,8 @@ sip_in:
sip_out:
- [
'SIP/2.0 200 OK',
'From: <sip:testuser1002@spce.test>;tag=[\w-]+',
'To: <sip:testuser1003@spce.test>;tag=[\w-]+',
'From: <sip:[% scenarios.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+',
'To: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+',
'CSeq: \d+ INVITE',
'Contact: <sip:127.0.0.1:508[08];transport=udp>',
'Content-Type: application/sdp',

@ -25,13 +25,13 @@ flow:
- exit|ROUTE_EXIT:
sip_in:
- 'ACK sip:127.0.0.1:508[08];prxroute=1 SIP/2.0'
- 'From: <sip:testuser1002@spce.test>;tag=[\w-]+'
- 'To: <sip:testuser1003@spce.test>;tag=[\w-]+'
- 'From: <sip:[% scenarios.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+'
- 'To: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+'
- 'CSeq: \d+ ACK'
- 'Contact: sip:testuser1002@127.126.0.1:\d+'
- 'Contact: sip:[% scenarios.0.username %]@[% scenarios.0.ip %]:[% scenarios.0.port %]'
- 'Content-Length: 0'
- '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'
@ -39,13 +39,13 @@ sip_in:
sip_out:
- [
'ACK sip:127.0.0.1:508[08];prxroute=1 SIP/2.0',
'From: <sip:4311002@spce.test>;tag=[\w-]+',
'To: <sip:testuser1003@spce.test>;tag=[\w-]+',
'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>;tag=[\w-]+',
'CSeq: \d+ ACK',
'Contact: sip:testuser1002@127.126.0.1:\d+',
'Contact: sip:[% scenarios.0.username %]@[% scenarios.0.ip %]:[% scenarios.0.port %]',
'Content-Length: 0',
'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',

@ -20,17 +20,17 @@ flow:
- return|ROUTE_RUNTIME:
- exit|ROUTE_EXIT:
sip_in:
- 'ACK sip:127.1.0.1:\d+;transport=UDP SIP/2.0'
- 'From: <sip:4311002@spce.test>;tag=[\w-]+'
- 'To: <sip:testuser1003@spce.test>;tag=[\w-]+'
- 'ACK sip:[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];transport=UDP 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>;tag=[\w-]+'
- 'CSeq: \d+ ACK'
- 'Contact: <sip:127.0.0.1:508[08];transport=udp>'
- 'Content-Length: 0'
sip_out:
- [
'ACK sip:127.1.0.1:\d+;transport=UDP SIP/2.0',
'From: <sip:4311002@spce.test>;tag=[\w-]+',
'To: <sip:testuser1003@spce.test>;tag=[\w-]+',
'ACK sip:[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];transport=UDP 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>;tag=[\w-]+',
'CSeq: \d+ ACK',
'Contact: <sip:127.0.0.1:508[08];transport=udp>',
'Content-Length: 0',

@ -26,13 +26,13 @@ flow:
- exit|ROUTE_EXIT:
sip_in:
- 'BYE sip:127.0.0.1:5080 SIP/2.0'
- 'From: <sip:testuser1003@spce.test>;tag=[\w-]+'
- 'To: <sip:4311002@spce.test>;tag=[\w-]+'
- 'From: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+'
- 'To: <sip:[% invite_callee_bye_scenarios_test.testuser1002.alias_numbers.0.phone_number %]@invite-callee-bye.scenarios.test>;tag=[\w-]+'
- 'CSeq: \d+ BYE'
- 'Contact: <sip:testuser1003@127.1.0.1:\d+;transport=UDP>'
- 'Contact: <sip:[% scenarios.0.responders.0.username %]@[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];transport=UDP>'
- 'Content-Length: 0'
- 'P-NGCP-Src-Ip: 127.1.0.1'
- 'P-NGCP-Src-Port: \d+'
- 'P-NGCP-Src-Ip: [% scenarios.0.responders.0.ip %]'
- 'P-NGCP-Src-Port: [% scenarios.0.responders.0.port %]'
- 'P-NGCP-Src-Proto: udp'
- 'P-NGCP-Src-Af: 4'
- 'P-Sock-Info: udp:127.0.0.1:5060'
@ -40,21 +40,21 @@ sip_in:
sip_out:
- [
'SIP/2.0 100 Trying',
'From: <sip:testuser1003@spce.test>;tag=[\w-]+',
'To: <sip:4311002@spce.test>;tag=[\w-]+',
'From: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+',
'To: <sip:[% invite_callee_bye_scenarios_test.testuser1002.alias_numbers.0.phone_number %]@invite-callee-bye.scenarios.test>;tag=[\w-]+',
'CSeq: \d+ BYE',
'P-Out-Socket: udp:127.0.0.1:5060',
'P-NGCP-Auth-IP: 127.1.0.1',
'P-NGCP-Auth-IP: [% scenarios.0.responders.0.ip %]',
'P-NGCP-Auth-UA: <null>',
'Server: Sipwise NGCP Proxy',
'Content-Length: 0',
]
- [
'BYE sip:127.0.0.1:5080 SIP/2.0',
'From: <sip:testuser1003@spce.test>;tag=[\w-]+',
'To: <sip:4311002@spce.test>;tag=[\w-]+',
'From: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+',
'To: <sip:[% invite_callee_bye_scenarios_test.testuser1002.alias_numbers.0.phone_number %]@invite-callee-bye.scenarios.test>;tag=[\w-]+',
'CSeq: \d+ BYE',
'Contact: <sip:testuser1003@127.1.0.1:\d+;transport=UDP>',
'Contact: <sip:[% scenarios.0.responders.0.username %]@[% scenarios.0.responders.0.ip %]:[% scenarios.0.responders.0.port %];transport=UDP>',
'Content-Length: 0',
'P-LB-Uptime: \d+',
]

@ -27,24 +27,24 @@ flow:
- return|ROUTE_RUNTIME:
- exit|ROUTE_EXIT:
sip_in:
- 'BYE sip:testuser1002@127.126.0.1:\d+ SIP/2.0'
- 'From: <sip:testuser1003@spce.test>;tag=[\w-]+'
- 'To: <sip:4311002@spce.test>;tag=[\w-]+'
- 'BYE sip:[% scenarios.0.username %]@[% scenarios.0.ip %]:[% scenarios.0.port %] SIP/2.0'
- 'From: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+'
- 'To: <sip:[% invite_callee_bye_scenarios_test.testuser1002.phone_number %]@invite-callee-bye.scenarios.test>;tag=[\w-]+'
- 'CSeq: \d+ BYE'
- 'Content-Length: 0'
sip_out:
- [
'SIP/2.0 100 Trying',
'From: <sip:testuser1003@spce.test>;tag=[\w-]+',
'To: <sip:4311002@spce.test>;tag=[\w-]+',
'From: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+',
'To: <sip:[% invite_callee_bye_scenarios_test.testuser1002.phone_number %]@invite-callee-bye.scenarios.test>;tag=[\w-]+',
'CSeq: \d+ BYE',
'Server: Sipwise NGCP Proxy',
'Content-Length: 0',
]
- [
'BYE sip:testuser1002@127.126.0.1:\d+ SIP/2.0',
'From: <sip:testuser1003@spce.test>;tag=[\w-]+',
'To: <sip:testuser1002@spce.test>;tag=[\w-]+',
'BYE sip:[% scenarios.0.username %]@[% scenarios.0.ip %]:[% scenarios.0.port %] SIP/2.0',
'From: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+',
'To: <sip:[% scenarios.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+',
'CSeq: \d+ BYE',
'Content-Length: 0',
]

@ -14,24 +14,24 @@ flow:
- exit|ROUTE_EXIT:
sip_in:
- 'SIP/2.0 200 OK'
- 'From: <sip:testuser1003@spce.test>;tag=[\w-]+'
- 'To: <sip:testuser1002@spce.test>;tag=[\w-]+'
- 'From: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+'
- 'To: <sip:[% scenarios.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+'
- 'CSeq: \d+ BYE'
- 'Contact: <sip:127.126.0.1:\d+;transport=UDP>'
- 'Contact: <sip:[% scenarios.0.ip %]:[% scenarios.0.port %];transport=UDP>'
- 'Content-Length: \s+0'
- 'P-NGCP-Src-Ip: 127.126.0.1'
- 'P-NGCP-Src-Ip: [% scenarios.0.ip %]'
- 'P-NGCP-Src-Port: \d+'
- 'P-NGCP-Src-Proto: udp'
- 'P-NGCP-Src-Af: 4'
sip_out:
- [
'SIP/2.0 200 OK',
'From: <sip:testuser1003@spce.test>;tag=[\w-]+',
'To: <sip:4311002@spce.test>;tag=[\w-]+',
'From: <sip:[% scenarios.0.responders.0.username %]@invite-callee-bye.scenarios.test>;tag=[\w-]+',
'To: <sip:[% invite_callee_bye_scenarios_test.testuser1002.phone_number %]@invite-callee-bye.scenarios.test>;tag=[\w-]+',
'CSeq: \d+ BYE',
'Contact: <sip:127.126.0.1:\d+;transport=UDP>',
'Contact: <sip:[% scenarios.0.ip %]:[% scenarios.0.port %];transport=UDP>',
'Content-Length: \s+0',
'P-NGCP-Src-Ip: 127.126.0.1',
'P-NGCP-Src-Ip: [% scenarios.0.ip %]',
'P-NGCP-Src-Port: \d+',
'P-NGCP-Src-Proto: udp',
'P-NGCP-Src-Af: 4',

@ -14,15 +14,15 @@ flow:
- exit|ROUTE_EXIT:
sip_in:
- 'SIP/2.0 200 OK'
- 'From: <sip:testuser1003@spce.test>;tag=[\w-]+'
- 'To: <sip:4311002@spce.test>;tag=[\w-]+'
- 'From: <sip:testuser1003@invite-callee-bye.scenarios.test>;tag=[\w-]+'
- 'To: <sip:[% invite_callee_bye_scenarios_test.testuser1002.alias_numbers.0.phone_number %]@invite-callee-bye.scenarios.test>;tag=[\w-]+'
- 'CSeq: \d+ BYE'
- 'Content-Length: 0'
sip_out:
- [
'SIP/2.0 200 OK',
'From: <sip:testuser1003@spce.test>;tag=[\w-]+',
'To: <sip:4311002@spce.test>;tag=[\w-]+',
'From: <sip:testuser1003@invite-callee-bye.scenarios.test>;tag=[\w-]+',
'To: <sip:[% invite_callee_bye_scenarios_test.testuser1002.alias_numbers.0.phone_number %]@invite-callee-bye.scenarios.test>;tag=[\w-]+',
'CSeq: \d+ BYE',
'Content-Length: 0',
'P-Out-Socket: udp:127.0.0.1:5060',

@ -1,10 +1,10 @@
cdr:
- source_user: 'testuser1002'
source_domain: 'spce.test'
source_cli: '4311002'
destination_user: 'testuser1003'
destination_domain: 'spce.test'
destination_user_dialed: 'testuser1003'
- source_user: '[% scenarios.0.username %]'
source_domain: 'invite-callee-bye.scenarios.test'
source_cli: '[% invite_redirect_scenarios_test.testuser1002.phone_number %]'
destination_user: '[% scenarios.0.responders.0.username %]'
destination_domain: 'invite-callee-bye.scenarios.test'
destination_user_dialed: '[% scenarios.0.responders.0.username %]'
call_type: 'call'
call_status: 'ok'
call_code: '200'

@ -1,12 +1,17 @@
test_uuid: invite_callee_bye
---
test_uuid: invite_callee_bye
description: |
In this scenario testuser1002 calls testuser1003, the call succeeds and testuser1003 (callee) hangs up.
Hang up is performed by testuser1003 by initiating a new transaction: a BYE Sip request is sent back to lb and proxy.
The request URI takes advantage of a feature described in RFC 4904: a trpg parameter is appended in the user part.
As a result the user part will be "ngcp-lb;tgrp=SIP_TripleC01", Kamailio proxy must understand this and foward the message correctly to Sems.
In this scenario testuser1002 calls testuser1003, the call succeeds and
testuser1003 (callee) hangs up.
Hang up is performed by testuser1003 by initiating a new transaction: a BYE
Sip request is sent back to lb and proxy.
The request URI takes advantage of a feature described in RFC 4904: a trpg
parameter is appended in the user part.
As a result the user part will be "ngcp-lb;tgrp=SIP_TripleC01", Kamailio proxy
must understand this and foward the message correctly to Sems.
This test is part of the fix to TT#107650.
domains:
'spce.test':
invite-callee-bye.scenarios.test:
reseller_id: 1
customers:
'customer.test':
@ -19,7 +24,7 @@ customers:
billing_profile_id: 1
reseller_id: 1
subscribers:
spce.test:
invite-callee-bye.scenarios.test:
testuser1003:
customer: 'customer.test'
password: testuser
@ -39,9 +44,9 @@ subscribers:
scenarios:
- ip: 127.126.0.1
username: testuser1002
domain: spce.test
domain: invite-callee-bye.scenarios.test
responders:
- ip: 127.1.0.1
username: testuser1003
domain: spce.test
register: yes
domain: invite-callee-bye.scenarios.test
register: 'yes'

@ -18,10 +18,10 @@ flow:
- start|ROUTE_AUTH:
- start|ROUTE_AUTH_HELPER:
$x_hdr(From): spce.test
$var(realm_user): testuser1002
$var(realm_user): [% scenarios.0.username %]
$var(realm_domain): spce.test
- return|ROUTE_AUTH_HELPER:
$avp(orig_acc_caller_user): ['testuser1002']
$avp(orig_acc_caller_user): ['[% scenarios.0.username %]']
$avp(orig_acc_caller_domain): ['spce.test']
- start|ROUTE_ADD_CALLINFO_REPLY:
- start|ROUTE_ADD_CALLINFO_CALLER_PRIMARY:
@ -208,35 +208,35 @@ flow:
]
sip_in:
- '^INVITE'
- 'Contact: sip:testuser1002@'
- 'Contact: sip:[% scenarios.0.username %]@'
- 'CSeq: 2 INVITE'
- 'Max-Forwards: 69'
- 'Content-Type: application/sdp'
- 'Proxy-Authorization: Digest username="testuser1002"'
- 'Proxy-Authorization: Digest username="[% scenarios.0.username %]"'
- '_:NOT:_Allow: .*REFER.*'
sip_out:
- [
'^SIP/2.0 100 Trying',
'CSeq: 2 INVITE',
'From: <sip:testuser1002@',
'To: <sip:testuser1003@'
'From: <sip:[% scenarios.0.username %]@',
'To: <sip:[% scenarios.0.responders.0.username %]@'
]
- [
'^SIP/2.0 101 Connecting',
'CSeq: 2 INVITE',
'From: <sip:testuser1002@',
'To: <sip:testuser1003@'
'From: <sip:[% scenarios.0.username %]@',
'To: <sip:[% scenarios.0.responders.0.username %]@'
]
- [
'^INVITE sip:testuser1003@',
'^INVITE sip:[% scenarios.0.responders.0.username %]@',
'CSeq: 2 INVITE',
'From: <sip:4311002@',
'To: <sip:testuser1003@',
'To: <sip:[% scenarios.0.responders.0.username %]@',
'Content-Type: application/sdp',
'P-Caller-UUID: \w+',
'P-Callee-UUID: \w+',
'P-Asserted-Identity: <sip:4311002@',
'P-Called-Party-ID: <sip:testuser1003@',
'P-Called-Party-ID: <sip:[% scenarios.0.responders.0.username %]@',
'P-App-Param: ;calltimer=21600;aleg_sst_enable=no;sst_enable=no',
'P-App-Name: sbc',
'_:NOT:_Allow: .*REFER.*'

Loading…
Cancel
Save