[Freeswitch-users] Audio problems with unimrcp and Vestec ASR

Peter Olsson peter.olsson at visionutveckling.se
Sun Mar 4 17:17:46 MSK 2012


What codec is used on the call leg? I tried some ASR (UniMRCP to Nuance) once, and I noticed that the audio passed to Nuance seemed to fail when using HD audio, when I did the same test with standard PCMA it worked. I never had the time to investigate any further though, since this was onle for a test, and nothing I needed to implement yet.

/Peter

________________________________
Från: freeswitch-users-bounces at lists.freeswitch.org [freeswitch-users-bounces at lists.freeswitch.org] för Peter Steinbach [lists at telefaks.de]
Skickat: den 4 mars 2012 14:57
Till: FreeSWITCH Users Help
Ämne: [Freeswitch-users] Audio problems with unimrcp and Vestec ASR

I have an Audio problem with unimrcp and Vestec ASR with mrcp v1.

This seems to be a similar problem to thread: "ASR from Freeswitch to MS Speech Server [using MRCP Connector] - Audio Problem"

What does work:

  *   MRCP command are passed successsfull in both ways on port 1554 (vestec mrcp server)
  *   Grammar is accepted and recognition is started
  *   I can see RTP stream (wireshark) from FS port 400x to the mrcp server
  *   Result (002 no-input-timeout) is sent back to Freeeswicth and is processed by FS successfully.

What does NOT work:

  *   RTP stream is always empty (silence), i grepped this on the network with ngrep, RTP data is empty, there is no change in the audio data when I speak.
  *   so voice recognition will always time out (002 no-input-timeout)

Here are my configs:
unimrcp.conf.xml
<configuration name="unimrcp.conf" description="UniMRCP Client">
  <settings>
    <param name="default-tts-profile" value="unimrcpserver-mrcp1"/>
    <param name="default-asr-profile" value="unimrcpserver-mrcp1"/>
    <param name="log-level" value="DEBUG"/>
    <param name="enable-profile-events" value="false"/>

    <param name="max-connection-count" value="100"/>
    <param name="offer-new-connection" value="1"/>
  </settings>
  <profiles>
    <X-PRE-PROCESS cmd="include" data="../mrcp_profiles/*.xml"/>
  </profiles>
</configuration>

unimrcpserver-mrcp-v1.xml
<include>
  <!-- UniMRCP Server MRCPv1 -->
  <profile name="unimrcpserver-mrcp1" version="1">
    <param name="server-ip" value="192.168.178.180"/>
    <param name="server-port" value="1554"/>
    <param name="resource-location" value=""/>
    <param name="speechsynth" value="speechsynthesizer"/>
    <param name="speechrecog" value="speechrecognizer"/>
    <param name="rtp-ip" value="auto"/>
    <param name="rtp-port-min" value="4000"/>
    <param name="rtp-port-max" value="5000"/>
    <param name="codecs" value="PCMU PCMA L16/96/8000"/>
    <synthparams>
    </synthparams>
    <!-- Add any default MRCP params for RECOGNIZE requests here -->
    <recogparams>
      <!--param name="start-input-timers" value="false"/-->
    </recogparams>
  </profile>
</include>

See logs here
http://pastebin.freeswitch.org/18570

Any help is appreciated.

Best egards
Peter

--
With kind regards
Peter Steinbach

Telefaks Services GmbH
mailto:lists (att) telefaks.de
Internet: www.telefaks.de<http://www.telefaks.de>



!DSPAM:4f5373f932761937219840!



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list