Hi,
I have tested application with Mobicents Sip Servlet.
If the duration of call is less 2 min, it runs well.
But if the duration of call is more 3 min, it have error session in
server. I have read the log server, it has lines :
11:36:08,515 INFO [SipSessionImpl] Invalidating the sip session
(2:2-1...@157.159.16.91:41891793299844:Conference)
11:36:08,517 INFO [SipApplicationSessionImpl] The following sip
application session (41892121219595:Conference) has been invalidated
11:36:08,520 INFO [Mobicents-SIP-Servlets] <message
from="
157.159.16.91:6060"
to="
157.159.16.91:5080"
time="1281605768517"
isSender="false"
transactionId="z9hg4bkb11b.0f5364b6.0"
callId="
2-1...@157.159.16.91"
firstLine="BYE sip:
157.159.16.91:5080 SIP/2.0"
>
<![CDATA[BYE sip:
157.159.16.91:5080 SIP/2.0
Via: SIP/2.0/UDP 157.159.16.91:6060;branch=z9hG4bKb11b.0f5364b6.0
To: <sip:sip-servlets-
confe...@157.159.16.91:4060>;tag=08849591_8a1e29b3_41891793299844
From: <sip:tr...@open-ims.test>;tag=2
CSeq: 4 BYE
Call-ID:
2-1...@157.159.16.91
User-Agent: Sip EXpress router(2.1.0-dev1 OpenIMSCore (i386/linux))
Reason: SIP;cause=503;text="Session Time-out on S-CSCF"
Content-Length: 0
]]>
</message>
11:36:08,597 ERROR [SipApplicationDispatcherImpl] Unexpected exception
while processing request BYE sip:
157.159.16.91:5080 SIP/2.0
Via: SIP/2.0/UDP 157.159.16.91:6060;branch=z9hG4bKb11b.0f5364b6.0
To: <sip:sip-servlets-
confe...@157.159.16.91:4060>;tag=08849591_8a1e29b3_41891793299844
From: <sip:tr...@open-ims.test>;tag=2
CSeq: 4 BYE
Call-ID:
2-1...@157.159.16.91
User-Agent: Sip EXpress router(2.1.0-dev1 OpenIMSCore (i386/linux))
Reason: SIP;cause=503;text="Session Time-out on S-CSCF"
Content-Length: 0
org.mobicents.servlet.sip.core.dispatchers.DispatcherException: Cannot
find the corresponding sip application session to this subsequent
request BYE sip:
157.159.16.91:5080 SIP/2.0
Via: SIP/2.0/UDP 157.159.16.91:6060;branch=z9hG4bKb11b.0f5364b6.0
To: <sip:sip-servlets-
confe...@157.159.16.91:4060>;tag=08849591_8a1e29b3_41891793299844
From: <sip:tr...@open-ims.test>;tag=2
CSeq: 4 BYE
Call-ID:
2-1...@157.159.16.91
User-Agent: Sip EXpress router(2.1.0-dev1 OpenIMSCore (i386/linux))
Reason: SIP;cause=503;text="Session Time-out on S-CSCF"
Content-Length: 0
, it may already have been invalidated or timed out
at
org.mobicents.servlet.sip.core.dispatchers.SubsequentRequestDispatcher.dispatchMessage(SubsequentRequestDispatcher.java:
192)
at
org.mobicents.servlet.sip.core.SipApplicationDispatcherImpl.processRequest(SipApplicationDispatcherImpl.java:
624)
at gov.nist.javax.sip.EventScanner.deliverEvent(EventScanner.java:
224)
at
gov.nist.javax.sip.SipProviderImpl.handleEvent(SipProviderImpl.java:
192)
at gov.nist.javax.sip.DialogFilter.processRequest(DialogFilter.java:
1086)
at
gov.nist.javax.sip.stack.SIPServerTransaction.processRequest(SIPServerTransaction.java:
815)
at
gov.nist.javax.sip.stack.UDPMessageChannel.processMessage(UDPMessageChannel.java:
496)
at
gov.nist.javax.sip.stack.UDPMessageChannel.processIncomingDataPacket(UDPMessageChannel.java:
456)
at
gov.nist.javax.sip.stack.UDPMessageChannel.run(UDPMessageChannel.java:
296)
at java.lang.Thread.run(Thread.java:619)
And I have configured in SIP Message with Expire = 7200. But Mobicents
Sip Servlet terminated early the session.
How does the duration of session in Mobicents Sip Servlet
increases ?
Thank in advance for all helps!
T.Q.Tuan