2
0

nuance.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- UniMRCP client document -->
  3. <unimrcpclient xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:noNamespaceSchemaLocation="../unimrcpclient.xsd"
  5. version="1.0">
  6. <settings>
  7. <!-- SIP MRCPv2 settings -->
  8. <sip-settings id="Nuance-SIP-Settings">
  9. <!-- Server address should be explicitly specified, it defaults to "ip" address set in the properties. -->
  10. <!-- <server-ip>10.10.0.1</server-ip> -->
  11. <server-port>5060</server-port>
  12. <!-- <force-destination>true</force-destination> -->
  13. <!-- <feature-tags>*;+mrcpv2.speechrecog;+mrcpv2.speechrecog.grammars="http://grammars.example.com/biggrammar.gram"</feature-tags> -->
  14. </sip-settings>
  15. <!-- RTSP MRCPv1 settings -->
  16. <rtsp-settings id="Nuance-RTSP-Settings">
  17. <!-- Server address should be explicitly specified, it defaults to "ip" address set in the properties. -->
  18. <!-- <server-ip>10.10.0.1</server-ip> -->
  19. <server-port>4900</server-port>
  20. <!-- <force-destination>true</force-destination> -->
  21. <resource-location>media</resource-location>
  22. <resource-map>
  23. <param name="speechsynth" value="speechsynthesizer"/>
  24. <param name="speechrecog" value="speechrecognizer"/>
  25. </resource-map>
  26. </rtsp-settings>
  27. <!-- RTP/RTCP settings -->
  28. <rtp-settings id="Nuance-RTP-Settings">
  29. <jitter-buffer>
  30. <adaptive>1</adaptive>
  31. <playout-delay>50</playout-delay>
  32. <max-playout-delay>600</max-playout-delay>
  33. <time-skew-detection>1</time-skew-detection>
  34. </jitter-buffer>
  35. <ptime>20</ptime>
  36. <codecs>PCMU PCMA L16/96/8000 telephone-event/101/8000</codecs>
  37. <!-- enable/disable RTCP support -->
  38. <rtcp enable="true">
  39. <!-- RTCP BYE policies (RTCP must be enabled first)
  40. 0 - disable RTCP BYE
  41. 1 - send RTCP BYE at the end of session
  42. 2 - send RTCP BYE also at the end of each talkspurt (input)
  43. -->
  44. <rtcp-bye>2</rtcp-bye>
  45. <!-- rtcp transmission interval in msec (set 0 to disable) -->
  46. <tx-interval>5000</tx-interval>
  47. <!-- period (timeout) to check for new rtcp messages in msec (set 0 to disable) -->
  48. <rx-resolution>1000</rx-resolution>
  49. </rtcp>
  50. </rtp-settings>
  51. </settings>
  52. <profiles>
  53. <!-- Nuance MRCPv2 profile -->
  54. <mrcpv2-profile id="nss2">
  55. <sip-uac>SIP-Agent-1</sip-uac>
  56. <mrcpv2-uac>MRCPv2-Agent-1</mrcpv2-uac>
  57. <media-engine>Media-Engine-1</media-engine>
  58. <rtp-factory>RTP-Factory-1</rtp-factory>
  59. <sip-settings>Nuance-SIP-Settings</sip-settings>
  60. <rtp-settings>Nuance-RTP-Settings</rtp-settings>
  61. </mrcpv2-profile>
  62. <!-- Nuance MRCPv1 profile -->
  63. <mrcpv1-profile id="nss1">
  64. <rtsp-uac>RTSP-Agent-1</rtsp-uac>
  65. <media-engine>Media-Engine-1</media-engine>
  66. <rtp-factory>RTP-Factory-1</rtp-factory>
  67. <rtsp-settings>Nuance-RTSP-Settings</rtsp-settings>
  68. <rtp-settings>Nuance-RTP-Settings</rtp-settings>
  69. </mrcpv1-profile>
  70. <!-- more profiles might be added here -->
  71. </profiles>
  72. </unimrcpclient>