[Serusers] dealing with parallel forking ...

Olaf Bergmann Olaf.Bergmann at freenet-ag.de
Fri Aug 3 12:52:50 CEST 2007


Cesc Santa wrote:


> I am doing some tests and it is not really a problem ... but maybe
> someone has a better idea. In my configuration, the first 200 OK
> received is forwarded to the caller and the whole SIP session setup
> (caller + 1st callee).
> Next 200 OKs are also delivered to the caller, 

That is the correct behavior of a SIP proxy.

> who happily ignores them ... 

That is broken behavior of a SIP UA.

> it is the task of the 2nd (and 3rd, ... ) callee to at a
> certain point give up and send a BYE, to which the caller replies with
> 481 no call leg ...
> It all works ... but, I wonder if ser could send CANCELs after
> receiving the 1st 200 OK ... if yes, how? :)

No, you cannot CANCEL an INVITE after having received a final
response. This must be done by the caller after having sent the ACK.
The UAC you have used is broken. The callee's UA tries to deal with
it and does the best it can. You should use a standards-compliant
SIP UA for your tests.

Regards,
Olaf



More information about the sr-users mailing list