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

+3 -3
View File
@@ -2825,11 +2825,11 @@ static switch_status_t meta_on_dtmf(switch_core_session_t *session, const switch
}
if (md->sr[direction].meta_on) {
if (dtmf->digit >= '0' && dtmf->digit <= '9') {
if (is_dtmf(dtmf->digit)) {
int ok = 0;
*digit = dtmf->digit;
dval = atoi(digit);
dval = switch_dtmftoi(digit);
if (direction == SWITCH_DTMF_RECV && (md->sr[direction].map[dval].bind_flags & SBF_DIAL_ALEG)) {
ok = 1;
} else if (direction == SWITCH_DTMF_SEND && (md->sr[direction].map[dval].bind_flags & SBF_DIAL_BLEG)) {