allow silence for moh type on campon

This commit is contained in:
Brian West 2012-06-29 16:14:46 -05:00
parent 7ec8fb43d4
commit 13068f1783
1 changed files with 4 additions and 0 deletions

View File

@ -2869,6 +2869,10 @@ SWITCH_STANDARD_APP(audio_bridge_function)
moh = switch_channel_get_variable(caller_channel, "campon_hold_music");
}
if (!zstr(moh) && !strcasecmp(moh, "silence")) {
moh = NULL;
}
do {
fail = 0;