Fixed ability to send a string as user indications (DTMF) thanks Peter Olsson

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13049 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Robert Joly
2009-04-16 01:14:12 +00:00
parent ab7c282076
commit cb3b46f167
2 changed files with 9 additions and 0 deletions
+8
View File
@@ -687,12 +687,20 @@ void FSConnection::OnEstablished()
OpalLocalConnection::OnEstablished();
}
PBoolean FSConnection::SendUserInputTone(char tone, unsigned duration)
{
switch_dtmf_t dtmf = { tone, duration };
return switch_channel_queue_dtmf(m_fsChannel, &dtmf) == SWITCH_STATUS_SUCCESS;
}
PBoolean FSConnection::SendUserInputString(const PString & value)
{
return OpalConnection::SendUserInputString(value);
}
OpalMediaFormatList FSConnection::GetMediaFormats() const
{
if (m_switchMediaFormats.IsEmpty()) {