TT#116103 scenarios/invite_blockout_blst

* Contact with <> format
* tests:
   - add received Contact parameter as optional

Change-Id: I6823a81279dd3665a3b8c88c341afad13e8b3046
mr10.0
Victor Seva 4 years ago
parent 5a8d97e67e
commit 37f87232f2

@ -22,7 +22,7 @@ flow:
- exit|ROUTE_EXIT:
sip_in:
- '^INVITE'
- 'Contact: sip:testuser1002@'
- 'Contact: <sip:[% scenarios.0.username %]@[% scenarios.0.ip %]:[% scenarios.0.port %](;[^>]+)?>'
- 'CSeq: 1 INVITE'
- 'Max-Forwards: 69'
- 'Content-Type: application/sdp'

@ -109,7 +109,7 @@ flow:
- exit|ROUTE_EXIT:
sip_in:
- '^INVITE'
- 'Contact: sip:testuser1002@'
- 'Contact: <sip:[% scenarios.0.username %]@[% scenarios.0.ip %]:[% scenarios.0.port %](;[^>]+)?>'
- 'CSeq: 2 INVITE'
- 'Max-Forwards: 69'
- 'Content-Type: application/sdp'

@ -10,7 +10,7 @@
To: <sip:[field1 file="callee.csv" line=0]@[field3 file="callee.csv" line=0]>
Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id]
CSeq: 1 INVITE
Contact: sip:[field0 file="caller.csv" line=0]@[local_ip]:[local_port]
Contact: <sip:[field0 file="caller.csv" line=0]@[local_ip]:[local_port]>
Max-Forwards: 70
Content-Type: application/sdp
Content-Length: [len]
@ -41,7 +41,7 @@
To: <sip:[field1 file="callee.csv" line=0]@[field3 file="callee.csv" line=0]>[peer_tag_param]
Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id]
CSeq: 1 ACK
Contact: sip:[field0 file="caller.csv" line=0]@[local_ip]:[local_port]
Contact: <sip:[field0 file="caller.csv" line=0]@[local_ip]:[local_port]>
Max-Forwards: 70
Content-Length: 0
@ -59,7 +59,7 @@
To: <sip:[field1 file="callee.csv" line=0]@[field3 file="callee.csv" line=0]>
Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id]
CSeq: 2 INVITE
Contact: sip:[field0 file="caller.csv" line=0]@[local_ip]:[local_port]
Contact: <sip:[field0 file="caller.csv" line=0]@[local_ip]:[local_port]>
Max-Forwards: 70
[field1 file="caller.csv" line=0]
Content-Type: application/sdp
@ -92,7 +92,7 @@
To: <sip:[field1 file="callee.csv" line=0]@[field3 file="callee.csv" line=0]>[peer_tag_param]
Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id]
CSeq: 2 ACK
Contact: sip:[field0 file="caller.csv" line=0]@[local_ip]:[local_port]
Contact: <sip:[field0 file="caller.csv" line=0]@[local_ip]:[local_port]>
Max-Forwards: 70
Content-Length: 0

Loading…
Cancel
Save