forked from Mirrors/freeswitch
8330336e9a
[apr] Backport APR_RING_FOREACH and APR_RING_FOREACH_SAFE macros to APR for unimrcp compatibility. [unimrcp] configure.gnu - need full path, not relative path for library paths [unimrcp] added uni_revision.h - couldn't get it to autogenerate from build [mod_unimrcp] add better logging and error checking on module load. Currently dumps core on MRCPv1 TTS attempt [mod_unimrcp] don't configure MRCPv1 session with a connection agent- causes crash
112 lines
4.2 KiB
XML
112 lines
4.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- UniMRCP client document -->
|
|
<unimrcpclient xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="unimrcpclient.xsd"
|
|
version="1.0"
|
|
subfolder="client-profiles">
|
|
<properties>
|
|
<!-- If the attribute "type" is set to "auto", IP address is
|
|
determined implicitly by the hostname. This is the default setting. -->
|
|
<ip type="auto"/>
|
|
|
|
<!-- If the attribute "type" is set to "iface", IP address is
|
|
determined by the specified name of network interface/adapter. -->
|
|
<!-- <ip type="iface">eth0</ip>-->
|
|
|
|
<!-- IP address can also be specified explicitly. -->
|
|
<!-- <ip>10.10.0.1</ip> -->
|
|
|
|
<!-- <ext-ip>a.b.c.d</ext-ip> -->
|
|
<!-- <server-ip>a.b.c.d</server-ip> -->
|
|
</properties>
|
|
|
|
<components>
|
|
<!-- Factory of MRCP resources -->
|
|
<resource-factory>
|
|
<resource id="speechsynth" enable="true"/>
|
|
<resource id="speechrecog" enable="true"/>
|
|
<resource id="recorder" enable="true"/>
|
|
<resource id="speakverify" enable="true"/>
|
|
</resource-factory>
|
|
|
|
<!-- SofiaSIP MRCPv2 signaling agent -->
|
|
<sip-uac id="SIP-Agent-1" type="SofiaSIP">
|
|
<!-- By default, "ip" and "ext-ip" addresses set in the properties will be used.
|
|
They still can be explicitly specified (overriden) here.
|
|
-->
|
|
<!-- <sip-ip>10.10.0.1</sip-ip> -->
|
|
<!-- <sip-ext-ip>a.b.c.d</sip-ext-ip> -->
|
|
<sip-port>8062</sip-port>
|
|
<sip-transport>udp</sip-transport>
|
|
<ua-name>UniMRCP SofiaSIP</ua-name>
|
|
<sdp-origin>UniMRCPClient</sdp-origin>
|
|
<!-- <sip-t1>500</sip-t1> -->
|
|
<!-- <sip-t2>4000</sip-t2> -->
|
|
<!-- <sip-t4>4000</sip-t4> -->
|
|
<!-- <sip-t1x64>32000</sip-t1x64> -->
|
|
<!-- <sip-message-output>true</sip-message-output> -->
|
|
<!-- <sip-message-dump>sofia-sip-uac.log</sip-message-dump> -->
|
|
</sip-uac>
|
|
|
|
<!-- UniRTSP MRCPv1 signaling agent -->
|
|
<rtsp-uac id="RTSP-Agent-1" type="UniRTSP">
|
|
<max-connection-count>100</max-connection-count>
|
|
<!-- <request-timeout>5000</request-timeout> -->
|
|
<sdp-origin>UniMRCPClient</sdp-origin>
|
|
</rtsp-uac>
|
|
|
|
<!-- MRCPv2 connection agent -->
|
|
<mrcpv2-uac id="MRCPv2-Agent-1">
|
|
<max-connection-count>100</max-connection-count>
|
|
<offer-new-connection>false</offer-new-connection>
|
|
<rx-buffer-size>1024</rx-buffer-size>
|
|
<tx-buffer-size>1024</tx-buffer-size>
|
|
<!-- <request-timeout>5000</request-timeout> -->
|
|
</mrcpv2-uac>
|
|
|
|
<!-- Media processing engine -->
|
|
<media-engine id="Media-Engine-1">
|
|
<realtime-rate>1</realtime-rate>
|
|
</media-engine>
|
|
|
|
<!-- Factory of RTP terminations -->
|
|
<rtp-factory id="RTP-Factory-1">
|
|
<!-- By default, "ip" and "ext-ip" addresses set in the properties will be used.
|
|
They still can be explicitly specified (overriden) here.
|
|
-->
|
|
<!-- <rtp-ip>10.10.0.1</rtp-ip> -->
|
|
<!-- <rtp-ext-ip>a.b.c.d</rtp-ext-ip> -->
|
|
<rtp-port-min>4000</rtp-port-min>
|
|
<rtp-port-max>5000</rtp-port-max>
|
|
</rtp-factory>
|
|
</components>
|
|
|
|
<settings>
|
|
<!-- common (default) RTP/RTCP settings -->
|
|
<rtp-settings id="RTP-Settings-1">
|
|
<jitter-buffer>
|
|
<adaptive>1</adaptive>
|
|
<playout-delay>50</playout-delay>
|
|
<max-playout-delay>600</max-playout-delay>
|
|
<time-skew-detection>1</time-skew-detection>
|
|
</jitter-buffer>
|
|
<ptime>20</ptime>
|
|
<codecs>PCMU PCMA L16/96/8000 telephone-event/101/8000</codecs>
|
|
<!-- <codecs>PCMU PCMA L16/96/8000 PCMU/97/16000 PCMA/98/16000 L16/99/16000</codecs> -->
|
|
<!-- enable/disable RTCP support -->
|
|
<rtcp enable="false">
|
|
<!-- 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)
|
|
-->
|
|
<rtcp-bye>1</rtcp-bye>
|
|
<!-- rtcp transmission interval in msec (set 0 to disable) -->
|
|
<tx-interval>5000</tx-interval>
|
|
<!-- period (timeout) to check for new rtcp messages in msec (set 0 to disable) -->
|
|
<rx-resolution>1000</rx-resolution>
|
|
</rtcp>
|
|
</rtp-settings>
|
|
</settings>
|
|
</unimrcpclient>
|