freeswitch/libs/unimrcp/conf/unimrcpserver.xml
Brian West c7b05ea27c bump rev to upstream r1401
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16719 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-22 15:43:43 +00:00

105 lines
4.0 KiB
XML

<!-- unimrcpserver document -->
<unimrcpserver>
<!-- MRCP resources -->
<resources>
<resource class="speechsynth" enable="1"/>
<resource class="speechrecog" enable="1"/>
<resource class="recorder" enable="1"/>
</resources>
<!-- Server settings (signaling, media, ...) -->
<settings>
<!-- SIP, RTSP signaling agents -->
<signaling>
<agent name="SIP-Agent-1" class="SofiaSIP">
<param name="sip-ip" value="auto"/>
<!-- <param name="sip-ext-ip" value="auto"/> -->
<param name="sip-port" value="8060"/>
<param name="sip-transport" value="udp,tcp"/>
<!-- <param name="force-destination" value="1"/> -->
<param name="ua-name" value="UniMRCP SofiaSIP"/>
<param name="sdp-origin" value="UniMRCPServer"/>
</agent>
<agent name="RTSP-Agent-1" class="UniRTSP">
<param name="rtsp-ip" value="auto"/>
<param name="rtsp-port" value="1554"/>
<!-- <param name="force-destination" value="1"/> -->
<resourcemap>
<param name="speechsynth" value="speechsynthesizer"/>
<param name="speechrecog" value="speechrecognizer"/>
</resourcemap>
</agent>
</signaling>
<!-- MRCPv2 connection agents -->
<connection>
<agent name="MRCPv2-Agent-1">
<param name="mrcp-ip" value="auto"/>
<param name="mrcp-port" value="1544"/>
<param name="max-connection-count" value="100"/>
<!-- <param name="force-new-connection" value="1"/> -->
</agent>
</connection>
<!-- Media engines -->
<media>
<engine name="Media-Engine-1" realtime-rate="1"/>
<rtp name="RTP-Factory-1">
<param name="rtp-ip" value="auto"/>
<!-- <param name="rtp-ext-ip" value="auto"/> -->
<param name="rtp-port-min" value="5000"/>
<param name="rtp-port-max" value="6000"/>
<!-- <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 telephone-event/101/8000"/>
<!-- <param name="codecs" value="PCMU PCMA L16/96/8000 PCMU/97/16000 PCMA/98/16000 L16/99/16000"/> -->
<!-- <param name="own-preference" value="1"/> -->
<!-- enable/disable rtcp support -->
<param name="rtcp" value="0"/>
<!-- rtcp bye policies (rtcp must be enabled first)
0 - disable rtcp bye
1 - send rtcp bye at the end of session
2 - send rtcp bye also at the end of each talkspurt (input)
-->
<param name="rtcp-bye" value="1"/>
<!-- rtcp transmission interval in msec -->
<param name="rtcp-tx-interval" value="5000"/>
<!-- period (timeout) to check for new rtcp messages in msec (set 0 to disable) -->
<param name="rtcp-rx-resolution" value="1000"/>
</rtp>
</media>
<!-- Resource plugins -->
<plugin>
<engine name="Cepstral-Swift-1" class="mrcpcepstral" enable="0"/>
<engine name="PocketSphinx-1" class="mrcppocketsphinx" enable="0"/>
<engine name="Flite-1" class="mrcpflite" enable="0"/>
<engine name="Demo-Synth-1" class="demosynth" enable="1"/>
<engine name="Demo-Recog-1" class="demorecog" enable="1"/>
<engine name="Recorder-1" class="mrcprecorder" enable="1"/>
</plugin>
</settings>
<!-- Server profiles -->
<profiles>
<!-- MRCPv2 default profile -->
<profile name="MRCPv2-Default">
<param name="signaling-agent" value="SIP-Agent-1"/>
<param name="connection-agent" value="MRCPv2-Agent-1"/>
<param name="media-engine" value="Media-Engine-1"/>
<param name="rtp-factory" value="RTP-Factory-1"/>
</profile>
<!-- MRCPv1 default profile -->
<profile name="MRCPv1-Default">
<param name="signaling-agent" value="RTSP-Agent-1"/>
<param name="media-engine" value="Media-Engine-1"/>
<param name="rtp-factory" value="RTP-Factory-1"/>
</profile>
<!-- more profiles might be added here -->
</profiles>
</unimrcpserver>