UniMRCP Yandex SR Plugin Asterisk

72 vues
Accéder directement au premier message non lu

Тимофей Пупышев

non lue,
22 mai 2022, 19:34:3222/05/2022
à UniMRCP
Hi.

I have a problem. 

The answer from Yandex comes with a capital letter at the beginning.

<result>
    --   <interpretation grammar="session:grammar-0" confidence="1">
    --     <instance></instance>
    --     <input mode="speech">Не знаю</input>
    --   </interpretation>
    -- </result>") in new stack

my test grammar:

<?xml version="1.0"?>

 <grammar mode="voice" root="transcribe">
        <rule id="transcribe">

          <one-of>
            <item>да<tag>Yes</tag></item>
            <item>нет<tag>No</tag></item>
            <item>незнаю<tag>No</tag></item>
            <item>не знаю<tag>No</tag></item>
         </one-of>
       </rule>
      </grammar>

how to make case insensitive?

Arsen Chaloyan

non lue,
28 mai 2022, 13:48:5728/05/2022
à UniMRCP
Hi Timofey,

What version of the Yandex SR plugin do you use? The comparison has been made case insensitive for quite a while.

--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unimrcp/8002e060-753c-4f8b-9c2c-51063a9abdd5n%40googlegroups.com.


--
Arsen Chaloyan
Author of UniMRCP
http://www.unimrcp.org

Тимофей Пупышев

non lue,
29 mai 2022, 04:42:0729/05/2022
à UniMRCP
Hi.

2022-05-29 12:38:41:924785 [NOTICE] YANDEXSR Plugin Version [1.7.0] Date [2021-12-28]
2022-05-29 12:38:41:928061 [NOTICE] YANDEXSS Plugin Version [1.5.0] Date [2021-12-28]
Asterisk 18.12.1
asterisk unimrcp 1.8.0



суббота, 28 мая 2022 г. в 21:48:57 UTC+4, Arsen Chaloyan:

Тимофей Пупышев

non lue,
30 mai 2022, 10:03:3730/05/2022
à UniMRCP
Hi, Arsen.

My log from asterisk. Maybe it will be useful

    -- Executing [10@main:1] Answer("PJSIP/test-0000000e", "") in new stack
       > 0x7fbfb4037080 -- Strict RTP learning after remote address set to: 192.168.0.166:5058
       > 0x7fbfb4037080 -- Strict RTP switching to RTP target address 192.168.0.166:5058 as source
    -- Executing [10@main:2] SynthAndRecog("PJSIP/test-0000000e", ""Привет",/opt/unimrcp/data/evolvex/yesno.xml,b=1&t=5000") in new stack
[May 30 18:02:22] NOTICE[59327][C-0000000f]: app_synthandrecog.c:1345 app_synthandrecog_exec: SynthAndRecog() prompt: Привет
[May 30 18:02:22] NOTICE[59327][C-0000000f]: app_synthandrecog.c:1353 app_synthandrecog_exec: SynthAndRecog() grammar: /opt/unimrcp/data/evolvex/yesno.xml
[May 30 18:02:22] NOTICE[59327][C-0000000f]: app_synthandrecog.c:1369 app_synthandrecog_exec: SynthAndRecog() options: b=1&t=5000
[May 30 18:02:22] NOTICE[59327][C-0000000f]: src/mrcp_application.c:117  Create MRCP Handle 0x7fbfb0014d48 [ums2]
[May 30 18:02:22] NOTICE[59327][C-0000000f]: src/mrcp_client_session.c:131  Create Channel ASR-23 <new>
[May 30 18:02:22] NOTICE[33612]: src/mrcp_client_session.c:385  Receive App Request ASR-23 <new> [2]
[May 30 18:02:22] NOTICE[33612]: src/mrcp_client.c:697  Add MRCP Handle ASR-23 <new>
[May 30 18:02:22] NOTICE[33612]: src/mrcp_client_session.c:717  Add Control Channel ASR-23 <new@speechrecog>
[May 30 18:02:22] NOTICE[33612]: src/mrcp_client_session.c:409  Send Offer ASR-23 <new> [c:1 a:1 v:0] to 192.168.0.182:8060
[May 30 18:02:22] NOTICE[33612]: src/mrcp_sofiasip_client_agent.c:357  Local SDP ASR-23 <new>
v=0
o=Asterisk 0 0 IN IP4 192.168.0.188
s=-
c=IN IP4 192.168.0.188
t=0 0
m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:new
a=resource:speechrecog
a=cmid:1
m=audio 28082 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

[May 30 18:02:22] NOTICE[33615]: src/mrcp_sofiasip_client_agent.c:617  Receive SIP Event [nua_i_state] Status 0 INVITE sent [ums2]
[May 30 18:02:22] NOTICE[33615]: src/mrcp_sofiasip_client_agent.c:555  SIP Call State ASR-23 [calling]
[May 30 18:02:22] NOTICE[33615]: src/mrcp_sofiasip_client_agent.c:617  Receive SIP Event [nua_r_invite] Status 200 OK [ums2]
[May 30 18:02:22] NOTICE[33615]: src/mrcp_sofiasip_client_agent.c:617  Receive SIP Event [nua_i_state] Status 200 OK [ums2]
[May 30 18:02:22] NOTICE[33615]: src/mrcp_sofiasip_client_agent.c:555  SIP Call State ASR-23 [ready]
[May 30 18:02:22] NOTICE[33615]: src/mrcp_sofiasip_client_agent.c:441  Remote SDP ASR-23 <new>
v=0
o=UniMRCPServer 7792092349649889244 1158120471182182552 IN IP4 192.168.0.182
s=-
c=IN IP4 192.168.0.182
t=0 0
m=application 1544 TCP/MRCPv2 1
a=setup:passive
a=connection:new
a=channel:e5aa2f8ad74e4b01@speechrecog
a=cmid:1
m=audio 5012 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=recvonly
a=ptime:20
a=mid:1

[May 30 18:02:22] NOTICE[33615]: src/mrcp_sofiasip_client_agent.c:617  Receive SIP Event [nua_i_active] Status 200 Call active [ums2]
[May 30 18:02:22] NOTICE[33612]: src/mrcp_client_session.c:149  Receive Answer ASR-23 <new> [c:1 a:1 v:0] Status 200
[May 30 18:02:22] NOTICE[33613]: src/mrcp_client_connection.c:346  Established TCP/MRCPv2 Connection 192.168.0.188:47856 <-> 192.168.0.182:1544
[May 30 18:02:22] NOTICE[33613]: src/mrcp_client_connection.c:456  Add Control Channel <e5aa2f8ad74e4b01@speechrecog> 192.168.0.188:47856 <-> 192.168.0.182:1544 [1]
[May 30 18:02:22] NOTICE[33614]: src/mpf_rtp_stream.c:331  Enable RTP Session 192.168.0.188:28082
[May 30 18:02:22] NOTICE[33614]: src/mpf_rtp_stream.c:921  Open RTP Transmitter 192.168.0.188:28082 -> 192.168.0.182:5012
[May 30 18:02:22] NOTICE[33614]: src/mpf_bridge.c:91  Media Path ASR-23 Source->[PCMU/8000/1]->Bridge->[PCMU/8000/1]->Sink
[May 30 18:02:22] NOTICE[33612]: src/mrcp_client_session.c:453  Raise App Response ASR-23 <e5aa2f8ad74e4b01> [2] SUCCESS [0]
[May 30 18:02:22] NOTICE[33612]: app_synthandrecog.c:275 speech_on_channel_add: (ASR-23) Channel ready codec=PCMU, sample rate=8000
[May 30 18:02:22] NOTICE[33612]: src/mrcp_client_session.c:390  Receive App MRCP Request ASR-23 <e5aa2f8ad74e4b01>
[May 30 18:02:22] NOTICE[33612]: src/mrcp_client_session.c:620  Send MRCP Request ASR-23 <e5aa2f8ad74e4b01@speechrecog> [1]
[May 30 18:02:22] NOTICE[33613]: src/mrcp_client_connection.c:551  Send MRCPv2 Data 192.168.0.188:47856 <-> 192.168.0.182:1544 [839 bytes]
MRCP/2.0 839 DEFINE-GRAMMAR 1
Channel-Identifier: e5aa2f8ad74e4b01@speechrecog
Content-Type: application/srgs+xml
Content-Id: grammar-0
Content-Length: 676

<?xml version="1.0" encoding="UTF-8"?>
<grammar mode="voice" root="transcribe" version="1.0" xml:lang="ru-RU" xmlns="http://www.w3.org/2001/06/grammar">
  <rule id="transcribe">
    <one-of>
      <item>хорошо<tag>Yes</tag></item>
      <item>конечно<tag>Yes</tag></item>

      <item>да<tag>Yes</tag></item>

      <item>нет<tag>No</tag></item>
      <item>не звоните мне больше<tag>No</tag></item>
      <item>мне сейчас некогда<tag>No</tag></item>
      <item>некогда<tag>No</tag></item>

      <item>незнаю<tag>No</tag></item>
      <item>не знаю<tag>No</tag></item>

    </one-of>
  </rule>
</grammar>

[May 30 18:02:22] NOTICE[33613]: src/mrcp_client_connection.c:656  Receive MRCPv2 Data 192.168.0.188:47856 <-> 192.168.0.182:1544 [112 bytes]
MRCP/2.0 112 1 200 COMPLETE
Channel-Identifier: e5aa2f8ad74e4b01@speechrecog
Completion-Cause: 000 success


[May 30 18:02:22] NOTICE[33612]: src/mrcp_client_session.c:498  Raise App MRCP Response ASR-23 <e5aa2f8ad74e4b01>
[May 30 18:02:22] NOTICE[59327][C-0000000f]: app_synthandrecog.c:1662 app_synthandrecog_exec: (ASR-23) Recognizing, Start-Input-Timers: 0
[May 30 18:02:22] NOTICE[33612]: src/mrcp_client_session.c:390  Receive App MRCP Request ASR-23 <e5aa2f8ad74e4b01>
[May 30 18:02:22] NOTICE[33612]: src/mrcp_client_session.c:620  Send MRCP Request ASR-23 <e5aa2f8ad74e4b01@speechrecog> [2]
[May 30 18:02:22] NOTICE[33613]: src/mrcp_client_connection.c:551  Send MRCPv2 Data 192.168.0.188:47856 <-> 192.168.0.182:1544 [222 bytes]
MRCP/2.0 222 RECOGNIZE 2
Channel-Identifier: e5aa2f8ad74e4b01@speechrecog
Content-Type: text/uri-list
Cancel-If-Queue: false
Start-Input-Timers: false
Recognition-Timeout: 5000
Content-Length: 17

session:grammar-0
[May 30 18:02:22] NOTICE[33613]: src/mrcp_client_connection.c:656  Receive MRCPv2 Data 192.168.0.188:47856 <-> 192.168.0.182:1544 [83 bytes]
MRCP/2.0 83 2 200 IN-PROGRESS
Channel-Identifier: e5aa2f8ad74e4b01@speechrecog


[May 30 18:02:22] NOTICE[33612]: src/mrcp_client_session.c:498  Raise App MRCP Response ASR-23 <e5aa2f8ad74e4b01>
[May 30 18:02:22] NOTICE[59327][C-0000000f]: src/mrcp_application.c:117  Create MRCP Handle 0x7fbfb0024d98 [ums2]
[May 30 18:02:22] NOTICE[59327][C-0000000f]: src/mrcp_client_session.c:131  Create Channel TTS-23 <new>
[May 30 18:02:22] NOTICE[33612]: src/mrcp_client_session.c:385  Receive App Request TTS-23 <new> [2]
[May 30 18:02:22] NOTICE[33612]: src/mrcp_client.c:697  Add MRCP Handle TTS-23 <new>
[May 30 18:02:22] NOTICE[33612]: src/mrcp_client_session.c:717  Add Control Channel TTS-23 <new@speechsynth>
[May 30 18:02:22] NOTICE[33612]: src/mrcp_client_session.c:409  Send Offer TTS-23 <new> [c:1 a:1 v:0] to 192.168.0.182:8060
[May 30 18:02:22] NOTICE[33612]: src/mrcp_sofiasip_client_agent.c:357  Local SDP TTS-23 <new>
v=0
o=Asterisk 0 0 IN IP4 192.168.0.188
s=-
c=IN IP4 192.168.0.188
t=0 0
m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:new
a=resource:speechsynth
a=cmid:1
m=audio 28084 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=recvonly
a=ptime:20
a=mid:1

[May 30 18:02:22] NOTICE[33615]: src/mrcp_sofiasip_client_agent.c:617  Receive SIP Event [nua_i_state] Status 0 INVITE sent [ums2]
[May 30 18:02:22] NOTICE[33615]: src/mrcp_sofiasip_client_agent.c:555  SIP Call State TTS-23 [calling]
[May 30 18:02:22] NOTICE[33615]: src/mrcp_sofiasip_client_agent.c:617  Receive SIP Event [nua_r_invite] Status 200 OK [ums2]
[May 30 18:02:22] NOTICE[33615]: src/mrcp_sofiasip_client_agent.c:617  Receive SIP Event [nua_i_state] Status 200 OK [ums2]
[May 30 18:02:22] NOTICE[33615]: src/mrcp_sofiasip_client_agent.c:555  SIP Call State TTS-23 [ready]
[May 30 18:02:22] NOTICE[33615]: src/mrcp_sofiasip_client_agent.c:441  Remote SDP TTS-23 <new>
v=0
o=UniMRCPServer 5286497107045677101 4561845649598149344 IN IP4 192.168.0.182
s=-
c=IN IP4 192.168.0.182
t=0 0
m=application 1544 TCP/MRCPv2 1
a=setup:passive
a=connection:new
a=channel:486bdf327b934d95@speechsynth
a=cmid:1
m=audio 5014 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendonly
a=ptime:20
a=mid:1

[May 30 18:02:22] NOTICE[33615]: src/mrcp_sofiasip_client_agent.c:617  Receive SIP Event [nua_i_active] Status 200 Call active [ums2]
[May 30 18:02:22] NOTICE[33612]: src/mrcp_client_session.c:149  Receive Answer TTS-23 <new> [c:1 a:1 v:0] Status 200
[May 30 18:02:22] NOTICE[33613]: src/mrcp_client_connection.c:346  Established TCP/MRCPv2 Connection 192.168.0.188:47858 <-> 192.168.0.182:1544
[May 30 18:02:22] NOTICE[33613]: src/mrcp_client_connection.c:456  Add Control Channel <486bdf327b934d95@speechsynth> 192.168.0.188:47858 <-> 192.168.0.182:1544 [1]
[May 30 18:02:22] NOTICE[33614]: src/mpf_rtp_stream.c:331  Enable RTP Session 192.168.0.188:28084
[May 30 18:02:22] NOTICE[33614]: src/mpf_rtp_stream.c:509  Open RTP Receiver 192.168.0.188:28084 <- 192.168.0.182:5014 playout [50 ms] bounds [0 - 200 ms] adaptive [0] skew detection [1]
[May 30 18:02:22] NOTICE[33614]: src/mpf_bridge.c:91  Media Path TTS-23 Source->[PCMU/8000/1]->Bridge->[PCMU/8000/1]->Sink
[May 30 18:02:22] NOTICE[33612]: src/mrcp_client_session.c:453  Raise App Response TTS-23 <486bdf327b934d95> [2] SUCCESS [0]
[May 30 18:02:22] NOTICE[33612]: app_synthandrecog.c:275 speech_on_channel_add: (TTS-23) Channel ready codec=PCMU, sample rate=8000
[May 30 18:02:22] NOTICE[33612]: src/mrcp_client_session.c:390  Receive App MRCP Request TTS-23 <486bdf327b934d95>
[May 30 18:02:22] NOTICE[33612]: src/mrcp_client_session.c:620  Send MRCP Request TTS-23 <486bdf327b934d95@speechsynth> [1]
[May 30 18:02:22] NOTICE[33613]: src/mrcp_client_connection.c:551  Send MRCPv2 Data 192.168.0.188:47858 <-> 192.168.0.182:1544 [132 bytes]
MRCP/2.0 132 SPEAK 1
Channel-Identifier: 486bdf327b934d95@speechsynth
Content-Type: text/plain
Content-Length: 12

       > ▒ривет
[May 30 18:02:22] NOTICE[33613]: src/mrcp_client_connection.c:656  Receive MRCPv2 Data 192.168.0.188:47858 <-> 192.168.0.182:1544 [83 bytes]
MRCP/2.0 83 1 200 IN-PROGRESS
Channel-Identifier: 486bdf327b934d95@speechsynth


[May 30 18:02:22] NOTICE[33612]: src/mrcp_client_session.c:498  Raise App MRCP Response TTS-23 <486bdf327b934d95>
[May 30 18:02:23] NOTICE[33613]: src/mrcp_client_connection.c:656  Receive MRCPv2 Data 192.168.0.188:47858 <-> 192.168.0.182:1544 [122 bytes]
MRCP/2.0 122 SPEAK-COMPLETE 1 COMPLETE
Channel-Identifier: 486bdf327b934d95@speechsynth
Completion-Cause: 000 normal


[May 30 18:02:23] NOTICE[33612]: src/mrcp_client_session.c:514  Raise App MRCP Event TTS-23 <486bdf327b934d95>
[May 30 18:02:23] NOTICE[33612]: src/mrcp_client_session.c:390  Receive App MRCP Request ASR-23 <e5aa2f8ad74e4b01>
[May 30 18:02:23] NOTICE[33612]: src/mrcp_client_session.c:620  Send MRCP Request ASR-23 <e5aa2f8ad74e4b01@speechrecog> [3]
[May 30 18:02:23] NOTICE[33613]: src/mrcp_client_connection.c:551  Send MRCPv2 Data 192.168.0.188:47856 <-> 192.168.0.182:1544 [86 bytes]
MRCP/2.0 86 START-INPUT-TIMERS 3
Channel-Identifier: e5aa2f8ad74e4b01@speechrecog


[May 30 18:02:23] NOTICE[33613]: src/mrcp_client_connection.c:656  Receive MRCPv2 Data 192.168.0.188:47856 <-> 192.168.0.182:1544 [80 bytes]
MRCP/2.0 80 3 200 COMPLETE
Channel-Identifier: e5aa2f8ad74e4b01@speechrecog


[May 30 18:02:23] NOTICE[33612]: src/mrcp_client_session.c:498  Raise App MRCP Response ASR-23 <e5aa2f8ad74e4b01>
[May 30 18:02:25] NOTICE[33613]: src/mrcp_client_connection.c:656  Receive MRCPv2 Data 192.168.0.188:47856 <-> 192.168.0.182:1544 [115 bytes]
MRCP/2.0 115 START-OF-INPUT 2 IN-PROGRESS
Channel-Identifier: e5aa2f8ad74e4b01@speechrecog
Input-Type: speech


[May 30 18:02:25] NOTICE[33612]: src/mrcp_client_session.c:514  Raise App MRCP Event ASR-23 <e5aa2f8ad74e4b01>
[May 30 18:02:25] NOTICE[33613]: src/mrcp_client_connection.c:656  Receive MRCPv2 Data 192.168.0.188:47856 <-> 192.168.0.182:1544 [374 bytes]
MRCP/2.0 374 RECOGNITION-COMPLETE 2 COMPLETE
Channel-Identifier: e5aa2f8ad74e4b01@speechrecog
Completion-Cause: 001 no-match
Content-Type: application/x-nlsml
Content-Length: 188

<?xml version="1.0"?>
<result>

  <interpretation grammar="session:grammar-0" confidence="1">
    <instance></instance>
    <input mode="speech">Нет</input>
  </interpretation>
</result>
[May 30 18:02:25] NOTICE[33612]: src/mrcp_client_session.c:514  Raise App MRCP Event ASR-23 <e5aa2f8ad74e4b01>
[May 30 18:02:25] NOTICE[59327][C-0000000f]: app_synthandrecog.c:643 recog_channel_get_results: (ASR-23) Result:

<?xml version="1.0"?>
<result>

  <interpretation grammar="session:grammar-0" confidence="1">
    <instance></instance>
    <input mode="speech">Нет</input>
  </interpretation>
</result>
[May 30 18:02:25] NOTICE[33612]: src/mrcp_client_session.c:385  Receive App Request TTS-23 <486bdf327b934d95> [1]
[May 30 18:02:25] NOTICE[33612]: src/mrcp_client_session.c:828  Terminate Session TTS-23 <486bdf327b934d95>
[May 30 18:02:25] NOTICE[33613]: src/mrcp_client_connection.c:480  Remove Control Channel <486bdf327b934d95@speechsynth> [0]
[May 30 18:02:25] NOTICE[33613]: src/mrcp_client_connection.c:407  Close TCP/MRCPv2 Connection 192.168.0.188:47858 <-> 192.168.0.182:1544
[May 30 18:02:25] NOTICE[33614]: src/mpf_rtp_stream.c:541  Close RTP Receiver 192.168.0.188:28084 <- 192.168.0.182:5014 [r:24 l:0 j:53 p:50 d:0 i:0]
[May 30 18:02:25] NOTICE[33614]: src/mpf_rtp_stream.c:418  Remove RTP Session 192.168.0.188:28084
[May 30 18:02:25] NOTICE[33615]: src/mrcp_sofiasip_client_agent.c:617  Receive SIP Event [nua_r_bye] Status 200 OK [ums2]
[May 30 18:02:25] NOTICE[33615]: src/mrcp_sofiasip_client_agent.c:617  Receive SIP Event [nua_i_state] Status 200 to BYE [ums2]
[May 30 18:02:25] NOTICE[33615]: src/mrcp_sofiasip_client_agent.c:555  SIP Call State TTS-23 [terminated]
[May 30 18:02:25] NOTICE[33612]: src/mrcp_client_session.c:207  Session Terminated TTS-23 <486bdf327b934d95>
[May 30 18:02:25] NOTICE[33612]: src/mrcp_client_connection.c:243  Destroy TCP/MRCPv2 Connection 192.168.0.188:47858 <-> 192.168.0.182:1544
[May 30 18:02:25] NOTICE[33612]: src/mrcp_client.c:707  Remove MRCP Handle TTS-23 <486bdf327b934d95>
[May 30 18:02:25] NOTICE[33612]: src/mrcp_client_session.c:453  Raise App Response TTS-23 <486bdf327b934d95> [1] SUCCESS [0]
[May 30 18:02:25] NOTICE[33612]: src/mrcp_application.c:211  Destroy MRCP Handle TTS-23
[May 30 18:02:25] NOTICE[33612]: src/mrcp_client_session.c:385  Receive App Request ASR-23 <e5aa2f8ad74e4b01> [1]
[May 30 18:02:25] NOTICE[33612]: src/mrcp_client_session.c:828  Terminate Session ASR-23 <e5aa2f8ad74e4b01>
[May 30 18:02:25] NOTICE[33613]: src/mrcp_client_connection.c:480  Remove Control Channel <e5aa2f8ad74e4b01@speechrecog> [0]
[May 30 18:02:25] NOTICE[33613]: src/mrcp_client_connection.c:407  Close TCP/MRCPv2 Connection 192.168.0.188:47856 <-> 192.168.0.182:1544
[May 30 18:02:25] NOTICE[33615]: src/mrcp_sofiasip_client_agent.c:617  Receive SIP Event [nua_r_bye] Status 200 OK [ums2]
[May 30 18:02:25] NOTICE[33615]: src/mrcp_sofiasip_client_agent.c:617  Receive SIP Event [nua_i_state] Status 200 to BYE [ums2]
[May 30 18:02:25] NOTICE[33615]: src/mrcp_sofiasip_client_agent.c:555  SIP Call State ASR-23 [terminated]
[May 30 18:02:25] NOTICE[33612]: src/mrcp_client_session.c:207  Session Terminated ASR-23 <e5aa2f8ad74e4b01>
[May 30 18:02:25] NOTICE[33614]: src/mpf_rtp_stream.c:935  Close RTP Transmitter 192.168.0.188:28082 -> 192.168.0.182:5012 [s:124 o:19840]
[May 30 18:02:25] NOTICE[33614]: src/mpf_rtp_stream.c:418  Remove RTP Session 192.168.0.188:28082
[May 30 18:02:25] NOTICE[33612]: src/mrcp_client_connection.c:243  Destroy TCP/MRCPv2 Connection 192.168.0.188:47856 <-> 192.168.0.182:1544
[May 30 18:02:25] NOTICE[33612]: src/mrcp_client.c:707  Remove MRCP Handle ASR-23 <e5aa2f8ad74e4b01>
[May 30 18:02:25] NOTICE[33612]: src/mrcp_client_session.c:453  Raise App Response ASR-23 <e5aa2f8ad74e4b01> [1] SUCCESS [0]
[May 30 18:02:25] NOTICE[33612]: src/mrcp_application.c:211  Destroy MRCP Handle ASR-23
[May 30 18:02:25] NOTICE[59327][C-0000000f]: app_synthandrecog.c:1307 synthandrecog_exit: SynthAndRecog() exiting status: OK on PJSIP/test-0000000e
    -- Executing [10@main:3] Hangup("PJSIP/test-0000000e", "") in new stack
  == Spawn extension (main, 10, 3) exited non-zero on 'PJSIP/test-0000000e'


воскресенье, 29 мая 2022 г. в 12:42:07 UTC+4, Тимофей Пупышев:

Arsen Chaloyan

non lue,
11 juin 2022, 16:04:1411/06/2022
à UniMRCP
Hi Timofey,

On one hand, what you are trying to achieve is relatively straightforward and known to work. The problem with different capitalization of letters was supposedly fixed several years ago. As it turns out, though, there is still a problem with non-ASCII characters. The std::transform tolower function does the job right for strings containing ASCII characters only, but is useless for UTF-8. To properly address the problem, a 3-rd party library shall be used, which would be an overkill for such a trivial task. So, we will have to leave this issue as is for now. In the meantime, you may consider specifying items in your grammar starting with both lowercase and uppercase strings.

Тимофей Пупышев

non lue,
15 juin 2022, 01:20:2115/06/2022
à UniMRCP
Thanks Arsen fo answer.



воскресенье, 12 июня 2022 г. в 00:04:14 UTC+4, Arsen Chaloyan:
Répondre à tous
Répondre à l'auteur
Transférer
0 nouveau message