src/plugins/rayo/src/java/com/sun/voip/server/CallSetupAgent.java
/*
     * INVITE timeout thread, handle call not answered
     */
INVITE timeout thread, handle call not answered
INVITE timeout thread handle call not answered
public void run() {
        int timeout = cp.getCallAnswerTimeout();
        if (timeout == 0) {
            timeout = defaultCallAnswerTimeout;
        }
        try {
            Thread.sleep(timeout * 1000);
        } catch (InterruptedException e) {
        }
	inviteTimeoutThread = null;
        if (reasonCallTerminated == null && getState() < CallState.ANSWERED) {
	    Logger.println("Call answer time out " + cp);
	    sendCallEventNotification(
		new CallEvent(CallEvent.CALL_ANSWER_TIMEOUT));
            cancelRequest("No answer");
        }
    }
public void run ( ) { int timeout = cp . getCallAnswerTimeout ( ) ; if ( timeout == 0 ) { timeout = defaultCallAnswerTimeout ; } try { Thread . sleep ( timeout * 1000 ) ; } catch ( InterruptedException e ) { } inviteTimeoutThread = null ; if ( reasonCallTerminated == null && getState ( ) < CallState . ANSWERED ) { Logger . println ( "Call answer time out " + cp ) ; sendCallEventNotification ( new CallEvent ( CallEvent . CALL_ANSWER_TIMEOUT ) ) ; cancelRequest ( "No answer" ) ; } }
INVITE timeout thread, handle call not answered
INVITE timeout thread handle call not answered