The request is malformed. The receiver can basically handle it however it desires.
Returning "400 Fix Contact Expires Parameter" would be ideal. Unfortunately returning failure responses to REGISTER often causes frequent REGISTERs with the same issue until finally resolved (by reconfiguration or new software). In the wild, the following few likely possibilities: 1) Return "400 Fix Contact Expires Parameter". 2) Return 200 with Contact as though expires parameter not received. 3) Return 200 as though Contact not received. 4) Return "403 Forbidden until Contact expires parameter valid". > -----Original Message----- > From: [email protected] [mailto:sip- > [email protected]] On Behalf Of cool goose > Sent: Friday, February 27, 2009 12:56 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 _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
