Hi,

        A proxy will do a lookup only if it is responsible for the domain 
in the request uri. Otherwise it will try to resolve the domain in the 
request uri using other techniques such as DNS etc . If it finds that the 
destination to be forwarded to is another domain proxy or gateway and this 
gateway for example could be down and  the proxy is aware of this, the 
proxy may decide to generate a 502 response.
        Again as i said the generation of a 502 response is implementation 
dependent . 
Regards
Nisha



"Atul Khandelwal" <[EMAIL PROTECTED]> 
08/24/04 05:58 PM

To
<[EMAIL PROTECTED]>
cc
"Sip-Implementors" <[EMAIL PROTECTED]>, 
<[EMAIL PROTECTED]>
Subject
RE: [Sip-implementors] 502 Bad Gateway






Hi Nisha,
 
Thanks for the response.
 
What you said is true. 
But does the Proxy first tries to forward the message to the called domain 
or does it forwards the message to Location/Redirect server(i.e Query 
them)?
Or is it that it simply finds out whether the called domain is present in 
the look up table (if implemented in the Proxy) and then respond 
accordingly......
Can you tell me the precise procedure?
 
Regards,
Atul
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 24, 2004 2:55 PM
To: Atul Khandelwal
Cc: Sip-Implementors; [EMAIL PROTECTED]
Subject: Re: [Sip-implementors] (no subject)


Hi, 

        The generation of 502 response is  implementation dependent. 502 
is a special case wherein the proxy should know that the next hop that it 
is trying to reach is another domain proxy or a gateway.  The protocol 
does not discuss how to handle such responses. That will again depend on 
the implementation. 
        For example if the proxy implementation has a way to identify 
alternate routes/gateways the request should be forwarded to the same. 

Regards 
Nisha 


"Atul Khandelwal" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED] 
08/24/04 11:24 AM 


To
"Sip-Implementors" <[EMAIL PROTECTED]> 
cc

Subject
[Sip-implementors] (no subject)








Hi all,

Is 502 Bad Gateway response received when the proxy is not in the
position to find out the called party ?
Also in this case does the proxy query the
Redirect and the Location server?

Thanks,
Atul

_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to