I see the exception below and I am not sure why.
SCENARIO: I receive an INVITE from a media server. I send OK, and
media server receives it. Media server sends me an ACK, after
receiving the OK. Instead of seeing it in doAck() in sipservlet, I
get the exception below.
Any ideas? I took the SipServlet out of the path of the call flow and
UAC (SJ Phone as well as X-Lite) both register ACKs properly.
12:27:45,015 INFO [SipApplicationDispatcherImpl] Got a request event
ACK sip:10.15.178.47:5080;fina
l_response=true;transport=udp;appname=com.test.sip.servlet.ClickToCallSipServlet
SIP/2.0
From: <sip:
7038731123@10.15.181.84:5060;crID=010000089684;type=outbound>;tag=nu-
d7f-fb0e
To: <
sip:917032...@10.15.178.103:5060>;tag=71834971_f955b5d0
Call-ID:
5e4f77de2455fe36...@0.0.0.0
CSeq: 1 ACK
Route: <sip:10.15.178.47:5080;transport=udp>
Via: SIP/2.0/UDP 10.15.181.84:5060;branch=z9Hg4Bkc75486e9-
b818-11de-9316-f38726c94010
Content-Length: 0
12:27:45,015 INFO [SipApplicationDispatcherImpl] ServerTx ref
gov.nist.javax.sip.stack.SIPServerTra
nsaction@9ae01f0a
12:27:45,015 INFO [SipApplicationDispatcherImpl] Dialog ref
gov.nist.javax.sip.stack.SIPDialog@e301
d6
12:27:45,015 INFO [SipApplicationDispatcherImpl] Routing State
SUBSEQUENT
12:27:45,015 INFO [SubsequentRequestDispatcher] Routing of Subsequent
Request ACK sip:
10.15.178.47:
5080;final_response=true;transport=udp;appname=com.test.sip.servlet.ClickToCallSipServlet
SIP/2.0
From: <sip:
7038731123@10.15.181.84:5060;crID=010000089684;type=outbound>;tag=nu-
d7f-fb0e
To: <
sip:917032...@10.15.178.103:5060>;tag=71834971_f955b5d0
Call-ID:
5e4f77de2455fe36...@0.0.0.0
CSeq: 1 ACK
Via: SIP/2.0/UDP 10.15.181.84:5060;branch=z9Hg4Bkc75486e9-
b818-11de-9316-f38726c94010
Content-Length: 0
12:27:45,031 ERROR [SipApplicationDispatcherImpl] Unexpected exception
while processing request ACK
sip:
10.15.178.47:5080;final_response=true;transport=udp;appname=com.test.sip.servlet.ClickToCallSipS
ervlet SIP/2.0
From: <sip:
7038731123@10.15.181.84:5060;crID=010000089684;type=outbound>;tag=nu-
d7f-fb0e
To: <
sip:917032...@10.15.178.103:5060>;tag=71834971_f955b5d0
Call-ID:
5e4f77de2455fe36...@0.0.0.0
CSeq: 1 ACK
Via: SIP/2.0/UDP 10.15.181.84:5060;branch=z9Hg4Bkc75486e9-
b818-11de-9316-f38726c94010
Content-Length: 0
org.mobicents.servlet.sip.core.dispatchers.DispatcherException: cannot
find the application to handl
e this subsequent request in this popped routed header <sip:
10.15.178.47:5080;transport=udp>
at
org.mobicents.servlet.sip.core.dispatchers.SubsequentRequestDispatcher.dispatchMessage
(Su
bsequentRequestDispatcher.java:113)
at
org.mobicents.servlet.sip.core.SipApplicationDispatcherImpl.processRequest
(SipApplication
DispatcherImpl.java:565)
at gov.nist.javax.sip.EventScanner.deliverEvent
(EventScanner.java:223)
at gov.nist.javax.sip.SipProviderImpl.handleEvent
(SipProviderImpl.java:158)
at gov.nist.javax.sip.DialogFilter.processRequest
(DialogFilter.java:917)
at gov.nist.javax.sip.stack.SIPServerTransaction.processRequest
(SIPServerTransaction.java:84
3)
at gov.nist.javax.sip.stack.UDPMessageChannel.processMessage
(UDPMessageChannel.java:454)
at
gov.nist.javax.sip.stack.UDPMessageChannel.processIncomingDataPacket
(UDPMessageChannel.ja
va:413)
at gov.nist.javax.sip.stack.UDPMessageChannel.run
(UDPMessageChannel.java:257)
at java.lang.Thread.run(Thread.java:619)
12:27:45,109 INFO [Mobicents-SIP-Servlets] <message
from="
10.15.181.84:5060"
to="
0.0.0.0:5080"
time="1255451265109"
isSender="false"
transactionId="z9hg4bk54e8ad38494d7a6b5a4d04cf6eb77e20"
callId="
5e4f77de2455fe36...@0.0.0.0"
firstLine="SIP/2.0 200 Ok"
>
<![CDATA[SIP/2.0 200 Ok
Via: SIP/2.0/UDP
0.0.0.0:5080;branch=z9hG4bK54e8ad38494d7a6b5a4d04cf6eb77e20;received=10.15.178.47
From: <
sip:917032...@10.15.178.103:5060>;tag=71834971_f955b5d0
To: <sip:
7038731123@10.15.181.84:5060;type=outbound;crID=010000089684>;tag=nu-
d7f-fb0e
Call-ID:
5e4f77de2455fe36...@0.0.0.0
CSeq: 2 INVITE
Content-Type: application/sdp
Contact: <
sip:n...@10.15.181.84:5060>;transport=udp
Content-Length: 191
v=0
o=- 1255452743 1255452743 IN IP4 10.15.181.84
s=SIP Call
t=0 0
m=audio 4480 RTP/AVP 0 101
c=IN IP4 0.0.0.0
a=rtpmap:0 pcmu/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
]]>
</message>
12:27:45,125 INFO [SipApplicationDispatcherImpl] Response SIP/2.0 200
Ok
Via: SIP/2.0/UDP
0.0.0.0:5080;branch=z9hG4bK54e8ad38494d7a6b5a4d04cf6eb77e20;received=10.15.178.47
From: <
sip:917032...@10.15.178.103:5060>;tag=71834971_f955b5d0
To: <sip:
7038731123@10.15.181.84:5060;type=outbound;crID=010000089684>;tag=nu-
d7f-fb0e
Call-ID:
5e4f77de2455fe36...@0.0.0.0
CSeq: 2 INVITE
Content-Type: application/sdp
Contact: <
sip:n...@10.15.181.84:5060>;transport=udp
Content-Length: 191
v=0
o=- 1255452743 1255452743 IN IP4 10.15.181.84
s=SIP Call
t=0 0
m=audio 4480 RTP/AVP 0 101
c=IN IP4 0.0.0.0
a=rtpmap:0 pcmu/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
12:27:45,140 INFO [ResponseDispatcher] viaHeader = Via: SIP/2.0/UDP
0.0.0.0:5080;branch=z9hG4bK54e8
ad38494d7a6b5a4d04cf6eb77e20;received=10.15.178.47
12:27:45,140 INFO [SipApplicationDispatcherImpl] transaction
gov.nist.javax.sip.stack.SIPClientTran
saction@f0bf5ded terminated => INVITE sip:
10.15.178.103:5060 SIP/2.0
CSeq: 2 INVITE
Call-ID:
5e4f77de2455fe36...@0.0.0.0
From: <sip:
7038731123@10.15.181.84:5060;crID=010000089684;type=outbound>;tag=02573483_f955b5d0
To: <
sip:917032...@10.15.178.103:5060>;tag=13207978271088691719
Max-Forwards: 70
Contact: <sip:0.0.0.0:5080;transport=udp>
Content-Type: application/sdp
Via: SIP/2.0/UDP
10.15.178.47:5080;branch=z9hG4bKa27f394ac3ca703103e42c7bdae0b54a;appname=com.test.s
ip.servlet.ClickToCallSipServlet
Content-Length: 191
v=0
o=- 1255452743 1255452743 IN IP4 10.15.181.84
s=SIP Call
c=IN IP4 0.0.0.0
t=0 0
m=audio 4480 RTP/AVP 0 101
a=rtpmap:0 pcmu/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15