[Freeswitch-users] set_audio_level being ignored

Marcelo Yukio Bressan Hossomi mhossomi at daitan.com
Mon May 13 20:00:44 UTC 2019


Hi everyone,

I'm trying a dialplan like this (inline, added linebreaks for readability):

set_audio_level:write -4,
playback:shouts://server.com,
set_audio_level:write 4,
playback:shouts://server.com

But the second audio always plays at level 0.

I noticed that:
- It works most of the time if I add a sleep:50 before the second `set_audio_level`, but this seems hacky;
- I see the log "Removing BUG from ..." right after the second audio starts; it doesn't happen when I have sleep:50 as above.

Audios are about 3s long.
Using code up to commit 78c189bfcc2.

Other non-working scenarios (same behavior):

set_audio_level:write -4,
playback:shouts://server.com,
playback:shouts://server.com

set_audio_level:write -4,
playback:shouts://server.com,
set_audio_level:write 4,
set_audio_level:write -4,
playback:shouts://server.com

Any hint is appreciated!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190513/4b6588ba/attachment-0001.html>


More information about the FreeSWITCH-users mailing list