Hi, I think you just have to do the best you can.
In the worst case, if you have nothing in the SIP message to tell you where to send the response back to the IP and port that you received it if possible. If the Contact or From is bad then you need to send the 400 message if you can. Or, of course, if it's really badly corrupted, then completely ignore the message. In such cases it wouldn't much matter if you ignored the message because if the message has such little compliance with SIP expectations then it shouldn't expect a response from anything that does SIP. Regards, Attila Attila Sipos http://www.vegastream.com >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] Behalf Of Pravesh >> Sent: 18 January 2006 09:59 >> 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
