OCCAS 5.0 Cannot Reject In-Dialog Request From Proxy With IllegalStateException

(Doc ID 1314755.1)

Last updated on JUNE 21, 2017

Applies to:

Oracle Communications Converged Application Server - Version: 5.0.0 and later   [Release: 5.0 and later ]
Information in this document applies to any platform.

Symptoms

JSR-289 allow the proxy to reject an in-dialog request. This is important when the proxy is resolving GRUU and the GRUU has been removed from the location service.

When trying to send the following SIP request:

SUBSCRIBE sip:XX.XX.XX.XXX;transport=TCP;handler=Presence;loop=true;create-session=true SIP/2.0
Via: SIP/2.0/TCP XX.XX.X.XXX:3787;branch=z9hG4bK-d8754z-5fb07320df36cc6e-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:tester@server.com;gr=reject>
To: <sip:server.com>
From: <sip:test.com>;tag=c9ee5e2d
Call-ID: MzgxNzIzZjI2NjE3MjAxYTIzMmJhZTc3MGNiZTE2N2E.
CSeq: 1 SUBSCRIBE
Expires: 3600
Event: aa
Content-Length: 0


Following exception is thrown:

java.lang.IllegalStateException: The request for virtual branch response should be initial request
at com.bea.wcp.sip.engine.server.proxy.ProxyImpl.createVirtualBranchResponse(ProxyImpl.java:669)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms