Title: Message
Hi
    Actually the expires header in Contact indicates for how long the registration is valid. There won't be explicit Expires: header in 200 OK.
so when server sends 200 OK to REGISTER, it appends Expires header to the Contact that is registered.
 
Regards
Ranjit
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sreeram Kanumuri (WT01 - TELECOM & INTER-NETWORKING SOLUTIONS)
Sent: Wednesday, May 19, 2004 9:20 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [Sip-implementors] 200 OK response to a REGISTER

Upon a 200 OK response by a registrar from a REGISTER request, in addition to having an expires parameter in one or more of the contacts, can the 200 OK have an expires header?

Yes we can have parameter in one or more headers and also have expires header.

It works like this: expires in the contact header indicates how long that URI is valid(which is optional).If this expires is not there in contact,the value in the Expires field is taken.

 
-SReeram
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Crawford
Sent: Tuesday, May 18, 2004 11:57 PM
To: [EMAIL PROTECTED]
Subject: [Sip-implementors] 200 OK response to a REGISTER

Hello.

 

Upon a 200 OK response by a registrar from a REGISTER request, in addition to having an expires parameter in one or more of the contacts, can the 200 OK have an expires header?

 

e.g.:

 

SIP/2.0 200 OK..

From: <sip:[EMAIL PROTECTED]:5060>;tag=ac1001d2-13c4-40a9297a-ffbac8b-52dbc76c..

To: <sip:[EMAIL PROTECTED]:5060>;tag=a1b3ffbe03dfc7563656bb83d28c97e8.5e68..

Call-ID: ac1001d2-13c4-40a51203-2ee-51422178..

CSeq: 17638 REGISTER..

Via: SIP/2.0/UDP 172.16.1.210:5060;branch=z9hG4bK-40a9297a-ffbac8c-67df0135..

Contact: <sip:[EMAIL PROTECTED]:5060>;q=0.00;expires=3600..

Contact: <sip:[EMAIL PROTECTED]:5060>;q=0.00..

Content-Length: 0..

Expires: 68400..

 

 

Thanks ahead of time,

 

Chris

 

_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to