freeswitch/libs/unimrcp/conf/unimrcpclient.xml

77 lines
2.8 KiB
XML

<!-- UniMRCP client document -->
<unimrcpclient>
<!-- Client settings (signaling, media, ...) -->
<settings>
<!-- SIP, RTSP signaling agents -->
<signaling>
<!-- SofiaSIP MRCPv2 signaling agent -->
<agent name="SIP-Agent-1" class="SofiaSIP">
<param name="client-ip" value="auto"/>
<!-- <param name="client-ext-ip" value="auto"/> -->
<param name="client-port" value="8062"/>
<param name="server-ip" value="auto"/>
<param name="server-port" value="8060"/>
<!-- <param name="force-destination" value="1"/> -->
<!-- <param name="sip-transport" value="tcp"/> -->
<param name="sip-transport" value="udp"/>
<param name="ua-name" value="UniMRCP SofiaSIP"/>
<param name="sdp-origin" value="UniMRCPClient"/>
</agent>
<!-- UniRTSP MRCPv1 signaling agent -->
<agent name="RTSP-Agent-1" class="UniRTSP">
<param name="server-ip" value="auto"/>
<param name="server-port" value="1554"/>
<!-- <param name="force-destination" value="1"/> -->
<param name="resource-location" value="media"/>
<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="max-connection-count" value="100"/>
<!-- <param name="offer-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="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"/>
</rtp>
</media>
</settings>
<!-- Client 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>
</unimrcpclient>