2008/10/8 Hari Kumar <[EMAIL PROTECTED]>:
> Hi,
>
>
>
>            If a proxy server receives an initial subscribe request with "to
> tag", then how it should handle. From the proxy point of view, there is no
> matching dialog. Is there any need to create a new dialog, for this request
> (with To tag).. Shall we send "481 call/transaction does not exist".

I suppose that when you say "an initial subscribe request with 'to'
tag" you mean a SUBSCRIBE with To tag not matching an existing dialog.
Well, a proxy doesn't handle dialogs (SUBSCRIBE creates a dialog),
it's a task of a presence server (that could be located in the same
hsot as the proxy but it's a completely different role, in fact it's a
**UAS**).

So, the real escenario would be:

    UA ------ Proxy ----- Presence Server (UAS)

(maybe the Proxy and Presence Server are the same, but they are two
differents nodes).

So when the Proxy receives a SUBSCRIBE with "To" tag (or any request
with "To" tag) it should just route it (based in RURI or remaining
Route headers if they exist after the proxies eliminates the top Route
pointing to him).

So, the Presence Server (UAS) will receive the request, an in-dialog
request, and since it's a UAS it **can** know that the dialog doesn't
exist, so it must reply a "481 call/transaction does not exist".


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

_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to