mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
FS-2217 --resolve this looks ok and is probably useful
This commit is contained in:
@@ -57,6 +57,7 @@ static void spandsp_dtmf_rx_realtime_callback(void *user_data, int code, int lev
|
||||
pvt->last_digit = digit;
|
||||
dtmf.digit = digit;
|
||||
dtmf.duration = switch_core_default_dtmf_duration(0);
|
||||
dtmf.source = SWITCH_DTMF_INBAND_AUDIO;
|
||||
switch_channel_queue_dtmf(switch_core_session_get_channel(pvt->session), &dtmf);
|
||||
pvt->digit_begin = pvt->samples;
|
||||
} else {
|
||||
|
||||
@@ -6625,7 +6625,7 @@ void sofia_handle_sip_i_info(nua_t *nua, sofia_profile_t *profile, nua_handle_t
|
||||
const char *signal_ptr;
|
||||
const char *rec_header;
|
||||
const char *clientcode_header;
|
||||
switch_dtmf_t dtmf = { 0, switch_core_default_dtmf_duration(0) };
|
||||
switch_dtmf_t dtmf = { 0, switch_core_default_dtmf_duration(0), 0, SWITCH_DTMF_ENDPOINT };
|
||||
switch_event_t *event;
|
||||
private_object_t *tech_pvt = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user