Recent Posts

Pages: 1 [2] 3 4 ... 10
11

What does this has to do with the first post?
There is an authentication error:


  Message="Error registering. Code: 8 Description: Client is not authorized"


Created by:
        ClientName = "ClientName", //  - Protocol handshake typified options like ClientName, etc


Does that app exists in your CME??
12
I revise to this:

private void temp2()
{
    var pmService = new Genesyslab.Platform.ApplicationBlocks.Commons.Protocols.ProtocolManagementService();
    var config = new Genesyslab.Platform.ApplicationBlocks.Commons.Protocols.ConfServerConfiguration(
        Genesyslab.Platform.Configuration.Protocols.Types.CfgAppType.CFGConfigServer.ToString())
    {
        Uri = new Uri("tcp://192.168.10.98:2020/"),  //- Target server hostport
        UseAddp = true, // - ConnectionConfiguration typified options like UseAddp, AddpClientTimeout, etc
        AddpServerTimeout = 10,
        AddpClientTimeout = 10,
        FaultTolerance = Genesyslab.Platform.ApplicationBlocks.Commons.Protocols.FaultToleranceMode.WarmStandby,
        WarmStandbyUri = new Uri("tcp://192.168.10.98:2020/"),  //- Backup server hostport
        WarmStandbyAttempts = 3,  //- WarmStandby typified options like WarmStandbyAttempts, etc
        WarmStandbyTimeout = 2000,
        ClientName = "ClientName", //  - Protocol handshake typified options like ClientName, etc
        UserName = "demo",
        UserPassword = "",
        Encoding = "utf-8"
    };
        Genesyslab.Platform.Commons.Protocols.IProtocol protocol = pmService.Register(config);
        pmService.BeginOpen();
   
        Genesyslab.Platform.ApplicationBlocks.ConfigurationObjectModel.IConfService IConfService =
            Genesyslab.Platform.ApplicationBlocks.ConfigurationObjectModel.ConfServiceFactory.CreateConfService(
            protocol);

    Genesyslab.Platform.ApplicationBlocks.ConfigurationObjectModel.Queries.CfgActionCodeQuery CfgActionCodeQuery =
        new Genesyslab.Platform.ApplicationBlocks.ConfigurationObjectModel.Queries.CfgActionCodeQuery(IConfService);
    CfgActionCodeQuery.Filter.OfType<Genesyslab.Platform.Configuration.Protocols.Types.CfgCallActionCode>();
    CfgActionCodeQuery.Name = "KSippola";
    ICollection<Genesyslab.Platform.ApplicationBlocks.ConfigurationObjectModel.CfgObjects.CfgActionCode> CfgActionCode =
        CfgActionCodeQuery.Execute();
}

return ...

Genesyslab.Platform.Configuration.Protocols.Exceptions.ConfRegistrationException was unhandled
  Message="Error registering. Code: 8 Description: Client is not authorized"
  Source="Genesyslab.Platform.ApplicationBlocks.ConfigurationObjectModel"
  ErrorDescription="Client is not authorized"
  StackTrace:
    [Rethrow at]
       at Genesyslab.Platform.ApplicationBlocks.ConfigurationObjectModel.ConfService.EndRetrieveMultipleObjects[T](IAsyncResult asyncResult)
       at Genesyslab.Platform.ApplicationBlocks.ConfigurationObjectModel.ConfService.RetrieveMultipleObjects[T](ICfgQuery query, AsyncCallback finishCallback, AsyncCallback dataCallback, Int64 timeout)
       at Genesyslab.Platform.ApplicationBlocks.ConfigurationObjectModel.ConfService.RetrieveMultipleObjects[T](ICfgQuery query)
       at Genesyslab.Platform.ApplicationBlocks.ConfigurationObjectModel.Queries.CfgQuery.Genesyslab.Platform.ApplicationBlocks.ConfigurationObjectModel.Queries.ICfgQuery.Execute[T]()
       at Genesyslab.Platform.ApplicationBlocks.ConfigurationObjectModel.Queries.CfgActionCodeQuery.Execute()
       at COMAPI.Form1.temp2() in C:\Users\Administrator\Documents\Visual Studio 2008\Projects\COMAPI1\COMAPI1\Form1.cs:line 308
       at COMAPI.Form1..ctor() in C:\Users\Administrator\Documents\Visual Studio 2008\Projects\COMAPI1\COMAPI1\Form1.cs:line 24
       at COMAPI.Program.Main() in C:\Users\Administrator\Documents\Visual Studio 2008\Projects\COMAPI1\COMAPI1\Program.cs:line 18
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
    Environment: Win32NT [64-bit] 6.1.7601 Service Pack 1 | CLR: 2.0.50727.8784 | iso-8859-1 (1252) | CPU: [x1]
    DEMOSRV [DEMOSRV\Administrator]: "C:\Users\Administrator\Documents\Visual Studio 2008\Projects\COMAPI1\COMAPI1\bin\Debug\COMAPI1.vshost.exe"
  InnerException:
13
What do you exactly mean? Status of what?
What messages?
14
How can I get configured status messages of an agent?

============================================================================
Genesyslab.Platform.Voice.Protocols.TServer.Requests.Userdata.RequestUpdateUserData requestUpdateUserData =
                Genesyslab.Platform.Voice.Protocols.TServer.Requests.Userdata.RequestUpdateUserData.Create();

requestUpdateUserData.UserData.GetAsKeyValueCollection("XXX");
============================================================================

1. What should be the search string for KeyValueCollection?
2. Is there any specific function for retrieve current agent configured status message?

Thank you.
15
Genesys-related Development / Log4j2 and the LMS logging framework issue
« Last post by kellogs on March 16, 2019, 07:40:36 PM »
Hello,

I am new to Genesys altogether.
Has anyone succeeded with the new logging framework ?
I am having no luck with the segments and expire options. They just are not accounted for:

Code: [Select]
KeyValueCollection logSection = new KeyValueCollection();
         logSection.addString("verbose", "all");
         logSection.addString("all", "logfile.log, stdout");
         logSection.addString("expire", "2 file");
         logSection.addString("segment", "1000 KB");
//         logSection.addString("log-file-size", "1000 kB");
//         logSection.addString("buffer", "false");
         
         KeyValueCollection logSection2 = new KeyValueCollection();
         logSection2.addObject("log", logSection);
       
         GApplicationConfiguration gaAppConf = new GApplicationConfiguration();
         gaAppConf.setOptions(logSection2);
       
    lmsMessageConveyor = LmsMessageConveyor.newBuilder().addLmsEnum(CommonLmsEnum.class).build();
    Log4j2LmsLoggerFactory.setLoggerFactoryImpl(Log.LOG_FACTORY_LOG4J2, lmsMessageConveyor);
    boolean mkay = Log4j2Configurator.applyLoggingConfig(gaAppConf, lmsMessageConveyor);
//    LmsLoggerFactory logFact = Log4j2LmsLoggerFactory.createInstance(lmsMessageConveyor);
//    LOG = logFact.getLmsLogger(AppManager.class);
    LOG = Log4j2LmsLoggerFactory.getLogger(AppManager.class);
   
//    lmsLoggerFactory = LmsLoggerFactory.createInstance(lmsMessageConveyor);
//    LOG = lmsLoggerFactory.getLmsLogger(AppManager.class);
//    LOG = LmsLoggerFactory.getLogger(AppManager.class);
//        PsdkCustomization.setOption(PsdkCustomization.PsdkOption.PsdkLoggerTraceMessages, "true");
        for (int i = 0; i < 25000; i++)
        LOG.info(CommonLmsEnum.GCTI_APP_INIT_COMPLETED);

This produces > 1MB of logs and the file just continues to grow instead of getting split at the1000 kB mark.

If instead of         

Code: [Select]
logSection.addString("all", "logfile.log, stdout");
I put

Code: [Select]
logSection.addString("all", "logfile.log");
there is no more console output, so I know the settings are being applied. Tried with log4j2 versions from 2.7 to 2.11.2 - same thing.

Is this a know issue ? Should I go back to the deprecated logging framework instead ?

Thank you!
16
Genesys CTI Technical Discussion / Re: WDE commercial alternatives
« Last post by genesysguru on March 16, 2019, 12:33:46 AM »
I would suggest it depends on how much functionality in WDE you are planning to use and if you want a fat client. Most development and new functionality seems to be going into WWE from what I can see ...

Regards
Craig
17
Genesys CTI Technical Discussion / Re: WDE commercial alternatives
« Last post by cavagnaro on March 15, 2019, 10:12:22 PM »
Thanks
Will check it out


Enviado de meu SM-G9650 usando o Tapatalk

18
Hello,

We are trying to figure out an issue regarding the sorting of emails within Interaction Search.  The Agent is trying to sort the emails by the Received Date.  When the Agent first gets the list of emails within Interaction Search, the sort order is correct (Oldest to Newest). 

2/6/2019
2/11/2019
2/11/2019
2/11/2019
2/11/2019
2/12/2019

However, if the Agent clicks the Received header, the Sort order doesn't go to (Newest to Oldest) correctly.  Instead, it is doing the following:

2/11/2019
2/06/2019
2/11/2019
2/11/2019
2/12/2019

As you can see above, the 2/6 date is not in the proper sort order.  If the Agent clicks the header again, the sort order goes to

2/11/2019
2/11/2019
2/11/2019
2/6/2019
2/12/2019

As you can see above, the 2/6 date is still sorted wrong.


Has anybody seen this behavior and know how to fix?

Thanks,
Lance ???
19
Genesys CTI Technical Discussion / Re: WDE commercial alternatives
« Last post by jarrod on March 15, 2019, 07:50:50 AM »
There is also Coral Active, I worked on the deployment at Telstra. It is a good solution.

https://coralactive.com/
20
Genesys CTI Technical Discussion / Re: Genesys Recording Solutions
« Last post by jarrod on March 15, 2019, 06:56:51 AM »
Sorry to say but you will need to pay Genesys for the PSDK license as well. There is a license to use the PSDK and there is a second one called the PSDK runtime license. The latter is for when you did not write the code.

Genesys started up the appfoundry, I think in part to help deal with the complaints that partners were making over this situation.

So that is two additional licenses to use this, talk about double dipping.
Pages: 1 [2] 3 4 ... 10