git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1374 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2006-05-05 16:52:19 +00:00
parent 05441e62a2
commit dfe5b94baf
3 changed files with 24 additions and 981 deletions
@@ -703,7 +703,6 @@ static switch_status_t channel_waitfor_write(switch_core_session_t *session, int
static switch_status_t channel_send_dtmf(switch_core_session_t *session, char *dtmf)
{
struct private_object *tech_pvt = NULL;
char digits[80] = "";
tech_pvt = switch_core_session_get_private(session);
assert(tech_pvt != NULL);
@@ -713,7 +712,7 @@ static switch_status_t channel_send_dtmf(switch_core_session_t *session, char *d
//ldl_handle_send_msg(tech_pvt->profile->handle, tech_pvt->recip, NULL, digits);
return switch_rtp_queue_rfc2833(tech_pvt->rtp_session,
digits,
dtmf,
100 * (tech_pvt->read_codec.implementation->samples_per_second / 1000));
//return SWITCH_STATUS_SUCCESS;