MT#10535 register_bria: fix check of contact reply

now that we introduce variance on the registar module
the response will not be the exact same value from the
message

Change-Id: Iea12ee060f83cc6eb59b542972117f843ae3a125
changes/94/2294/1
Victor Seva 11 years ago
parent f67b5bd9c6
commit f368090491

@ -41,6 +41,7 @@ sip_out:
- [
'^SIP/2.0 200 OK',
'Content-Length: 0',
'_:NOT:_Contact: <sip:testuser1003@.+>;expires=0',
'P-NGCP-Authorization: testuser1003@',
'P-NGCP-Authorized: 1'
]

@ -28,7 +28,7 @@ sip_out:
]
- [
'^SIP/2.0 200 OK',
'Contact: <sip:testuser1004@127.126.0.1:6666;ob>;expires=600;\+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>";reg-id=1',
'Contact: <sip:testuser1004@127.126.0.1:6666;ob>;expires=\d{3};\+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>";reg-id=1',
'Content-Length: 0',
'P-NGCP-Authorization: testuser1004@',
'P-NGCP-Authorized: 1'

@ -28,7 +28,7 @@ sip_out:
]
- [
'^SIP/2.0 200 OK',
'Contact: <sip:testuser1003@127.126.0.1:6666;ob>;expires=600;\+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>";reg-id=1',
'Contact: <sip:testuser1003@127.126.0.1:6666;ob>;expires=\d{3};\+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>";reg-id=1',
'Content-Length: 0',
'P-NGCP-Authorization: testuser1003@',
'P-NGCP-Authorized: 1'

@ -29,7 +29,7 @@ sip_out:
]
- [
'^SIP/2.0 200 OK',
'Contact: <sip:testuser1003@127.126.0.1:50602;ob>;expires=600;\+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>";reg-id=1',
'Contact: <sip:testuser1003@127.126.0.1:50602;ob>;expires=\d{3};\+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>";reg-id=1',
'_:NOT:_Contact: <sip:testuser1003@127.126.0.1:6666;ob>;expires=\d+',
'Content-Length: 0',
'P-NGCP-Authorization: testuser1003@',

Loading…
Cancel
Save