|
SendTone |
Top Previous Next |
|
SendTone(Tone: Char; Volume: Word; Duration: Word; Play2Speaker: Boolean = True; CallToken: String = ""); - Delphi syntax
SendTone(char tone, ushort duration, ushort volume); - C# syntax or SendTone(char tone, ushort duration, ushort volume; bool play2Speaker; string CallToken); - C# syntax
SendTone(tone As Char, duration As System.UInt16, volume As System.UInt16) - VB.NET syntax or SendTone(tone As Char, duration As System.UInt16, volume As System.UInt16, play2Speaker As Boolean, CallToken As String) - VB.NET syntax or
Description Sends the DTMF tone to the remote party for the session identified by the CallToken parameter. If the CallToken is empty or SendTone(tone, duration, volume) is called then the last session (created by MakeCall method / accepted in OnInvite handler) will be used. This method uses the tone transmission method described in RFC2833. So please use volume’s value in the range 0..36 dbm0 as RFC2833 says. Play2Speaker determines if sent tone should be played to the local speaker during transmission.
|