build tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8481 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
aa1c88f5f4
commit
99118bb2c6
|
@ -160,8 +160,8 @@ typedef enum {
|
|||
} switch_bind_flag_t;
|
||||
|
||||
typedef enum {
|
||||
SWITCH_DTMF_RECV,
|
||||
SWITCH_DTMF_SEND
|
||||
SWITCH_DTMF_RECV = 0,
|
||||
SWITCH_DTMF_SEND = 1
|
||||
} switch_dtmf_direction_t;
|
||||
|
||||
typedef enum {
|
||||
|
|
|
@ -1309,7 +1309,7 @@ typedef struct {
|
|||
} dtmf_meta_settings_t;
|
||||
|
||||
typedef struct {
|
||||
dtmf_meta_settings_t sr[2];
|
||||
dtmf_meta_settings_t sr[3];
|
||||
} dtmf_meta_data_t;
|
||||
|
||||
#define SWITCH_META_VAR_KEY "__dtmf_meta"
|
||||
|
@ -1354,9 +1354,9 @@ 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') {
|
||||
int ok = 0;
|
||||
*digit = dtmf->digit;
|
||||
dval = atoi(digit);
|
||||
int ok = 0;
|
||||
|
||||
if (direction == SWITCH_DTMF_RECV && (md->sr[direction].map[dval].bind_flags & SBF_DIAL_ALEG)) {
|
||||
ok = 1;
|
||||
|
|
Loading…
Reference in New Issue