unispeech / unimrcp

Open source cross-platform implementation of MRCP protocol

Home Page:http://www.unimrcp.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A problem with the asr or tts of MRCP

angel-ycy opened this issue · comments

After starting MRCP, I used./paasclient to verify the correctness of asr, and 503 error (service unavailable)occurred. why?
2020-05-27 10:14:00:395528 [NOTICE] UniMRCP Client [1.3.0] [r2271]
2020-05-27 10:14:00:395756 [INFO] APR [1.5.1]
2020-05-27 10:14:00:395774 [NOTICE] Create MRCP Client
2020-05-27 10:14:00:395849 [NOTICE] Open Config File [/root/unimrcp/conf/unimrcpclient.xml]
2020-05-27 10:14:00:396566 [INFO] Set Property ip:127.0.0.1
2020-05-27 10:14:00:396588 [INFO] Register Codec [PCMU]
2020-05-27 10:14:00:396596 [INFO] Register Codec [PCMA]
2020-05-27 10:14:00:396637 [INFO] Register Codec [L16]
2020-05-27 10:14:00:396669 [NOTICE] Register Resource [speechsynth]
2020-05-27 10:14:00:396682 [NOTICE] Register Resource [speechrecog]
2020-05-27 10:14:00:396689 [NOTICE] Register Resource [recorder]
2020-05-27 10:14:00:396699 [NOTICE] Register Resource [speakverify]
2020-05-27 10:14:00:396707 [INFO] Register Resource Factory
2020-05-27 10:14:00:396732 [NOTICE] Create SofiaSIP Agent [SIP-Agent-1] [1.12.11-225-g94cb919] sip:127.0.0.1:8062;transport=udp
2020-05-27 10:14:00:396739 [INFO] Register Signaling Agent [SIP-Agent-1]
2020-05-27 10:14:00:396754 [NOTICE] Create RTSP Client [RTSP-Agent-1] [100]
2020-05-27 10:14:00:396798 [INFO] Register Signaling Agent [RTSP-Agent-1]
2020-05-27 10:14:00:396810 [NOTICE] Create MRCPv2 Agent [MRCPv2-Agent-1] [100]
2020-05-27 10:14:00:396838 [INFO] Register Connection Agent [MRCPv2-Agent-1]
2020-05-27 10:14:00:396850 [NOTICE] Create Media Engine [Media-Engine-1]
2020-05-27 10:14:00:396867 [INFO] Register Media Engine [Media-Engine-1]
2020-05-27 10:14:00:396876 [NOTICE] Create RTP Termination Factory 127.0.0.1:[4000,5000]
2020-05-27 10:14:00:396883 [INFO] Register RTP Termination Factory [RTP-Factory-1]
2020-05-27 10:14:00:396896 [INFO] Register RTP Settings [RTP-Settings-1]
2020-05-27 10:14:00:396902 [INFO] Enter Directory [/root/unimrcp/conf/client-profiles]
2020-05-27 10:14:00:396946 [NOTICE] Open Config File [/root/unimrcp/conf/client-profiles/nuance.xml]
2020-05-27 10:14:00:397070 [INFO] Create SIP Settings 127.0.0.1:5060
2020-05-27 10:14:00:397078 [INFO] Register Signaling Settings [Nuance-SIP-Settings]
2020-05-27 10:14:00:397103 [INFO] Create RTSP Settings 127.0.0.1:4900
2020-05-27 10:14:00:397112 [INFO] Register Signaling Settings [Nuance-RTSP-Settings]
2020-05-27 10:14:00:397125 [INFO] Register RTP Settings [Nuance-RTP-Settings]
2020-05-27 10:14:00:397148 [NOTICE] Create MRCPv2 Profile [nss2]
2020-05-27 10:14:00:397161 [INFO] Register Profile [nss2]
2020-05-27 10:14:00:397171 [NOTICE] Create MRCPv1 Profile [nss1]
2020-05-27 10:14:00:397180 [INFO] Register Profile [nss1]
2020-05-27 10:14:00:397189 [NOTICE] Open Config File [/root/unimrcp/conf/client-profiles/unimrcp.xml]
2020-05-27 10:14:00:397272 [INFO] Create SIP Settings 127.0.0.1:8060
2020-05-27 10:14:00:397279 [INFO] Register Signaling Settings [UniMRCP-SIP-Settings]
2020-05-27 10:14:00:397287 [INFO] Create RTSP Settings 127.0.0.1:1554
2020-05-27 10:14:00:397293 [INFO] Register Signaling Settings [UniMRCP-RTSP-Settings]
2020-05-27 10:14:00:397306 [NOTICE] Create MRCPv2 Profile [uni2]
2020-05-27 10:14:00:397313 [INFO] Register Profile [uni2]
2020-05-27 10:14:00:397320 [NOTICE] Create MRCPv1 Profile [uni1]
2020-05-27 10:14:00:397326 [INFO] Register Profile [uni1]
2020-05-27 10:14:00:397333 [NOTICE] Open Config File [/root/unimrcp/conf/client-profiles/lumenvox.xml]
2020-05-27 10:14:00:397411 [INFO] Create SIP Settings 127.0.0.1:5060
2020-05-27 10:14:00:397418 [INFO] Register Signaling Settings [LumenVox-SIP-Settings]
2020-05-27 10:14:00:397425 [INFO] Create RTSP Settings 127.0.0.1:554
2020-05-27 10:14:00:397432 [INFO] Register Signaling Settings [LumenVox-RTSP-Settings]
2020-05-27 10:14:00:397444 [NOTICE] Create MRCPv2 Profile [lv2]
2020-05-27 10:14:00:397451 [INFO] Register Profile [lv2]
2020-05-27 10:14:00:397458 [NOTICE] Create MRCPv1 Profile [lv1]
2020-05-27 10:14:00:397464 [INFO] Register Profile [lv1]
2020-05-27 10:14:00:397471 [NOTICE] Open Config File [/root/unimrcp/conf/client-profiles/speechpro.xml]
2020-05-27 10:14:00:397525 [INFO] Create RTSP Settings 127.0.0.1:8000
2020-05-27 10:14:00:397532 [INFO] Register Signaling Settings [SpeechPro-RTSP-Settings]
2020-05-27 10:14:00:397540 [NOTICE] Create MRCPv1 Profile [sp1]
2020-05-27 10:14:00:397546 [INFO] Register Profile [sp1]
2020-05-27 10:14:00:397563 [INFO] Leave Directory [/root/unimrcp/conf]
2020-05-27 10:14:00:397583 [NOTICE] Create Application
2020-05-27 10:14:00:397590 [INFO] Register Application [synth]
2020-05-27 10:14:00:397597 [NOTICE] Create Application
2020-05-27 10:14:00:397636 [INFO] Register Application [recog]
2020-05-27 10:14:00:397662 [INFO] Start Task [Framework Agent]
2020-05-27 10:14:00:397741 [INFO] Start Task [MRCP Client]
2020-05-27 10:14:00:397818 [NOTICE] Run Demo Framework
2020-05-27 10:14:00:397863 [INFO] Start Task [SIP-Agent-1]
2020-05-27 10:14:00:397957 [INFO] Start Task [RTSP-Agent-1]
2020-05-27 10:14:00:398012 [INFO] Start Task [MRCPv2-Agent-1]
2020-05-27 10:14:00:398792 [INFO] Start Task [Media-Engine-1]
sres: /etc/resolv.conf: unknown option
2020-05-27 10:14:00:402162 [NOTICE] MRCP Client Started

run recog
2020-05-27 10:14:18:653026 [NOTICE] Run Demo Application Scenario [recog]
2020-05-27 10:14:18:653116 [NOTICE] Create MRCP Handle 0x7f1988000a88 [uni2]
2020-05-27 10:14:18:653155 [INFO] Create Channel 0x7f1988000a88
2020-05-27 10:14:18:653193 [INFO] Receive App Request 0x7f1988000a88 [2]
2020-05-27 10:14:18:653287 [INFO] Add MRCP Handle 0x7f1988000a88
2020-05-27 10:14:18:653353 [NOTICE] Add Control Channel 0x7f1988000a88 new@speechrecog
2020-05-27 10:14:18:659288 [INFO] Send Offer 0x7f1988000a88 [c:1 a:1 v:0] to 127.0.0.1:8060
2020-05-27 10:14:18:659380 [INFO] Local SDP 0x7f1988000a88
v=0
o=UniMRCPClient 0 0 IN IP4 127.0.0.1
s=-
c=IN IP4 127.0.0.1
t=0 0
m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:new
a=resource:speechrecog
a=cmid:1
m=audio 4000 RTP/AVP 0 8 96 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:96 L16/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendonly
a=ptime:20
a=mid:1

2020-05-27 10:14:18:660468 [INFO] Receive SIP Event [nua_i_state] Status 0 INVITE sent [SIP-Agent-1]
tport_udp_error: Connection refused (111) [icmp type=3 code=3]
reported by [127.0.0.1]:0
2020-05-27 10:14:18:660506 [NOTICE] SIP Call State 0x7f1988000a88 [calling]
nta: INVITE (949883611): Connection refused (111) with udp/[127.0.0.1]:8060
2020-05-27 10:14:18:660600 [INFO] Receive SIP Event [nua_r_invite] Status 503 Service Unavailable [SIP-Agent-1]
2020-05-27 10:14:18:660612 [INFO] Receive SIP Event [nua_i_state] Status 503 Service Unavailable [SIP-Agent-1]
2020-05-27 10:14:18:660620 [NOTICE] SIP Call State 0x7f1988000a88 [terminated]
2020-05-27 10:14:18:660674 [INFO] Receive Answer 0x7f1988000a88 [c:0 a:0 v:0] Status 503
2020-05-27 10:14:18:660684 [INFO] Raise App Response 0x7f1988000a88 [2] FAILURE [2]
2020-05-27 10:14:18:660728 [INFO] Receive App Request 0x7f1988000a88 [1]
2020-05-27 10:14:18:660736 [INFO] Terminate Session 0x7f1988000a88
2020-05-27 10:14:18:660770 [INFO] Session Terminated 0x7f1988000a88
2020-05-27 10:14:18:669415 [INFO] Remove MRCP Handle 0x7f1988000a88
2020-05-27 10:14:18:669448 [INFO] Raise App Response 0x7f1988000a88 [1] SUCCESS [0]
2020-05-27 10:14:18:669492 [NOTICE] Destroy MRCP Handle 0x7f1988000a88

Service was not available at 127.0.0.1:8060

Send Offer 0x7f1988000a88 [c:1 a:1 v:0] to 127.0.0.1:8060