Tone Detection

When used on analog lines it is important to ensure that the system correctly detects the various tones played on the line: busy, disconnect, etc.

Setting tone specifications can be done in VoiceGuide's 'Tone Config File', or on Dialogic driver level using .TSF files. Tone files are set on a per-line basis in VoiceGuide's Config.xml file.

 

VoiceGuide's Tone Config File (XML)

When using this approach do not specify a TSF file in Dialogic's DCM. TSF settings take precedence over the 'Tone Config File' definitions.

Audacity http://audacity.sourceforge.net/ can be used to determine the frequencies and cadences of the tones played from the tone recordings.

Sample tone file :

 

<?xml version="1.0" encoding="iso-8859-1"?>
<Tones>

<Tone ID="TID_BUSY1">
<Notes>Australia Telstra</Notes>
<Freq1>425</Freq1>
<Freq1Dev>50</Freq1Dev>
<Freq2>0</Freq2>
<Freq2Dev>0</Freq2Dev>
<On>37</On>
<OnDev>5</OnDev>
<Off>37</Off>
<OffDev>5</OffDev>
<Count>2</Count>
</Tone>

<Tone ID="TID_BUSY2">
<Notes>General US Tone</Notes>
<Freq1>500</Freq1>
<Freq1Dev>200</Freq1Dev>
<Freq2>525</Freq2>
<Freq2Dev>175</Freq2Dev>
<On>50</On>
<OnDev>40</OnDev>
<Off>50</Off>
<OffDev>40</OffDev>
<Count>4</Count>
</Tone>

<Tone ID="TID_DIAL_LCL">
<Notes>General US Tone</Notes>
<Freq1>400</Freq1>
<Freq1Dev>125</Freq1Dev>
<Freq2>0</Freq2>
<Freq2Dev>0</Freq2Dev>
<On>0</On>
<OnDev>0</OnDev>
<Off>0</Off>
<OffDev>0</OffDev>
<Count>0</Count>
</Tone>

<Tone ID="TID_DIAL_INTL">
<Notes>General US Tone</Notes>
<Freq1>400</Freq1>
<Freq1Dev>125</Freq1Dev>
<Freq2>0</Freq2>
<Freq2Dev>0</Freq2Dev>
<On>0</On>
<OnDev>0</OnDev>
<Off>0</Off>
<OffDev>0</OffDev>
<Count>0</Count>
</Tone>

<Tone ID="TID_DIAL_XTRA">
<Notes>General US Tone</Notes>
<Freq1>400</Freq1>
<Freq1Dev>125</Freq1Dev>
<Freq2>0</Freq2>
<Freq2Dev>0</Freq2Dev>
<On>0</On>
<OnDev>0</OnDev>
<Off>0</Off>
<OffDev>0</OffDev>
<Count>0</Count>
</Tone>

<Tone ID="TID_DISCONNECT">
<Notes>Australia Telstra Disconnect Tone</Notes>
<Freq1>425</Freq1>
<Freq1Dev>50</Freq1Dev>
<Freq2>0</Freq2>
<Freq2Dev>0</Freq2Dev>
<On>37</On>
<OnDev>5</OnDev>
<Off>37</Off>
<OffDev>5</OffDev>
<Count>2</Count>
</Tone>

<Tone ID="TID_FAX1">
<Notes>Fax Tone 1</Notes>
<Freq1>2150</Freq1>
<Freq1Dev>50</Freq1Dev>
<Freq2>0</Freq2>
<Freq2Dev>0</Freq2Dev>
<On>25</On>
<OnDev>25</OnDev>
<Off>0</Off>
<OffDev>0</OffDev>
<Count>0</Count>
</Tone>

<Tone ID="TID_RNGBK1">
<Notes>Ringback 1</Notes>
<Freq1>438</Freq1>
<Freq1Dev>138</Freq1Dev>
<Freq2>0</Freq2>
<Freq2Dev>0</Freq2Dev>
<On>130</On>
<OnDev>105</OnDev>
<Off>580</Off>
<OffDev>415</OffDev>
<Count>0</Count>
</Tone>

<Tone ID="TID_RNGBK2">
<Notes>Ringback 1</Notes>
<Freq1>438</Freq1>
<Freq1Dev>138</Freq1Dev>
<Freq2>438</Freq2>
<Freq2Dev>138</Freq2Dev>
<On>130</On>
<OnDev>105</OnDev>
<Off>580</Off>
<OffDev>415</OffDev>
<Count>0</Count>
</Tone>

</Tones>


 

 

Dialogic's TSF File

For information on how to create a TSF file please see Dialogic's PBXpert utility. After creating the TSF file you will need to specify in Dialogic's DCM for the card to use the TSF file. Do this by setting the TSFFileName property (Files tab) to point to the filename. You will also need to enable the reading in of the file by setting the TSFFileSuppot property (Misc tab) to 'Yes'.