Skip to content

DTMF and multiple logics

hayden-t edited this page Aug 17, 2021 · 4 revisions

DTMF (internal decoder) will only be interpreted by logic/s that get it from their receiver audio device in svxlink.conf, and not from audio received via a linked logic.

It seems this is due to linked logic audio being injected after the 'internal' dtmf decoder.

Logics run in individual TCL interpreters (processes) and cant share variables or call each others functions. So it can be tricky to trigger events from one logic to the other, without using some kind of custom tcl PTY file output-input parsing.

One way around this if you want multiple logics to share the same rx signal/sound input (and thus DTMF codes), is to just have them both use the same "RX" definition block (audio input device) in svxlink.

Be aware though that logics connected this way will both respond to DTMF input, so you cant really use the same codes, unless you possible use ctcss or some other way to specify a target. But this wont be a problem if they dont share the same modules etc.