Dial speed

Sep 19, 2013 at 9:42 PM
Edited Sep 19, 2013 at 9:48 PM
Hi, i have a question. I need to dialing more slowly.
I wrote this sample code, but does not work with the MakeCallParams (still dial with a normal speed).
What i'm doing wrong?
Sorry for my bad english.
Thanks in advance.
            Dim myTAPI As New TapiManager("Phone")
            If Not myTAPI.Initialize Then
                MsgBox("TAPI-Initialize failed")
            Else
                Dim lineArray As TapiLine() = myTAPI.Lines
                Dim i As Integer = 0

                For i = 0 To lineArray.Length - 1
                    Dim line As TapiLine = lineArray(i)

                    If Not line.IsOpen Then
                        line.Open(MediaModes.DataModem)

                        Try
                            Dim callParams As New MakeCallParams()
                            callParams.DialSpeed = 2000

                            line.MakeCall("432432423", Nothing, callParams)

                        Catch
                        End Try

                    End If
                    
                Next

            End If
Coordinator
Sep 19, 2013 at 11:29 PM
Most TSPs don't support this feature, a more consistent way is to use MakeCall with no number (empty string) and then use lineDial for each digit on the resulting call with the appropriate pause between each lineDial invocation.

mark


Sep 20, 2013 at 12:13 PM
Thank you, i will try