Hi
The question is "What is the response code for a SIP request which was routed 
to the wrong proxy, e.g. "INVITE sip:[EMAIL PROTECTED]" was wrongly routed to 
example.com SIP proxy. How should example.com reject the request?
404 or is there a better code - something like "I am not authoritative for this 
domain"?"


The 502 response description from rfc 3261
"The server, while acting as a gateway or proxy, received an invalid
   response from the downstream server it accessed in attempting to
   fulfill the request."

In above case, proxy forwards the request and gets invalid response from 
downstream server. For me the case is proxy is not forwarding the request, 
before that it wants to reject.

Again 403 fobidden description says server understands the request (does not 
say capable of processing it).
 
If you refer section 8.2.2.1 in rfc 3261, it says if UA determines the To 
header content of received request does not match with that of current user it 
should reject wth 403. And above case is similar, the received request is not 
for the proxy, hence it is logical for proxy to send 403 forbidden.

Thanks&Regards
Kamal



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Iñaki Baz 
Castillo
Sent: Tuesday, September 23, 2008 3:37 PM
Cc: Sip-implementors@lists.cs.columbia.edu
Subject: Re: [Sip-implementors] respone code for wrong routed SIP request

2008/9/23, Kamalakanta Palei (kpalei) <[EMAIL PROTECTED]>:
>
>  I hope the right response cdode is 403 Forbidden.
>  While proxy sends 403 to UA it indicates two information to UA.

For me 403 means: "You don't have permission to access this resource, but I'm 
capable of offering it".

Why not a 502? We are speaking about a upstream routing problem, aren't we?

Regards.

--
Iñaki Baz Castillo
<[EMAIL PROTECTED]>

_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to