mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 08:49:01 +00:00
allow silence for moh type on campon
This commit is contained in:
parent
7ec8fb43d4
commit
13068f1783
@ -2869,6 +2869,10 @@ SWITCH_STANDARD_APP(audio_bridge_function)
|
|||||||
moh = switch_channel_get_variable(caller_channel, "campon_hold_music");
|
moh = switch_channel_get_variable(caller_channel, "campon_hold_music");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!zstr(moh) && !strcasecmp(moh, "silence")) {
|
||||||
|
moh = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
fail = 0;
|
fail = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user