[Freeswitch-users] mod_dptools/mod_spandsp and tone detection

Sasha Pachev sasha at greenseedtech.com
Thu Nov 6 20:50:38 MSK 2014


I have discovered an issue when using mod_dptools and mod_spandsp
together. Both define app "stop_tone_detect".  mod_dptools defines
"tone_detect" to start tone detection, mod_spandsp defines
"start_tone_detect". Both modules load successfully, and the conflict
is resolved by awarding whoever loads the last the entry for
stop_tone_detect. This creates problems - for example, if mod_spandsp
wins, and the dialplan uses tone_detect/stop_tone_detect, then
mod_dptools app will be called for starting, and mod_spandsp will be
called for stopping, which in effect means it is a no-op.

Is it considered an error to load both modules in the same
configuration? What is the recommended solution/workaround if you want
to use some of the functionality of mod_dptools and some of the
functionality of mod_spandsp?



Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list