[OpenSER-Users] "user not found" and "user not exist"

Iñaki Baz Castillo ibc at in.ilimit.es
Wed Mar 5 10:43:50 CET 2008


El Wednesday 05 March 2008 10:34:27 Cosimo Fadda escribió:
> Hi Amit,
> you can distinguish this two conditions as suggested from RFC 3261:
>
> if (user not found) -> sl_send_reply("480","Temporarily Unavailable");

Yeah, the point here is:

 480 Temporarily Unavailable
   [...]
   This status is also returned by a redirect or proxy server that
   recognizes the user identified by the Request-URI, but does not
   currently have a valid forwarding location for that user.

> if (user not exist) -> sl_send_reply("404","NOT Found");

 404 Not Found
   The server has definitive information that the user does not exist at
   the domain specified in the Request-URI.
   [...]



-- 
Iñaki Baz Castillo
ibc at in.ilimit.es




More information about the sr-users mailing list