Configuration
<tone name="RING_TONE">
<element freq1="400" freq2="0" min="384" max="400"/>
<element freq1="0" freq2="0" min="200" max="224"/>
<element freq1="400" freq2="0" min="384" max="400"/>
<element freq1="0" freq2="0" min="1968" max="1984"/>
</tone>
When debugging:
I have enabled already debug level to 2.
2017-02-13 02:59:32.080389 [DEBUG] mod_spandsp_dsp.c:705 Tone segment: f1 = 1, f2 = 2, duration = 400
2017-02-13 02:59:32.300524 [DEBUG] mod_spandsp_dsp.c:705 Tone segment: f1 = -1, f2 = -1, duration = 224
2017-02-13 02:59:32.680369 [DEBUG] mod_spandsp_dsp.c:705 Tone segment: f1 = 1, f2 = 2, duration = 384
2017-02-13 02:59:34.680384 [DEBUG] mod_spandsp_dsp.c:705 Tone segment: f1 = -1, f2 = -1, duration = 1984