[ASTERISK-9] indications: Add support for >2 frequencies
Reported: 7/27/2022 6:41 PM
Last Active: 7/31/2022 6:01 PM
Assigned To: Nobody
Asterisk is only capable of playing 2 tones at once, which is why ROH tone in Asterisk is not (natively) possible.
indications.c should be expanded to support up to 4 tones (maybe 5, since the "railroad" tone set uses 5).
Since this might involve more runtime overhead, we might want to add #ifdefs so this is a compile time setting.
Also, as part of this:
- Better document volume in playtones (how to translate dB -> volume)
32768 is the max (8 bits) - really 32767, min is -32768 -> 16 bits since also negative define TONE_AMPLITUDE_MAX 0x7fff Max signed linear amplitude 23255 is 0dB 7219 is -8 dB 8192 (alarm rec?) 1/4 and 1024 (e.g. fax) 1/32 are common https://github.com/asterisk/asterisk/blob/master/main/dsp.c#L502
- Line Test: 105 Test Line test progress tone (2225 Hz + or - 25 Hz at -10 dBm0 + or -- 0.5dB).
- ROTL applications
You must be