Comment #9 on issue 2354 by jean.deruelle: B2buaHelper.createResponseToOriginalRequest() does not set different To tag to created response.
http://code.google.com/p/mobicents/issues/detail?id=2354

This issue was updated by revision r17838.


Fix + non regression test.

We allow to forward provisional responses (to play mandatory early media by example) and create derived session for it. But forwarding 200 OK is not allowed as per RFC3261 and TCK test com.bea.sipservlet.tck.agents.api.javax_servlet_sip.B2buaHelperTest.testCreateResponseToOriginalRequest101.

The decision has to be made at the B2BUAHelper when a 200 OK has already been forwarded and the B2BUAHelper should CANCEL other branches upon receiving a 200 OK. If there is a race condition and another endpoint sent a 200 OK before we had the time to cancel the leg then it should be ACK-ed and BYE-ed

Reply via email to