Ideally 400 Bad Request *should* be sent because it in-validates ABNF of SIP.
But if registrar honors the expiration somehow, it can reply with 3600 back in 
200 OK.

Somesh

* Please do not take print out of this e-mail unless  its absolutely necessary *



-----Original Message-----
From: [email protected] on behalf of cool goose
Sent: Fri 2/27/2009 11:25 AM
To: [email protected]
Subject: [Sip-implementors] "expires" field value in REGISTER request
 
Hi Everyone,

If a UA sends a REGISTER request with expires field set to non numeric value
say something like this:

REGISTER sip:192.168.104.113 SIP/2.0
Via: SIP/2.0/UDP 192.168.104.110:5060;branch=z9hG4bKbab835b91939ee5dd
Max-Forwards: 0
From: <sip:192.168.104.113:5060>;tag=4be5501b2b
To: <sip:[email protected]:5060>
Call-ID: 0f2633d154e734df
CSeq: 1 REGISTER
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE,PRACK,
SUBSCRIBE, INFO
Contact: "SipTool" <sip:[email protected]:5060;transport=udp>;
expir...@#$%^*1234567
Content-Length: 0



What would be an ideal response from the registrar for a REGISTER like the
one show above? If it responds with 200 OK what do you think should be
choose as expiration time?

Thanks in Advance,
CoolGoose.
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors



EMAIL DISCLAIMER : This email and any files transmitted with it are 
confidential and intended solely for the use of the individual or entity to 
whom they are addressed. Any unauthorised distribution or copying is strictly 
prohibited. If you receive this transmission in error, please notify the sender 
by reply email and then destroy the message. Opinions, conclusions and other 
information in this message that do not relate to official business of Mascon 
shall be understood to be neither given nor endorsed by Mascon. Any information 
contained in this email, when addressed to Mascon clients is subject to the 
terms and conditions in governing client contract.

Whilst Mascon takes steps to prevent the transmission of viruses via e-mail, we 
can not guarantee that any email or attachment is free from computer viruses 
and you are strongly advised to undertake your own anti-virus precautions. 
Mascon grants no warranties regarding performance, use or quality of any e-mail 
or attachment and undertakes no liability for loss or damage, howsoever caused. 


_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to