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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IPO Integration with Web Browser

Status
Not open for further replies.

pmcook

IS-IT--Management
Apr 7, 2011
1,255
0
0
US
I am helping a client pick a VoIP solution. He has a product called eAgent which is a web based document management system for insurance companies. What their product can do with many hosted VoIP providers is to grab the incoming caller ID and then open a Web page on a designated workstation using that TN for a search criteria. The "specs" from eAGent are thus:

1) Must be able to open a browser window from the clients computer.
a. Either with ShellEx on a windows application
b. Or Javascript on hosted based solutions
2) Must be able to pass parameter specifically the phone number
a. Usually the URL is encoded with a variable. Example: %%Phone_Number%% where %%Phone_Number%% would be replaced by the incoming caller’s number.

To what degree can the IPO support this? The company says they can write anything needed for integration but they have no fiorst hand experience with Avaya IPO. Does Avaya have some sort of API maybe or an app?
 
The IPO has One-X Portal which is a webbased application.
This application needs a username and password and you can login on a base extension.

I used to have a VBscipt doing this for me.
I will do a search.


BAZINGA!

I'm not insane, my mother had me tested!

 
This is what i have:

Code:
WScript.Quit Main

Function Main

Dim objShell, objOpt
	Set objShell = CreateObject("WScript.Shell")
    Set IE = WScript.CreateObject("InternetExplorer.Application", "IE_")
    IE.Visible = True
  IE.Navigate "[URL unfurl="true"]http://192.168.12.5:8080/onexportal.html"[/URL]
  Wait IE
  With IE.Document
    .getElementByID("gwt-debug-txtBoxUserName").value = "username"
    .getElementByID("gwt-debug-txtBoxPassword").value = "password"
    .getElementByID("gwt-uid-2").Click
    .getElementByID("gwt-debug-tBoxBaseExtension").value = "201"
End With

	objShell.SendKeys "{TAB}"
	objShell.SendKeys "{TAB}"
	objShell.SendKeys "{ENTER}"
End Function


Sub Wait(IE)
  Do
    WScript.Sleep 5000
  Loop While IE.ReadyState < 4 And IE.Busy
  Do
    WScript.Sleep 5000
  Loop While IE.ReadyState < 4 And IE.Busy
End Sub

Sub IE_OnQuit
  On Error Resume Next

WScript.StdErr.WriteLine "IE closed before script finished."
  WScript.Quit
End Sub

WScript.StdErr.WriteLine "IE closed before script finished."
  WScript.Quit


BAZINGA!

I'm not insane, my mother had me tested!

 
Thanks TLpeter. So if I were a software developer and I knew you had One-X Portal, could I use it to grab the caller ID of an incoming call which I would then use to build a URL? How would One-X hand off the phone number or is there a way to query say with a Java script?
 
nmsadaptive - how does that product work? I see it is a series of tools. Does it allow API access to the IPO?
 
Incoming caller id can be done with TAPI
I think that will be much easier.

Avaya has a devconnect site for that.
Register and you can get the API's you need.


BAZINGA!

I'm not insane, my mother had me tested!

 
Talks 3rd party tapi to switch. Local desktop app controls browser and passes pre-defined URL with the CLI. Contains local macro editor for easy changes, no need for VB, so can be self modified, tried, tested and easy.

Take a 30 day trial.

Use it as ur backup, if u cant get native integration working.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top