In such case the proxy can drop the packet and let the UAC retry the request. This behavior is particularly important when there is some error in mandatory headers that affect routing decision.
One more solution can be to send the response back to the IP and Port from which the proxy has received the request. The proxy need not always respond to every junk packet. It should be smart enough to drop the packet. In certain case the proxy may continuously get junk packets and in such case it's more feasible to drop packet. Regards Ajit -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pravesh Sent: Wednesday, January 18, 2006 3:29 PM To: [EMAIL PROTECTED]; [email protected] Subject: [Sip-implementors] 400 Bad request query Hello All, I have a doubt: When we receive an INVITE request with bad VIA header & some bad mandantory headers where should I send the 400 bad request response, because I would be needing the values from VIA header to actually send the response back, also in the case where other headers like FROM & CONTACT are also corrupted what should be done. Please guide on these scenarios -- Regards, Pravesh _______________________________________________ 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
