mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
fix msvc build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6953 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -821,8 +821,8 @@ static switch_status_t generate_on_dtmf(switch_core_session_t *session, const sw
|
||||
switch_inband_dtmf_generate_t *pvt = (switch_inband_dtmf_generate_t *) switch_core_media_bug_get_user_data(bug);
|
||||
|
||||
if (pvt) {
|
||||
switch_mutex_lock(pvt->mutex);
|
||||
char buf[2] = "";
|
||||
switch_mutex_lock(pvt->mutex);
|
||||
buf[0] = dtmf->digit;
|
||||
teletone_run(&pvt->ts, buf);
|
||||
switch_mutex_unlock(pvt->mutex);
|
||||
|
Reference in New Issue
Block a user