Scott Lawrence wrote:
> On Mon, 2009-04-27 at 02:22 +0800, Avasarala Ranjit-A20990 wrote:
>> Hi
>>
>> I do not think a SIP entity can return a 302 response with contact
>> containing "mailto:" because SIP is not a email protocol like SMTP. So I
>> feel its an error to receive "mailto: in Contact as the behaviour of
>> entity receiving 302 wuth mailto in contact would be that it should
>> invoke a email client and expect user to compose a email !!!
>
> It's perfectly valid to return any type URL in a 302 - there's just no
> way to be sure that whoever gets that 302 can do anything with it.
Yup. There has even been some idle speculation about using this as an
alternative to voicemail:
- when you call me and I'm not there to answer, my phone or proxy
sends a 302 with mailto: URI
- when you get that, your UAC solicits a message from you, packages
it as a mail attachment, and emails it to you.
That works especially well if the initial invite had been for IM media,
but it can work for voice and/or video too.
But, as Scott notes, you have no guarantee that the caller will do this.
Lacking such a guarantee, its safer to provide a server at the UAS end
to collect the message. But the approach could work if accompanied by
some signaling to indicate willingness of caller to do it.
Thanks,
Paul
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors