Author Topic: Advice for Integration  (Read 4754 times)

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7188
  • Karma: 56330
Advice for Integration
« on: March 08, 2008, 06:22:29 AM »
Hi guys,
I need some advice from you, mostly from those that gave worked with new SDK's.
I do have a customer who uses a software I developed using ActiveX which basically invokes their CRM and they call me for functions like reschedule, ready, etc etc.

So now this customer has in plans move his CRM to web interface, now I got lost there. I have done a project where Web was also involved and i called him using a iexplore instance and passing parameters using GET (x.asp?y=1&b=2) thing. They called us somehow calling the component registration key of regedit (never told us how).

So I wonder if GIS and Net SDK is the one we need here. Can someone share a simple idea of how this architecture works? Any success (i believe many) ideas?

Thanks

Offline jbobinsk

  • Jr. Member
  • **
  • Posts: 87
  • Karma: 1
Re: Advice for Integration
« Reply #1 on: June 05, 2008, 09:17:12 PM »
I'm not sure if I understood your problem here. What for you is the problem - if it is new SDK or integration with IExplorer.
As I know integration with ActiveX (ie) is also possible from .NET environment.
I have prepared in the past application using VB (not .net, but it can be moved to it) which was stearing IE interface. At the begining it took handle to IE window, and then sent direct instructions to it (with post or get parameters), and scanned the content - looking for eg instruction/telephone number to dial/customer data etc.

Regards
jbobinsk

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7188
  • Karma: 56330
Re: Advice for Integration
« Reply #2 on: June 07, 2008, 11:48:08 AM »
Hi jbobinsk,
Thanks for the info, actually I have managed the same on the past, where my VB (exe) application seaked for window name and when it was the one I opened sent more parameters and opened new URL.
However now I'm trying to find how to make that an Internet explorer window with an ASP .Net (for example) application can invoke one of my public methods on my EXE (VB) that is running on agents desktop. Do you have any idea on how to do this?
Thanks

Offline jbobinsk

  • Jr. Member
  • **
  • Posts: 87
  • Karma: 1
Re: Advice for Integration
« Reply #3 on: June 12, 2008, 05:50:51 PM »
I've never tried to do such integration. But I think you can do ActiveX Exe if asp can reach local computer if not - alternative is to create winsock and access it.
But It would be very comfortable for you if ASP could generate forms in the sourse of the webpage and you then would read (by accessing it) instruction placed into it and execute what you want.
I have done such integration - and I'm quite happy with results in this way I have done all telephony functions in web application, because hide form of the web page is the great place to exchange information between your application and ASP.

Regards
Jacek

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7188
  • Karma: 56330
Re: Advice for Integration
« Reply #4 on: June 12, 2008, 09:56:18 PM »
Do you have any link or some example what I can read?
Thanks

Offline jbobinsk

  • Jr. Member
  • **
  • Posts: 87
  • Karma: 1
Re: Advice for Integration
« Reply #5 on: June 12, 2008, 11:17:41 PM »
With ActiveX Exe/ActiveX DLL - you have to generate if in VB 6.0 and you can use it though VB.NET and ASP.

Scanning page example:

Private Sub RecurseFrames(ByVal iDoc As HTMLDocument)
    On Error GoTo ExceptionBlock
    Dim formularz As HTMLElementCollection
    Dim uElement As HTMLFormElement

    Set formularz = iDoc.frames("menu").Document.Forms("client")

    For Each uElement In formularz
        Select Case uElement.Name
            Case "CL_ID"
                kl_Id = uElement.Value
            Case "CL_NAME"
                kl_Nazwa = uElement.Value
        End Select
    Next
End Sub

Of course after reading information on page you can interprete it (for example requests, objects, etc), and you can set fields on web page as well.
Trigger for this action is page reload.

I hope it will help you.

Regards
jbobinsk


Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1400
  • Karma: 18
Re: Advice for Integration
« Reply #6 on: June 27, 2008, 04:33:35 PM »
Hey,

what we have done is actually as soon as client went to Web, we moved the softphone away from that PC on to T-Server machine. I know you will think I am mad to do this, but here is why we did this:

1. Our GAS (Genesys Adapter Server) uses Platform SDK to connect to multiple T-Servers.
2. Web CRM connects to GAS using our GAS Client ActiveX/applet and uses a very basic XML-like commands to pass the commands and data to T-Server.

The reason why we have done this is because this way, user no longer needs to incorporate Genesys DLLs or objects into their CRM environment. They either use our applet, or write their own that send commands through a socket and then our GAS translates it into a Genesys call. Events are also pretty easy - GAS gets Genesys event from T-Server, translates it into XML and sends it back to the client via a socket. We have about 3000 people using it right now, and it saved us hundreds of hours in trying to get Genesys and CRM to work together.  It is similar to GIS, only without any Genesys on the client side. :)

I would suggest a similar approach.