TT#29852 Fix contact validation in invite_tcp_udp scenario

Change-Id: I79a2953d91234fdb9884b7f1c4939b40661dc534
changes/00/18200/1
Marco Capetta 9 years ago
parent cdc7428ad3
commit 8b5d6a4dd9

@ -21,7 +21,7 @@ flow:
- exit|ROUTE_EXIT:
sip_in:
- '^INVITE'
- 'Contact: sip:testuser1002@'
- 'Contact: <sip:testuser1002@'
- 'To: <sip:testuser1003@'
- 'CSeq: 1 INVITE'
- 'Max-Forwards: 69'

@ -187,7 +187,7 @@ flow:
]
sip_in:
- '^INVITE'
- 'Contact: sip:testuser1002@'
- 'Contact: <sip:testuser1002@'
- 'CSeq: 2 INVITE'
- 'Max-Forwards: 69'
- 'Content-Type: application/sdp'

@ -23,7 +23,7 @@ flow:
$avp(proto): ["tcp"]
sip_in:
- '^BYE sip:127.0.0.1:5080(;prxroute=1)? SIP/2.0'
- 'Contact: sip:testuser1002@'
- 'Contact: <sip:testuser1002@'
- 'CSeq: 3 BYE'
- 'Max-Forwards: 69'
- 'Content-Length: 0'
@ -40,7 +40,7 @@ sip_out:
]
- [
'^BYE sip:127.0.0.1:5080(;prxroute=1)? SIP/2.0',
'Contact: sip:testuser1002@',
'Contact: <sip:testuser1002@',
'CSeq: 3 BYE',
'Max-Forwards: 68',
'Content-Length: 0',

@ -10,7 +10,7 @@
To: <sip:[field0 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"]@[local_ip]:[local_port]
Contact: <sip:[field0 file="caller.csv"]@[local_ip]:[local_port]>
Max-Forwards: 70
Content-Type: application/sdp
Content-Length: [len]
@ -41,7 +41,7 @@
To: <sip:[field0 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"]@[local_ip]:[local_port]
Contact: <sip:[field0 file="caller.csv"]@[local_ip]:[local_port]>
Max-Forwards: 70
Content-Length: 0
@ -59,7 +59,7 @@
To: <sip:[field0 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"]@[local_ip]:[local_port]
Contact: <sip:[field0 file="caller.csv"]@[local_ip]:[local_port]>
Max-Forwards: 70
[field1 file="caller.csv"]
Content-Type: application/sdp
@ -99,7 +99,7 @@
Call-ID: NGCP%[field4 file="callee.csv" line=0]%///[call_id]
[routes]
CSeq: 2 ACK
Contact: sip:[field0 file="caller.csv"]@[local_ip]:[local_port]
Contact: <sip:[field0 file="caller.csv"]@[local_ip]:[local_port]>
Max-Forwards: 70
Content-Length: 0
@ -124,7 +124,7 @@
To: <sip:[field0 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: 3 BYE
Contact: sip:[field0 file="caller.csv"]@[local_ip]:[local_port]
Contact: <sip:[field0 file="caller.csv"]@[local_ip]:[local_port]>
[routes]
Max-Forwards: 70
Content-Length: 0

Loading…
Cancel
Save