Set Up Global Tones with Sample Code

⌘K
  1. Home
  2. Programmable Voice
  3. How do I
  4. Set Up Global Tones with Sample Code

Set Up Global Tones with Sample Code

How to Set Up Global Tones

You can set up your application to recognize different calling tones, such as fax tones, special tones used in alarm systems, etc.

A C# code sample of different Global Tones:

<setting name="GlobalTones" serializeAs="Xml">
  <value>
    <ArrayOfGlobalTone xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <GlobalTone>
        <ToneId>X</ToneId>
        <Frequency1>850</Frequency1>
        <Frequency1Deviation>100</Frequency1Deviation>
        <Frequency2>0</Frequency2>
        <Frequency2Deviation>0</Frequency2Deviation>
        <OnTime>15</OnTime>
        <OnTimeDeviation>0</OnTimeDeviation>
        <OffTime>0</OffTime>
        <OffTimeDeviation>0</OffTimeDeviation>
        <Repeating>0</Repeating>
        <TrailingEdge>0</TrailingEdge>
      </GlobalTone>
      <GlobalTone>
        <ToneId>Y</ToneId>
        <Frequency1>1000</Frequency1>
        <Frequency1Deviation>100</Frequency1Deviation>
        <Frequency2>0</Frequency2>
        <Frequency2Deviation>0</Frequency2Deviation>
        <OnTime>15</OnTime>
        <OnTimeDeviation>0</OnTimeDeviation>
        <OffTime>0</OffTime>
        <OffTimeDeviation>0</OffTimeDeviation>
        <Repeating>0</Repeating>
        <TrailingEdge>0</TrailingEdge>
      </GlobalTone>
      <GlobalTone>
        <ToneId>Z</ToneId>
        <Frequency1>1400</Frequency1>
        <Frequency1Deviation>100</Frequency1Deviation>
        <Frequency2>0</Frequency2>
        <Frequency2Deviation>0</Frequency2Deviation>
        <OnTime>15</OnTime>
        <OnTimeDeviation>0</OnTimeDeviation>
        <OffTime>0</OffTime>
        <OffTimeDeviation>0</OffTimeDeviation>
        <Repeating>0</Repeating>
        <TrailingEdge>0</TrailingEdge>
      </GlobalTone>
    </ArrayOfGlobalTone>
  </value>
</setting>
Was this article helpful to you? No Yes 14

How can we help?