Sending a message with the info is the best option. This is very similar to the case where the call is re-directed when user does not answer or Busy and the Voice-mail answers and voices back the status of the user and records the voice-mail.
Kasturi > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Iñaki Baz Castillo > Sent: Monday, February 04, 2008 6:55 AM > To: [email protected] > Subject: [Sip-implementors] Response code when MESSAGE is > stored becauseuser offline? > > Hi, in OpenSer I use MSILO module that allows MESSAGE storage > for offline users. > > In case a MESSAGE is stored because destination was offline, > which would be the correct response code? > > I'd like that the sender would see a warning reply like: > "The user is offline, your message has been stored" > But in which response code should I add this text?: > > - 200/202: I don't like them since the sender will not see > the warning and he'll think the message has been received correctly. > > - 404: Not sure if most of the UAC's would show the warning > as description of response code, maybe the will show "User > Not Found" if they receive a 404 discarting my warning? > > Or maybe I should generate a new MESSAGE for the sender > containing the warning? > > Thanks for any suggestion. > > -- > Iñaki Baz Castillo > [EMAIL PROTECTED] > > _______________________________________________ > 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
