This was discussed quiet recently on this group. I found the below mentioned approach as the most sensible solution to this issue. I hope this helps.
My 2 cents, Gaurav -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Benny Prijono Sent: Wednesday, January 18, 2006 6:16 PM To: [EMAIL PROTECTED] Cc: [email protected] Subject: Re: [Sip-implementors] 400 Bad request query Even when the Via header is corrupted, sometimes we are still able to send a response back. Section 18.2.2 of RFC 3261 has some guidelines: 1) If the request is coming from a reliable transport (TCP, SCTP, TLS), send the response using the same connection. 2) If it's coming from UDP, then perhaps we can scan the top most Via header for ";rport" string. If this string is present, then we can send the response to the source address/port of the packet. Although that still leaves the question about what Via header would be sent in the response. If we send the original malformed Via header as it is, will the upstream proxy/UAC be able to decode them? -benny -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, January 30, 2006 5:48 PM To: [email protected] Subject: [Sip-implementors] Proxy behavior incase of corrupted Via Header Hi all, I was having a doubt as how the proxy incase it detects a corrupted Via Header. Assuming that the proxy is a Stateful Proxy. Now suppose I am placing a call from User A to User B with say 10 proxies in between. If for instance the Via Header at the 10th proxy gets corrupted, what's going to be the response of the proxy which detects the corrupted Via Header? User A Proxy1 Proxy2 Proxy3 Proxy4 Proxy5 Proxy6 Proxy7 Proxy8 Proxy9 Proxy10 User B If the proxy detects the corrupted Via Header and generates a 4xx response, will that proxy send the response directly to the User A using the information in the Contact Header field of the response? Want to know what's going to be the response in this case. I hope my question is clear. Let me know if I am not clear Thanks, Bharat Thanks & Regards, Bharat Sarvan The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors ********************** Legal Disclaimer **************************** "This email may contain confidential and privileged material for the sole use of the intended recipient. Any unauthorized review, use or distribution by others is strictly prohibited. If you have received the message in error, please advise the sender by reply email and delete the message. Thank you." ********************************************************************** _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
