private String manageSet(String[] options) throws Exception {
        // Minimum 4 needed. Show
        if (options.length < 5) {
            return TCAPAnsiOAMMessage.INVALID_COMMAND;
        }

        String parName = options[2].toLowerCase();
        String tcapStackName = options[3].toLowerCase();

        TCAPStackImpl tcapStackImpl = this.tcapStacks.get(tcapStackName);
        if (tcapStackImpl == null) {
            return String.format(TCAPAnsiOAMMessage.NO_TCAP_STCAK_CONFIGURE, tcapStackName);
        }

        if (parName.equals("dialogidletimeout")) {
            long val = Long.parseLong(options[4]);
            tcapStackImpl.setDialogIdleTimeout(val);
        } else if (parName.equals("invoketimeout")) {
            long val = Long.parseLong(options[4]);
            tcapStackImpl.setInvokeTimeout(val);
        } else if (parName.equals("maxdialogs")) {
            int val = Integer.parseInt(options[4]);
            tcapStackImpl.setMaxDialogs(val);
        } else if (parName.equals("dialogidrangestart")) {
            long val = Long.parseLong(options[4]);
            tcapStackImpl.setDialogIdRangeStart(val);
        } else if (parName.equals("dialogidrangeend")) {
            long val = Long.parseLong(options[4]);
            tcapStackImpl.setDialogIdRangeEnd(val);
//        } else if (parName.equals("previewmode")) {
//            boolean val = Boolean.parseBoolean(options[4]);
//            tcapStackImpl.setPreviewMode(val);
        } else if (parName.equals("statisticsenabled")) {
            boolean val = Boolean.parseBoolean(options[4]);
            tcapStackImpl.setStatisticsEnabled(val);
        } else if (parName.equals("swaptcapidbytes")) {
            boolean val = Boolean.parseBoolean(options[4]);
            tcapStackImpl.setSwapTcapIdBytes(val);
        } else if (parName.equals("slsranger")) {
            String val = String.valueOf(options[3]);
            tcapStackImpl.setSlsRange(val);
        } else {
            return TCAPAnsiOAMMessage.INVALID_COMMAND;
        }

        return TCAPAnsiOAMMessage.PARAMETER_SUCCESSFULLY_SET;
    }
private String manageSet ( String [ ] options ) throws Exception { if ( options . length < 5 ) { return TCAPAnsiOAMMessage . INVALID_COMMAND ; } String parName = options [ 2 ] . toLowerCase ( ) ; String tcapStackName = options [ 3 ] . toLowerCase ( ) ; TCAPStackImpl tcapStackImpl = this . tcapStacks . get ( tcapStackName ) ; if ( tcapStackImpl == null ) { return String . format ( TCAPAnsiOAMMessage . NO_TCAP_STCAK_CONFIGURE , tcapStackName ) ; } if ( parName . equals ( "dialogidletimeout" ) ) { long val = Long . parseLong ( options [ 4 ] ) ; tcapStackImpl . setDialogIdleTimeout ( val ) ; } else if ( parName . equals ( "invoketimeout" ) ) { long val = Long . parseLong ( options [ 4 ] ) ; tcapStackImpl . setInvokeTimeout ( val ) ; } else if ( parName . equals ( "maxdialogs" ) ) { int val = Integer . parseInt ( options [ 4 ] ) ; tcapStackImpl . setMaxDialogs ( val ) ; } else if ( parName . equals ( "dialogidrangestart" ) ) { long val = Long . parseLong ( options [ 4 ] ) ; tcapStackImpl . setDialogIdRangeStart ( val ) ; } else if ( parName . equals ( "dialogidrangeend" ) ) { long val = Long . parseLong ( options [ 4 ] ) ; tcapStackImpl . setDialogIdRangeEnd ( val ) ; } else if ( parName . equals ( "statisticsenabled" ) ) { boolean val = Boolean . parseBoolean ( options [ 4 ] ) ; tcapStackImpl . setStatisticsEnabled ( val ) ; } else if ( parName . equals ( "swaptcapidbytes" ) ) { boolean val = Boolean . parseBoolean ( options [ 4 ] ) ; tcapStackImpl . setSwapTcapIdBytes ( val ) ; } else if ( parName . equals ( "slsranger" ) ) { String val = String . valueOf ( options [ 3 ] ) ; tcapStackImpl . setSlsRange ( val ) ; } else { return TCAPAnsiOAMMessage . INVALID_COMMAND ; } return TCAPAnsiOAMMessage . PARAMETER_SUCCESSFULLY_SET ; }
Command is tcapansi set <param-name> <name of stack> <value>

@param options
@return
@throws Exception