Author Topic: Genesys Support Phone  (Read 16443 times)

Offline Michael

  • Jr. Member
  • **
  • Posts: 50
  • Karma: -1
Genesys Support Phone
« on: October 20, 2006, 12:30:40 AM »
Does anyone have documentation on the Genesys Support phone (TestPhone.exe)? If so, could I obtain a copy?

Thanks!
Mike

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1411
  • Karma: 18
Re: Genesys Support Phone
« Reply #1 on: October 20, 2006, 01:34:50 PM »
Does anyone have documentation on the Genesys Support phone (TestPhone.exe)? If so, could I obtain a copy?

Thanks!
Mike

Mike,

I don't know if there is a documentation for it, but if you need some help with it - just tell me and I will put together some examples for you :)

Offline Michael

  • Jr. Member
  • **
  • Posts: 50
  • Karma: -1
Re: Genesys Support Phone
« Reply #2 on: October 27, 2006, 10:38:31 PM »
Victor,

That would be great! We are expereincing issues registering for DNs sepcifically. Any examples you can provide on basic / advanced functions would be greatly apprecaited.

Thanks!

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1411
  • Karma: 18
Re: Genesys Support Phone
« Reply #3 on: October 30, 2006, 03:07:26 PM »
Sure, here is how to connect:

Public Function TConnect() As Boolean

    Call TConnection.ConfigureAddp(10, 20, addpTraceFull)
    Call TConnection.EnableAddp(True)


    ' Control connection parameters
    If IsEmpty(Me.TServer) = True Or IsEmpty(Me.TPort) = True Then
   
        ' Log.WriteAs getLogFileName(), "class.TConnect", -1, -1, "Connection parameters missing."
        TConnect = False
        Exit Function
       
    End If
   
    ' Log.WriteAs getLogFileName(), "class.TConnect", 1, 0, "THost is " + Me.TServer + " @ " + Me.TPort
   
    If frmTelephony.TConnection.TConnect() = False Then
   
        ' Log.WriteAs getLogFileName(), "class.TConnect", -1, -1, "Could not connect to TServer"
        TConnect = False
        Exit Function
       
    End If
   
    ' Log.WriteAs getLogFileName(), "class.TConnect", 1, 0, "Connecting to TServer..."
    TConnect = True

End Function


Here is how I would register:

Private Sub TConnection_TEventLinkConnected(EventInfo As DesktopToolkitX.TEventInfo)
    numOfRegisteredQueues = 0
   
    Call myWatch.setCallResult(EventLinkConnected, "", "Event", 0)
   
    If myWatch.numOfChannels = 0 Then
   
        ' Log.WriteAs getLogFileName(), "TConnection.TEventLinkConnected", -1, 0, "Because channels (DNs) not set and initialized, main program couldn't continue."
       
        If Me.TConnection.TDisconnect() = False Then
       
            ' Log.WriteAs getLogFileName(), "TConnection.TEventLinkConnected", -1, 0, "Couldnt Disconnect from TServer"
           
        End If

        Exit Sub
       
    End If
   
    Dim rs              As TStatus
    Dim i               As Integer
   
' if you are watching more than one DN, numOfChannels would be 2 :) <-- Nortel for example :)
    For i = 1 To myWatch.numOfChannels
   
        ' Log.WriteAs getLogFileName(), "TConnection.TEventLinkConnected", 1, 1, "Processing " + Trim(Str(i))
       
        Call Me.TExtension(i).TSetRegisterMode(ModeMonitor)
        rs = Me.TExtension(i).TRegister()
       
        If rs = T_FAIL Then
       
            ' Log.WriteAs getLogFileName(), "TConnection.TEventLinkConnected", -1, 0, "Couldnt register Channel " + Trim(Str(i))
       
        Else
       
            ' Log.WriteAs getLogFileName(), "TConnection.TEventLinkConnected", 1, 0, "Registering Channel " + Trim(Str(i))
           
        End If
   
    Next i
   
End Sub


Ummm... What else? It is pretty straight-forward really...

Here is how you would query for agent status on that DN, because you would not want to try to login agent who is already logged in, right?

Public Sub Get_DN_Info(Index As Integer, dn As String)
   
   Dim rs          As TStatus

   rs = TExtension(Index).TQueryAddress(AddressInfoDNStatus)

End Sub

Here is how you would get Attach-Data:

Private Sub TExtension_TEventAttachedDataChanged(Index As Integer, EventInfo As DesktopToolkitX.TEventInfo)

    Dim i           As Integer
    Dim sName       As String
    Dim sValue      As String
    Dim connId      As String
    Dim AgentId     As String
   
    connId = vbNullString
    connId = EventInfo.connId.GetConnIDAsStr()
    AgentId = vbNullString
    AgentId = EventInfo.AgentId
   
    For i = 0 To EventInfo.userData.GetCount - 1
   
        sName = vbNullString
        sValue = vbNullString
       
        sName = EventInfo.userData.Get(i).Key
       
        If EventInfo.userData.Get(i).Type = CKVTypeNum Then
       
            sValue = Str(EventInfo.userData.Get(i).NumValue)
           
        Else
       
            sValue = EventInfo.userData.Get(i).StringValue
           
        End If
       
        Call myWatch.setUserData(Index, connId, AgentId, sName, sValue)
   
    Next i
   

End Sub



Please tell me if you need anything else :)

Genesys ActiveX is really a breeze to program and actually works enough to make it enjoyable.  They provide you with ActiveX sample which pretty much is self-explanatory.

If you have a question - feel free to ask :)

Vic

Offline Michael

  • Jr. Member
  • **
  • Posts: 50
  • Karma: -1
Re: Genesys Support Phone
« Reply #4 on: November 01, 2006, 12:26:18 AM »
Victor,

Thanks for taking the time to provide the support phone code. This will be very useful if I am unable to use the support phone that I currently have. I have a support phone application (supposedly from Genesys originally) that I am trying to use. However, I have been unable to find documentation on it anywhere.

I am attaching a screen shot of the phone as well as the "documentation" I received with it to see if anyone recognizes it and might have documentation on it.

Thanks again for the info!
Mike

IanDS

  • Guest
Re: Genesys Support Phone
« Reply #5 on: November 01, 2006, 01:18:52 AM »
I have this version and the later version.

What do you want to know, there is no documentation on it, but after using it a couple of times it will become very familiar.

To connect to tserver enter the host and port details and press connect.
to register enter the dn/extn and press the register button
to login an agent enter the agent details and press login
make sure you turn on internal tlib logging, so that you can see what is going on.

For more advanced functions you really need to look at the tlib developers guide as it will mention what values need to go with each request.

Offline TheSailer

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: Genesys Support Phone
« Reply #6 on: November 04, 2006, 06:18:47 AM »
Hello

It's possible to get the supportphone ?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7623
  • Karma: 56330
Re: Genesys Support Phone
« Reply #7 on: November 05, 2006, 10:09:54 AM »
Yes, from Genesys Tech Support Web Page go to Tools and download it

Offline TheSailer

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: Genesys Support Phone
« Reply #8 on: November 07, 2006, 06:09:33 AM »
sorry, but i can't find the tools

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7623
  • Karma: 56330
Re: Genesys Support Phone
« Reply #9 on: November 07, 2006, 01:43:08 PM »
Login to http://support.genesyslab.com
Go to Knowledge Base
Go to Troubleshooting Utilities
Walla!  ;D

Offline Kevin S

  • Full Member
  • ***
  • Posts: 145
  • Karma: 4
Re: Genesys Support Phone
« Reply #10 on: November 27, 2006, 12:08:04 PM »
If you do have support through Genesys' site, look under the Tutorials. I think they covered a few of the troubleshooting tools (including the support phone) a few months back.

I have downloaded, but have not had a chance to run through it yet.

Offline Lamiv_Rumak

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
  • Hardwork never fails
Re: Genesys Support Phone
« Reply #11 on: May 12, 2011, 08:56:03 PM »
Is ther any link to download this TLib developers guide? :-\

Offline Lamiv_Rumak

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
  • Hardwork never fails
Re: Genesys Support Phone
« Reply #12 on: May 12, 2011, 09:26:09 PM »
Does anyone have documentation on the Genesys Support phone (TestPhone.exe)? If so, could I obtain a copy?