PureEngage On-Premises

 View Only

Sign Up

  • 1.  Get error code description raised by EventError from StatServer

    Posted 08-26-2015 03:59
    In SIP/T-Server

    eventError = (Genesyslab.Platform.Voice.Protocols.TServer.Events.EventError)eventResponse;
    string errDescription = TServerEnumDescription.GetDescription(typeof(Errors), eventError.ErrorCode);

    How can I get the same thing for StatServer? As I tried

    eventError2 = (Genesyslab.Platform.Reporting.Protocols.StatServer.Events.EventError)eventResponse;
    //string errDescription = StatServerEnumDescription.GetDescription(typeof(Errors)eventError2.ErrorCode); //Wrong

    The statement above is wrong.


  • 2.  RE: Get error code description raised by EventError from StatServer

    Posted 08-26-2015 08:14
    Are you sure that you are receieving the EventError from StatServer in case when something went wrong?


  • 3.  RE: Get error code description raised by EventError from StatServer

    Posted 08-26-2015 08:20
    I'm not sure, I just curious if it can be done like the TServer so that I can write the error in the log file for error handling. If it can't be done then that's fine for me.


  • 4.  RE: Get error code description raised by EventError from StatServer

    Posted 08-26-2015 08:36
    I think that EventError is generated just by T-Server component. On StatServer level you should receieve messages like "StatInvalid" or something like that.


  • 5.  RE: Get error code description raised by EventError from StatServer

    Posted 09-04-2015 11:18
    EventError is generated by T-Server and is published to all of its clients. So in order to get an EventError, you need to register as a T-Server client first and then you will receive events.