Adding mod_unimrcp still needs more testing and some tweaks to config engine... do not forget to come to ClueCON http://www.cluecon.com
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13788 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
b164cbfe9c
commit
ec90221783
|
@ -0,0 +1,20 @@
|
|||
<configuration name="unimrcp.conf" description="UniMRCP Client">
|
||||
<settings>
|
||||
<!-- UniMRCP profile to use for TTS -->
|
||||
<param name="default-tts-profile" value="voxeo-prophecy8.0-mrcp1"/>
|
||||
<!-- UniMRCP profile to use for ASR -->
|
||||
<param name="default-asr-profile" value="voxeo-prophecy8.0-mrcp1"/>
|
||||
<!-- UniMRCP logging level to appear in freeswitch.log. Options are:
|
||||
EMERGENCY|ALERT|CRITICAL|ERROR|WARNING|NOTICE|INFO|DEBUG -->
|
||||
<param name="log-level" value="DEBUG"/>
|
||||
|
||||
<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>
|
||||
|
|
@ -0,0 +1,72 @@
|
|||
<!-- Nuance MRCP 1.0.0 Server -->
|
||||
<profile name="nuance-mrcp1" version="1">
|
||||
<param name="server-ip" value="10.5.5.152"/>
|
||||
<param name="server-port" value="554"/>
|
||||
<param name="resource-location" value=""/>
|
||||
<param name="speechsynth" value="synthesizer"/>
|
||||
<param name="speechrecog" value="recognizer"/>
|
||||
<!--param name="rtp-ext-ip" value="auto"/-->
|
||||
<param name="rtp-ip" value="auto"/>
|
||||
<param name="rtp-port-min" value="4000"/>
|
||||
<param name="rtp-port-max" value="5000"/>
|
||||
<!--param name="playout-delay" value="50"/-->
|
||||
<!--param name="max-playout-delay" value="200"/-->
|
||||
<!--param name="ptime" value="20"/-->
|
||||
<param name="codecs" value="PCMU PCMA L16/96/8000"/>
|
||||
</profile>
|
||||
|
||||
<!-- Nuance Speech Server 5.0 MRCPv1 -->
|
||||
<profile name="nuance5-mrcp1" version="1">
|
||||
<param name="server-ip" value="10.5.5.152"/>
|
||||
<param name="server-port" value="4900"/>
|
||||
<param name="resource-location" value="media"/>
|
||||
<param name="speechsynth" value="speechsynthesizer"/>
|
||||
<param name="speechrecog" value="speechrecognizer"/>
|
||||
<!--param name="rtp-ext-ip" value="auto"/-->
|
||||
<param name="rtp-ip" value="auto"/>
|
||||
<param name="rtp-port-min" value="4000"/>
|
||||
<param name="rtp-port-max" value="5000"/>
|
||||
<!--param name="playout-delay" value="50"/-->
|
||||
<!--param name="max-playout-delay" value="200"/-->
|
||||
<!--param name="ptime" value="20"/-->
|
||||
<param name="codecs" value="PCMU PCMA L16/96/8000"/>
|
||||
</profile>
|
||||
|
||||
<!-- Nuance Speech Server 5.0 MRCPv2 -->
|
||||
<profile name="nuance5-mrcp2" version="2">
|
||||
<!--param name="client-ext-ip" value="auto"-->
|
||||
<param name="client-ip" value="auto"/>
|
||||
<param name="client-port" value="5090"/>
|
||||
<param name="server-ip" value="10.5.5.152"/>
|
||||
<param name="server-port" value="5060"/>
|
||||
<!--param name="force-destination" value="1"/-->
|
||||
<param name="sip-transport" value="udp"/>
|
||||
<!--param name="ua-name" value="FreeSWITCH"/-->
|
||||
<!--param name="sdp-origin" value="FreeSWITCH"/-->
|
||||
<!--param name="rtp-ext-ip" value="auto"/-->
|
||||
<param name="rtp-ip" value="auto"/>
|
||||
<param name="rtp-port-min" value="4000"/>
|
||||
<param name="rtp-port-max" value="5000"/>
|
||||
<!--param name="playout-delay" value="50"/-->
|
||||
<!--param name="max-playout-delay" value="200"/-->
|
||||
<!--param name="ptime" value="20"/-->
|
||||
<param name="codecs" value="PCMU PCMA L16/96/8000"/>
|
||||
</profile>
|
||||
|
||||
<!-- Voxeo Prophecy 8.0 MRCPv1 -->
|
||||
<profile name="voxeo-prophecy8.0-mrcp1" version="1">
|
||||
<param name="server-ip" value="99.185.85.31"/>
|
||||
<param name="server-port" value="554"/>
|
||||
<param name="resource-location" value=""/>
|
||||
<param name="speechsynth" value="synthesizer"/>
|
||||
<param name="speechrecog" value="recognizer"/>
|
||||
<!--param name="rtp-ext-ip" value="auto"/-->
|
||||
<param name="rtp-ip" value="auto"/>
|
||||
<param name="rtp-port-min" value="4000"/>
|
||||
<param name="rtp-port-max" value="5000"/>
|
||||
<!--param name="playout-delay" value="50"/-->
|
||||
<!--param name="max-playout-delay" value="200"/-->
|
||||
<!--param name="ptime" value="20"/-->
|
||||
<param name="codecs" value="PCMU PCMA L16/96/8000"/>
|
||||
</profile>
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
BASE=../../../../
|
||||
|
||||
UNIMRCP_DIR=$(switch_srcdir)/libs/unimrcp
|
||||
UNIMRCPLA=$(UNIMRCP_DIR)/platforms/libunimrcp-client/libunimrcpclient.la
|
||||
LOCAL_CFLAGS=-I.
|
||||
LOCAL_CFLAGS+=-I$(switch_srcdir)/libs/apr/include
|
||||
LOCAL_CFLAGS+=-I$(switch_srcdir)/libs/apr-util/include
|
||||
LOCAL_CFLAGS+=-I$(UNIMRCP_DIR)/platforms/libunimrcp-client/include
|
||||
LOCAL_CFLAGS+=-I$(UNIMRCP_DIR)/modules/mrcp-sofiasip/include
|
||||
LOCAL_CFLAGS+=-I$(UNIMRCP_DIR)/modules/mrcp-unirtsp/include
|
||||
LOCAL_CFLAGS+=-I$(UNIMRCP_DIR)/libs/mrcp-client/include
|
||||
LOCAL_CFLAGS+=-I$(UNIMRCP_DIR)/libs/mrcp-signaling/include
|
||||
LOCAL_CFLAGS+=-I$(UNIMRCP_DIR)/libs/mrcpv2-transport/include
|
||||
LOCAL_CFLAGS+=-I$(UNIMRCP_DIR)/libs/mrcp/include
|
||||
LOCAL_CFLAGS+=-I$(UNIMRCP_DIR)/libs/mrcp/message/include
|
||||
LOCAL_CFLAGS+=-I$(UNIMRCP_DIR)/libs/mrcp/control/include
|
||||
LOCAL_CFLAGS+=-I$(UNIMRCP_DIR)/libs/mrcp/resources/include
|
||||
LOCAL_CFLAGS+=-I$(UNIMRCP_DIR)/libs/mpf/include
|
||||
LOCAL_CFLAGS+=-I$(UNIMRCP_DIR)/libs/apr-toolkit/include
|
||||
LOCAL_LIBADD=$(UNIMRCPLA)
|
||||
|
||||
include $(BASE)/build/modmake.rules
|
||||
|
||||
$(UNIMRCPLA): $(UNIMRCP_DIR)
|
||||
cd $(UNIMRCP_DIR) && $(MAKE)
|
||||
$(TOUCH_TARGET)
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue