Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hi i wrote a dialer program whic

Status
Not open for further replies.

risingsun21

Programmer
Jul 8, 2003
2
IN
hi

i wrote a dialer program which is not working
can u guys please debug this

Dim nnco As New nnco.cCallObject
Private Sub Command1_Click()
nnco.LineName = 3 - 0 - 0 - 1
If nnco.Initialize = False Then
MsgBox "failed to initialize tapi"
End If
nnco.Dial Text1.Text
Text3.Text = Text1.Text

End Sub
 
Try this...

You need to define the lines in your TAPI server.
Assign the line to a user.
On your client machine, you should log into a domain using the user that you've assigned to your line.
Run Symposium Agent Client
Run your program and press first the initialize button before you dial a number.
--------------------------------------------
Dim nnco As New nnco.cCallObject

'This button initializes the TN 28.0.1.6
Private Sub Command1_Click()
nnco.LineName = "Line 28.0.1.6"
If nnco.Initialize = False Then
MsgBox "failed to initialize tapi"
End If
End Sub

'This is the dial button
Private Sub Dial_Click()
nnco.Dial Text1.Text
Text3.Text = Text1.Text
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top