Hi, Arsen,
Attached pleased find the new log.
When the server stops responding, the client just said 'open session
timeout', and when using WireShark, no SIP was captured, I have been
trying using Nuance speech server with the same MRCP client and found
no issue.
When the server stops responding, the console outputs:
nua(028AF5D0): sent signal r_destroy
nua(028AF5D0): recv signal r_destroy
nta_leg_destroy(00000000)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
Also, in the attachment in the end of this mail, I noticed that there
is a log saying
'tport(02896900): set timer at 1799973 ms because idle since send',
the 30 minutes timer seems close to the nonresponding time.
Attechment log:
nua(028AF5D0): sent signal r_respond
nua(028AF5D0): recv signal r_respond 200 OK
soa_set_params(static::028AF998, ...) called
soa_set_user_sdp(static::028AF998, 00000000, 028C7ADD, -1) called
soa_set_capability_sdp(static::028AF998, 00000000, 028C7ADD, -1)
called
soa_generate_answer(static::028AF998) called
soa_static_offer_answer_action(028AF998, soa_generate_answer): called
soa_static(028AF998, soa_generate_answer): generating local
description
soa_static(028AF998, soa_generate_answer): upgrade with remote
description
soa_sdp_mode_set(0195F1B8, 028C6C70, ""): called
soa_static(028AF998, soa_generate_answer): storing local description
soa_activate(static::028AF998, (nil)) called
soa_get_local_sdp(static::028AF998, [00000000], [0195F2F4],
[0195F2E8]) called
tport_tsend(02896900) tpn = TCP/
205.207.240.28:3148
tport_vsend(02896900): 894 bytes of 894 to tcp/
205.207.240.28:3148
tport_vsend returned 894
2009-11-23 10:11:56:837944 [NOTICE] Accepted TCP/MRCPv2 Connection
205.207.240.2
8:3149
send 894 bytes to tcp/[205.207.240.28]:3148 at 15:11:56.837944:
------------------------------------------------------------------------
SIP/2.0 200 OK
Via: SIP/2.0/TCP
205.207.240.28;branch=z9hG4bK0a976154427196;rport=3148
From: vbv_client
<
sip:vbv_c...@205.207.240.28>;tag=976154427214522
To: MediaServer
<
sip:mreso...@205.207.240.127:5061>;tag=cyeeZZ1c1cX3D
Call-ID:1258989067DAE976154427F2145
CSeq:1 INVITE
Contact: <sip:
205.207.240.127:5061>
User-Agent: UniMRCP SofiaSIP
Accept: application/sdp
Allow: INVITE, ACK, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
NOTIFY, REFER
, UPDATE
Supported: timer, 100rel
Min-SE: 120
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 308
v=0
o=UniMRCPServer 2419171921701213196 7169641961360276672 IN IP4
205.207.240.12
7
s=-
c=IN IP4 205.207.240.127
t=0 0
m=application 1544 TCP/MRCPv2 1
a=setup:passive
a=connection:new
a=channel:44a20dea77e58345@speechrecog
a=cmid:1
m=audio 5122 RTP/AVP 0
a=rtpmap:0 PCMU/8000
a=recvonly
a=mid:1
------------------------------------------------------------------------
tport(02896900): reset timer
nta: sent 200 OK for INVITE (1)
nta: timer shortened to 500 ms
nua(028AF5D0): call state changed: received -> completed, sent answer
soa_get_local_sdp(static::028AF998, [0195F4D0], [0195F4C4],
[00000000]) called
soa_get_params(static::028AF998, ...) called
nua(028AF5D0): event i_state 200 OK
tport_wakeup(02896900): events IN
tport_recv_event(02896900)
2009-11-23 10:11:56:879747 [INFO] Recieve SIP Event [nua_i_state]
Status 200 O
K
tport(02896900) msg 028C7320 from (tcp/
205.207.240.28:3148) has 397
bytes, vecle
n = 1
2009-11-23 10:11:56:879747 [NOTICE] SIP Call State [completed]
recv 397 bytes from tcp/[205.207.240.28]:3148 at 15:11:56.879747:
------------------------------------------------------------------------
ACK
sip:mreso...@205.207.240.127:5061 SIP/2.0
Via:SIP/2.0/TCP 205.207.240.28;branch=z9hG4bK0a976154427ac0
Contact:<
sip:vbv_c...@205.207.240.28;transport=TCP>
Max-Forwards: 6
To: MediaServer
<
sip:mreso...@205.207.240.127:5061>;tag=cyeeZZ1c1cX3D
From: vbv_client
<
sip:vbv_c...@205.207.240.28>;tag=976154427214522
Call-ID: 1258989067DAE976154427F2145
CSeq: 2 ACK
Content-Length: 0
------------------------------------------------------------------------
tport(02896900): msg 028C7320 (397 bytes) from tcp/
205.207.240.28:3148/
sip next=
00000000
nta: received ACK
sip:mreso...@205.207.240.127:5061 SIP/2.0 (CSeq 2)
nta: ACK (2) is going to INVITE (1)
soa_clear_remote_sdp(static::028AF998) called
nua(028AF5D0): event i_ack 200 OK
nua(028AF5D0): call state changed: completed -> ready
2009-11-23 10:11:56:893681 [INFO] Recieve SIP Event [nua_i_ack]
Status 200 OK
nua(028AF5D0): event i_state 200 OK
nua(028AF5D0): event i_active 200 Call active
2009-11-23 10:11:56:893681 [INFO] Recieve SIP Event [nua_i_state]
Status 200 O
K
nta: incoming_free(028AD708)
2009-11-23 10:11:56:907615 [NOTICE] SIP Call State [ready]
tport(02896900): reset timer
2009-11-23 10:11:56:907615 [INFO] Recieve SIP Event [nua_i_active]
Status 200
Call active
tport(02896900): set timer at 1799973 ms because idle since recv
nta: timer not set
2009-11-23 10:11:58:189552 [INFO] Receive MRCPv2 Message size=770
MRCP/2.0 770 RECOGNIZE 4036
Cancel-If-Queue: false
Channel-Identifier: 44a20dea77e58345@speechrecog
Content-Type: application/srgs+xml
Start-Input-Timers: false
Content-Length: 423
Recognition-Timeout:15000
N-Best-List-Length:10
Save-Waveform:false
Speech-Complete-Timeout:2000
Speech-Incomplete-Timeout:2000
Content-Id:rec_gram7949
2009-11-23 10:11:58:217420 [INFO] Move Control Channel
<44a20dea77e58345@speec
hrecog> to Connection [1]
2009-11-23 10:11:58:217420 [INFO] Process RECOGNIZE Request [4036]
2009-11-23 10:11:58:231354 [INFO] Process RECOGNIZE Response [4036]
2009-11-23 10:11:58:231354 [INFO] State Transition IDLE ->
RECOGNIZING
2009-11-23 10:11:58:231354 [INFO] Send MRCPv2 Message size=86
MRCP/2.0 86 4036 200 IN-PROGRESS
Channel-Identifier:44a20dea77e58345@speechrecog
end0 2009-11-23 10:11:58:273157 [INFO] Process RECOGNITION-COMPLETE
Event [403
6]
2009-11-23 10:11:58:273157 [INFO] State Transition RECOGNIZING ->
RECOGNIZED
2009-11-23 10:11:58:273157 [INFO] Send MRCPv2 Message size=271
MRCP/2.0 271 RECOGNITION-COMPLETE 4036 COMPLETE
Channel-Identifier:44a20dea77e58345@speechrecog
Completion-Cause:000 success
Content-Length:121
<?xml version="1.0"?><result><interpretation><input>one </
input><confidence>100.
00</confidence></interpretation></result>
tport_wakeup(02896900): events IN
tport_recv_event(02896900)
tport(02896900) msg 029E00B8 from (tcp/
205.207.240.28:3148) has 397
bytes, vecle
n = 1
recv 397 bytes from tcp/[205.207.240.28]:3148 at 15:12:02.091100:
------------------------------------------------------------------------
BYE
sip:mreso...@205.207.240.127:5061 SIP/2.0
Via:SIP/2.0/TCP 205.207.240.28;branch=z9hG4bK0a976154427b1e
Contact:<
sip:vbv_c...@205.207.240.28;transport=TCP>
Max-Forwards: 6
To: MediaServer
<
sip:mreso...@205.207.240.127:5061>;tag=cyeeZZ1c1cX3D
From: vbv_client
<
sip:vbv_c...@205.207.240.28>;tag=976154427214522
Call-ID: 1258989067DAE976154427F2145
CSeq: 3 BYE
Content-Length: 0
------------------------------------------------------------------------
tport(02896900): msg 029E00B8 (397 bytes) from tcp/
205.207.240.28:3148/
sip next=
00000000
nta: received BYE
sip:mreso...@205.207.240.127:5061 SIP/2.0 (CSeq 3)
nta: canonizing
sip:mreso...@205.207.240.127:5061 with contact
nta: BYE (3) going to existing leg
tport_tsend(02896900) tpn = TCP/
205.207.240.28:3148
tport_vsend(02896900): 447 bytes of 447 to tcp/
205.207.240.28:3148
tport_vsend returned 447
2009-11-23 10:12:02:105034 [NOTICE] TCP/MRCPv2 Connection Disconnected
send 447 bytes to tcp/[205.207.240.28]:3148 at 15:12:02.105034:
------------------------------------------------------------------------
SIP/2.0 200 OK
Via: SIP/2.0/TCP
205.207.240.28;branch=z9hG4bK0a976154427b1e;rport=3148
From: vbv_client
<
sip:vbv_c...@205.207.240.28>;tag=976154427214522
To: MediaServer
<
sip:mreso...@205.207.240.127:5061>;tag=cyeeZZ1c1cX3D
Call-ID: 1258989067DAE976154427F2145
CSeq: 3 BYE
User-Agent: UniMRCP SofiaSIP
Allow: INVITE, ACK, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
NOTIFY, REFER
, UPDATE
Supported: timer, 100rel
Content-Length: 0
------------------------------------------------------------------------
tport(02896900): reset timer
nta: sent 200 OK for BYE (3)
nua(028AF5D0): event i_bye 200 Session Terminated
nua(028AF5D0): removing session usage
2009-11-23 10:12:02:118968 [INFO] Recieve SIP Event [nua_i_bye]
Status 200 Ses
sion Terminated
nua(028AF5D0): call state changed: ready -> terminated
nua(028AF5D0): event i_state 200 Session Terminated
nua(028AF5D0): event i_terminated 200 Session Terminated
2009-11-23 10:12:02:132902 [INFO] Recieve SIP Event [nua_i_state]
Status 200 S
ession Terminated
soa_destroy(static::028AF998) called
2009-11-23 10:12:02:132902 [NOTICE] SIP Call State [terminated]
nta_leg_destroy(028AFC28)
2009-11-23 10:12:02:132902 [INFO] Recieve SIP Event
[nua_i_terminated] Status
200 Session Terminated
nta: incoming_free(029E0AD0)
2009-11-23 10:12:02:132902 [INFO] Receive Terminate Request
<44a20dea77e58345>
tport(02896900): reset timer
2009-11-23 10:12:02:132902 [NOTICE] Remove Session <44a20dea77e58345>
tport(02896900): set timer at 1799973 ms because idle since send
2009-11-23 10:12:02:132902 [INFO] Remove Control Channel
<44a20dea77e58345@spe
echrecog> [0]
tport_wakeup(02896900): events HUP
tport(02896900)
tport(02896900, 0)
tport_set_events(02896900): events
tport(02896900): set timer at 1799959 ms because idle since send
2009-11-23 10:12:02:146836 [INFO] Close RTP Receive
205.207.240.127:5122 <- 20
5.207.240.28:45480 [r:9 l:0 j:458]
2009-11-23 10:12:02:146836 [NOTICE] Destroy TCP/MRCPv2 Connection
2009-11-23 10:12:02:146836 [INFO] Send Terminate Response
<44a20dea77e58345>
2009-11-23 10:12:02:146836 [NOTICE] Destroy Session
nua(028AF5D0): sent signal r_destroy
nua(028AF5D0): recv signal r_destroy
nta_leg_destroy(00000000)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)
tport_wakeup_pri(0114C570): events ACCEPT
tport(0114C570): new secondary tport 028C6C70
tport(028C6C70): (null)/(null):(null)