2010/12/3 Vadim Lebedev <[email protected]>: > > I wonder what is the best strategy to adopt in folowing scenarios: > > 1. Endpoint A sends INVITE to B through stateful proxy P > 2. B responds with 100 then with 180 which are succesuflly deliverd to A > 3.1 B sends 200 > 3.2 P decides that it needs to drop the call (Because of dread media > gateway detection for example) > What would be the best strategy for P? > It seems that it can send 6xx to A but what it is supposed to > send to B? a BYE?
A proxy, by definition, cannot act in this case. > The second scenario is: > 1. Endpoint A sends INVITE to B through stateful proxy P > 2. B responds with 100 then with 180 which are succesuflly deliverd to A > 3 B sends 200 which is delivered to A > 4. P decides that it needs to drop the call. > What would be the best strategy for P in this case? Again a proxy (transaction stateful proxy) is not dialog aware so it's not capable of terminating a dialog (it doesn't know about current dialogs). However some proxies are "dialog" aware (just limitations) and can generate a BYE for each participant in the dialog (your second case). For the first case there is no way in a proxy. -- Iñaki Baz Castillo <[email protected]> _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
