src/plugins/rayo/src/java/com/sun/voip/server/CallSetupAgent.java
/**
     * Setup the call answerered treatment manager
     */
Setup the call answerered treatment manager
Setup the call answerered treatment manager
protected void initializeCallAnsweredTreatment() {
        String treatment = cp.getCallAnsweredTreatment();
        int repeatCount = 0;
        if (cp.getJoinConfirmationTimeout() != 0) {
            /*
             * If join confirmation is requested, we will repeat
             * the message.  This is needed because AccessLine
             * answers the call before a person actually gets connected
             * to hear the message.
             */
            repeatCount = 30;
        }
	callAnsweredTreatment = initializeTreatment(treatment, repeatCount);
        if (callHandler.isFirstMember()) {
            treatment = cp.getFirstConferenceMemberTreatment();
            if (treatment != null) {
                callAnsweredTreatment =
		    initializeTreatment(treatment, repeatCount);
            }
        }
    }
protected void initializeCallAnsweredTreatment ( ) { String treatment = cp . getCallAnsweredTreatment ( ) ; int repeatCount = 0 ; if ( cp . getJoinConfirmationTimeout ( ) != 0 ) { /*
             * If join confirmation is requested, we will repeat
             * the message.  This is needed because AccessLine
             * answers the call before a person actually gets connected
             * to hear the message.
             */ repeatCount = 30 ; } callAnsweredTreatment = initializeTreatment ( treatment , repeatCount ) ; if ( callHandler . isFirstMember ( ) ) { treatment = cp . getFirstConferenceMemberTreatment ( ) ; if ( treatment != null ) { callAnsweredTreatment = initializeTreatment ( treatment , repeatCount ) ; } } }
Setup the call answerered treatment manager
Setup the call answerered treatment manager