add temp_hold_music var that is only valid until you transfer the call and finishing touches on bind meta to A-D

This commit is contained in:
Anthony Minessale committed 2011-01-05 18:58:56 -06:00
1 parent 27869d7a26
commit b262f44ce2
11 files changed
+21 -18

No files matched your search

@@ -2531,7 +2531,7 @@ SWITCH_STANDARD_APP(audio_bridge_function)
camp_data = (char *) data;
}
if (!(moh = switch_channel_get_variable(caller_channel, SWITCH_HOLD_MUSIC_VARIABLE))) {
if (!(moh = switch_channel_get_hold_music(caller_channel))) {
moh = switch_channel_get_variable(caller_channel, "campon_hold_music");
}