[EMAIL PROTECTED] wrote:
> 
> Hi,
>   I have the following questions on a statelss proxy(refer the flow)!
> If P receives the 200ok from B and Cancel from A at the same time, should
> it follow the following flow? If so the stateless proxy is generating
> requests on its own (ACK and BYE to B)? Is it ok for the stateless proxy to
> generate requests on its own?
> 
>   A-----Invite------>P                  B
>   A                  P-----Invite------>B
>   A------Cancel----->P<----200 OK-------B
>   A                  P-------ACK------->B
>   A                  P-------BYE------->B
>   A<-----200 OK------P                  B
>   A<-----487---------P                  B
>   A                  P<----200 OK-------B
>   A------ACK-------->P                  B

Sreedhar:

In your case, P will proxy the 200 OK upstream and the CANCEL
downstream.
It cannot correlate the CANCEL to the INVITE sent downstream earlier.
Stateless proxies do not generate responses (like the 487 shown in your
figure), nor do they generate requests like CANCEL/BYE on their own.  
They are really dumb entities which proxy requests downstream and 
responses upstream.

Since they are stateless, they tend to scale very well; the downside is
that there are not a whole lot of services (like forking) you can 
provide within stateless proxies.

- vijay
--
Vijay K. Gurbani  vkg@{lucent.com,research.bell-labs.com,acm.org}
eServices and Internet Software Group
Lucent Technologies/Bell Labs Innovations 263 Shuman Blvd., Rm 1A-413
Naperville, Illinois 60566     Voice: +1 630 224 0216   Fax: +1 630 713
0184
_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to