freeswitch/libs/unimrcp/conf/unimrcpserver.xml

81 lines
2.9 KiB
XML

<!-- unimrcpserver document -->
<unimrcpserver>
<!-- 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"/>
<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"/>
<!-- <param name="own-preference" value="1"/> -->
</rtp>
</media>
<!-- Resource plugins -->
<plugin>
<engine name="Cepstral-Swift-1" class="mrcpcepstral" enable="0"/>
<engine name="Demo-Synth-1" class="demosynth" enable="1"/>
<engine name="Demo-Recog-1" class="demorecog" 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>