I am working on a IVR based speech bot. In my setup I have FreeSWITCH and uniMRCP communicating with each other for ASR and TTS.
I am using trial version of Azure SR plugin for ASR, but I am facing issue with same. Though the initial invite is successful, the ASR itself is not working and I see no logs in unimrcp w.r.t. ASR call being sent to Azure. FreeSWITCH and uniMRCP are installed on 2 different servers and I have verified the connectivity between the two servers.
As I am doing this for the first time I need help from the community with the issue I am facing.
2021-02-19 12:02:46:694905 [INFO] Load Plugin [Azure-SR-1] [/opt/unimrcp/plugin/umsazuresr.so]
2021-02-19 12:02:46:699891 [NOTICE] AZURESR Plugin Version [1.17.0] Date [2021-02-08]
2021-02-19 12:02:46:701070 [INFO] Register MRCP Engine [Azure-SR-1]
2021-02-19 12:02:46:701089 [INFO] Register RTP Settings [RTP-Settings-1]
2021-02-19 12:02:46:701099 [NOTICE] Create MRCPv2 Profile [uni2]
2021-02-19 12:02:46:701105 [INFO] Associate Resource [speechrecog] to Engine [Azure-SR-1] in Profile [uni2]
2021-02-19 12:02:46:701113 [INFO] Register Profile [uni2]
2021-02-19 12:02:46:701117 [NOTICE] Create MRCPv1 Profile [uni1]
2021-02-19 12:02:46:701122 [INFO] Associate Resource [speechrecog] to Engine [Azure-SR-1] in Profile [uni1]
2021-02-19 12:02:46:701127 [INFO] Register Profile [uni1]
2021-02-19 12:02:46:701131 [INFO] Start Task [MRCP Server]
>2021-02-19 12:02:46:701233 [INFO] Open Engine [Azure-SR-1]
2021-02-19 12:02:46:701251 [NOTICE] Open Config File [/opt/unimrcp/conf/umsazuresr.xml]
2021-02-19 12:02:46:701639 [NOTICE] Determined License File /opt/unimrcp/data/umsazuresr_bcab1663-0150-4f86-af25-da8734442864.lic
2021-02-19 12:02:46:701763 [INFO] Start Task [SIP-Agent-1]
2021-02-19 12:02:46:701783 [NOTICE] AzureSR Usage: 0/0/0
2021-02-19 12:02:46:701817 [INFO] Start Task [RTSP-Agent-1]
2021-02-19 12:02:46:702397 [INFO] Start Task [MRCPv2-Agent-1]
2021-02-19 12:02:46:702440 [INFO] Start Task [Media-Engine-1]
2021-02-19 12:02:46:702744 [NOTICE] UniMRCP AzureSR License
-product name: umsazuresr
-product version: 1.0.0
-license owner: -
-license type: trial
-issue date: 2021-02-17
-exp date: 2021-03-19
-channel count: 2
-feature set: 0
2021-02-19 12:02:46:702863 [INFO] Create Utterance Manager
2021-02-19 12:02:46:702906 [NOTICE] Populate files from /opt/unimrcp/var/ pattern [umsazuresr-*.wav] max-count [100] max-age [60 min] purge-existing [0]
2021-02-19 12:02:46:702915 [INFO] Create RDR Manager
2021-02-19 12:02:46:702955 [NOTICE] Populate files from /opt/unimrcp/var/ pattern [umsazuresr-*.json] max-count [100] max-age [60 min] purge-existing [0]
2021-02-19 12:02:46:702956 [NOTICE] AzureSR Usage: 0/0/2
2021-02-19 12:02:46:703222 [INFO] Start HTTP client event loop
2021-02-19 12:02:46:703249 [NOTICE] MRCP Server Started
2021-02-19 12:02:46:771193 [INFO] Set HTTP request timer 30 sec for <AzureSR>
2021-02-19 12:02:46:871480 [INFO] Access token retrieved [776 bytes] <AzureSR>
2021-02-19 12:02:46:871484 [INFO] Clear HTTP timer <AzureSR>
2021-02-19 12:02:46:871488 [INFO] Close HTTP connection <AzureSR>
2021-02-19 12:02:46:871493 [INFO] Set revalidation timer [480 sec] for <AzureSR>
2021-02-19 12:03:28:666293 [INFO] Receive SIP Event [nua_i_invite] Status 100 Trying [SIP-Agent-1]
2021-02-19 12:03:28:666330 [INFO] Receive SIP Event [nua_i_state] Status 100 Trying [SIP-Agent-1]
2021-02-19 12:03:28:666341 [NOTICE] SIP Call State [received]
2021-02-19 12:03:28:666369 [INFO] Create Session 0x7f9660001cb8 <new> [uni2]
2021-02-19 12:03:28:666384 [INFO] Remote SDP 0x7f9660001cb8 <new>
v=0
o=FreeSWITCH 6909019815214770101 1963679284402576501 IN IP4 35.154.97.204
s=-
c=IN IP4 35.154.97.204
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 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendonly
a=mid:1
2021-02-19 12:03:28:666539 [NOTICE] Add Session <bcb7e8ce86be428e>
2021-02-19 12:03:28:666562 [INFO] Receive Offer 0x7f9660001cb8 <bcb7e8ce86be428e> [c:1 a:1 v:0]
2021-02-19 12:03:28:666574 [INFO] Found MRCP Engine [Azure-SR-1] for Resource [speechrecog] 0x7f9660001cb8 <bcb7e8ce86be428e>
2021-02-19 12:03:28:666640 [INFO] Add Pending Control Channel <bcb7e8ce86be428e@speechrecog> [1]
2021-02-19 12:03:28:672682 [INFO] Enable RTP Session 10.2.2.7:5000 2021-02-19 12:03:28:672707 [INFO] Open RTP Receiver 10.2.2.7:5000 <- 35.154.97.204:4000 playout [50 ms] bounds [0 - 600 ms] adaptive [1] skew detection [1] 2021-02-19 12:03:28:672713 [INFO] Media Path 0x7f9660001cb8 Source->[PCMU/8000/1]->Decoder->[LPCM/8000/1]->Bridge->[LPCM/8000/1]->Sink
2021-02-19 12:03:28:672847 [INFO] Open <bcb7e8ce86be428e@azuresr>
2021-02-19 12:03:28:672874 [NOTICE] AzureSR Usage: 1/1/2
2021-02-19 12:03:28:672900 [INFO] Send Answer 0x7f9660001cb8 <bcb7e8ce86be428e> [c:1 a:1 v:0] Status OK
2021-02-19 12:03:28:672930 [INFO] Local SDP 0x7f9660001cb8 <bcb7e8ce86be428e>
v=0
o=UniMRCPServer 0 0 IN IP4 10.2.2.7
s=-
c=IN IP4 10.2.2.7
t=0 0
m=application 1544 TCP/MRCPv2 1
a=setup:passive
a=connection:new
a=channel:bcb7e8ce86be428e@speechrecog
a=cmid:1
m=audio 5000 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=recvonly
a=mid:1
2021-02-19 12:03:28:673328 [INFO] Receive SIP Event [nua_i_state] Status 200 OK [SIP-Agent-1]
2021-02-19 12:03:28:673350 [NOTICE] SIP Call State 0x7f9660001cb8 [completed]
2021-02-19 12:04:00:672952 [INFO] Receive SIP Event [nua_i_error] Status 408 ACK Timeout [SIP-Agent-1]
2021-02-19 12:04:00:672993 [INFO] Receive SIP Event [nua_i_state] Status 0 ACK Timeout [SIP-Agent-1]
2021-02-19 12:04:00:673001 [NOTICE] SIP Call State 0x7f9660001cb8 [terminating]
2021-02-19 12:04:00:677503 [INFO] Receive SIP Event [nua_r_bye] Status 200 OK [SIP-Agent-1]
2021-02-19 12:04:00:677529 [INFO] Receive SIP Event [nua_i_state] Status 200 to BYE [SIP-Agent-1]
2021-02-19 12:04:00:677535 [NOTICE] SIP Call State 0x7f9660001cb8 [terminated]
2021-02-19 12:04:00:677551 [INFO] Receive SIP Event [nua_i_terminated] Status 200 to BYE [SIP-Agent-1]
2021-02-19 12:04:00:677576 [INFO] Deactivate Session 0x7f9660001cb8 <bcb7e8ce86be428e>
2021-02-19 12:04:00:677592 [INFO] Terminate Session 0x7f9660001cb8 <bcb7e8ce86be428e>
2021-02-19 12:04:00:677755 [INFO] Close <bcb7e8ce86be428e@azuresr>
2021-02-19 12:04:00:677789 [NOTICE] AzureSR Usage: 0/1/2
2021-02-19 12:04:00:677759 [INFO] Remove Pending Control Channel <bcb7e8ce86be428e@speechrecog> [0]
2021-02-19 12:04:00:682606 [INFO] Remove RTP Session 10.2.2.7:5000 2021-02-19 12:04:00:682659 [NOTICE] Remove Session <bcb7e8ce86be428e>
2021-02-19 12:04:00:682672 [INFO] Session Terminated 0x7f9660001cb8 <bcb7e8ce86be428e>
2021-02-19 12:04:00:682697 [NOTICE] Destroy Session <bcb7e8ce86be428e>
2021-02-19 12:10:46:901377 [INFO] Revalidate access token for HTTP auth <AzureSR>