PureEngage On-Premises

 View Only

Sign Up

  • 1.  Get error code description raised by EventError from TServer/SIP Server

    Posted 07-06-2015 02:58
    I'm looking for getting error code description raised by EventError from TServer/SIP Server. I can get those description from the deployment guide, but now my problem is how can I get the description in development stage, because I want it to be displayed on the application built?

    Here's how I get the error code:
    Text = eventError.ErrorCode;

    By the way, is eventError.ErrorMessage will return the error description? As I tried, it returned null.

    Please help. Thank you.


  • 2.  RE: Get error code description raised by EventError from TServer/SIP Server

    Posted 07-06-2015 09:20
    Try experimenting with:
    string description = Genesyslab.Platform.Voice.Protocols.TServer.TServerEnumDescription.GetDescription(typeof(Genesyslab.Platform.Voice.Protocols.TServer.Errors), eventError.ErrorCode);
    But be aware that some of the ErrorCodes might return an empty string which needs to be handled.


  • 3.  RE: Get error code description raised by EventError from TServer/SIP Server

    Posted 07-07-2015 00:32
    Thanks Kasper.