From Capacious Tern, 1 Year ago, written in Plain Text.
- view diff
Embed
  1. There are more extensions but that is the one i'm using.
  2.  
  3. <include>
  4.     <extension name="ums_demo2">
  5.       <condition field="destination_number" expression="^7002$"/>
  6.       <condition field="${module_exists(mod_v8)}" expression="true"/>
  7.       <condition field="${module_exists(mod_unimrcp)}" expression="true">
  8.                 <action application="answer"/>
  9.                 <action application="set" data="tts_engine=unimrcp:ums-v2"/>
  10.                 <action application="javascript" data="transcribe.js"/>
  11.       </condition>
  12.     </extension>
  13. </include>
  14.  
  15. -----------------------------------------------------------
  16. IP Addresses were replaced with ***.
  17. They were all real external addresses. Nothing 127.0.0.1 or NAT translated.
  18.  
  19. <include>
  20.   <!-- UniMRCP Server MRCPv2 -->
  21.   <profile name="ums-v2" version="2">
  22.     <!--param name="client-ext-ip" value="auto"-->
  23.     <param name="client-ip" value="***"/>
  24.     <param name="client-port" value="16090"/>
  25.     <param name="server-ip" value="***"/>
  26.     <param name="server-port" value="8060"/>
  27.     <!--param name="force-destination" value="1"/-->
  28.     <param name="sip-transport" value="udp"/>
  29.     <!--param name="ua-name" value="FreeSWITCH"/-->
  30.     <!--param name="sdp-origin" value="FreeSWITCH"/-->
  31.     <!--param name="rtp-ext-ip" value="auto"/-->
  32.     <param name="rtp-ip" value="***"/>
  33.     <param name="rtp-port-min" value="15000"/>
  34.     <param name="rtp-port-max" value="16000"/>
  35.     <!-- enable/disable rtcp support -->
  36.     <param name="rtcp" value="1"/>
  37.     <param name="rate" value="8000"/>
  38.     <!-- rtcp bye policies (rtcp must be enabled first)
  39.              0 - disable rtcp bye
  40.              1 - send rtcp bye at the end of session
  41.              2 - send rtcp bye also at the end of each talkspurt (input)
  42.     -->
  43.     <param name="rtcp-bye" value="0"/>
  44.     <!-- rtcp transmission interval in msec (set 0 to disable) -->
  45.     <param name="rtcp-tx-interval" value="5000"/>
  46.     <!-- period (timeout) to check for new rtcp messages in msec (set 0 to disable) -->
  47.     <param name="rtcp-rx-resolution" value="1000"/>
  48.     <!--param name="playout-delay" value="50"/-->
  49.     <!--param name="max-playout-delay" value="200"/-->
  50.     <!--param name="ptime" value="20"/-->
  51.     <param name="codecs" value="PCMU PCMA L16/96/8000"/>
  52.     <!--<param name="codecs" value="own-preference='false'>PCMU/94/8000 PCMA/95/8000 L16/96/8000 PCMU/97/16000 PCMA/98/16000 L16/99/16000 telephone-event/101/8000 telephone-event/102/16000"/>-->
  53.  
  54.     <!-- Add any default MRCP params for SPEAK requests here -->
  55.     <synthparams>
  56.       <!--<param name="Speech-Language" value="it-IT"/>-->
  57.       <!--<param name="voice-name" value="pt-BR-Standard-A"/>-->
  58.     </synthparams>
  59.  
  60.     <!-- Add any default MRCP params for RECOGNIZE requests here -->
  61.     <recogparams>
  62.       <!--param name="start-input-timers" value="false"/-->
  63.     </recogparams>
  64.   </profile>
  65. </include>
  66.