Solved Trying to automatically place a telephone call (1 Viewer)

JohnPapa

Registered User.
Local time
Today, 18:22
Joined
Aug 15, 2010
Messages
954
I am trying to automatically place a telephone call from within Access13.

If I place the following URL (used in the sub), the call is placed
"http://admin:q0FBzy4G4M@192.168.90.23/command.htm?number=99407373&outgoing_uri=URI"

I get the error message indicated in the attachment. A similar code for incoming calls are identified by A13. I can show this code if it would help.


Code:
Private Sub imgOut_Click()
Dim xhr As Object
Dim webServiceURL As String
Dim actionType As String
Dim thisRequest As String
Dim targetWord As String
 


'Dim strURL As String
'strURL = funGetStrOut()


webServiceURL = "http://admin:q0FBzy4G4M@192.168.90.23/command.htm?number=99407373&outgoing_uri=URI"               'strURL


thisRequest = webServiceURL


'use late binding
Set xhr = CreateObject("Microsoft.XMLHTTP")


xhr.Open "GET", thisRequest, False
xhr.Send


If xhr.Status = 200 Then
  Debug.Print xhr.responseText
  MsgBox xhr.getAllResponseHeaders
Else
  MsgBox xhr.Status & ": " & xhr.statusText
End If


    
End Sub
 

Attachments

  • 220622.jpg
    220622.jpg
    18.5 KB · Views: 124

Gasman

Enthusiastic Amateur
Local time
Today, 16:22
Joined
Sep 21, 2011
Messages
14,311
I thought I had deja vu there.
Why have you started a new thread about this? :(
 

JohnPapa

Registered User.
Local time
Today, 18:22
Joined
Aug 15, 2010
Messages
954
I did not remember this. Thanks Gasman and apologies. Should I continue the old thread?
 

Gasman

Enthusiastic Amateur
Local time
Today, 16:22
Joined
Sep 21, 2011
Messages
14,311
I would, as you have a few replies there already?
 

Users who are viewing this thread

Top Bottom