src/net/java/sip/communicator/service/protocol/SingleCallInProgressPolicy.java
/**
         * Notifies this instance that the <tt>callState</tt> of a specific
         * <tt>Call</tt> has changed.
         *
         * @param ev a <tt>CallChangeEvent</tt> which represents the details of
         * the notification such as the affected <tt>Call</tt> and its old and
         * new <tt>CallState</tt>s
         */
Notifies this instance that the callState of a specific
Call has changed.

@param ev a CallChangeEvent which represents the details of
the notification such as the affected Call and its old and
new CallStates
Notifies this instance that the callState of a specific Call has changed . @param ev a CallChangeEvent which represents the details of the notification such as the affected Call and its old and new CallStates
public void callStateChanged(CallChangeEvent ev)
        {
            if(logger.isTraceEnabled())
            {
                logger.trace("Call state changed.[2]");
            }
            Call call = ev.getSourceCall();
            Object oldCallState = ev.getOldValue();
            Object newCallState = call.getCallState();
            if ((CallState.CALL_INITIALIZATION.equals(oldCallState)
                        && CallState.CALL_IN_PROGRESS.equals(newCallState))
                    || (CallState.CALL_IN_PROGRESS.equals(oldCallState)
                            && CallState.CALL_ENDED.equals(newCallState)))
            {
                run();
            }
            else
            {
                if(logger.isTraceEnabled())
                {
                    logger.trace("Not applicable call state.");
                }
            }
        }
public void callStateChanged ( CallChangeEvent ev ) { if ( logger . isTraceEnabled ( ) ) { logger . trace ( "Call state changed.[2]" ) ; } Call call = ev . getSourceCall ( ) ; Object oldCallState = ev . getOldValue ( ) ; Object newCallState = call . getCallState ( ) ; if ( ( CallState . CALL_INITIALIZATION . equals ( oldCallState ) && CallState . CALL_IN_PROGRESS . equals ( newCallState ) ) || ( CallState . CALL_IN_PROGRESS . equals ( oldCallState ) && CallState . CALL_ENDED . equals ( newCallState ) ) ) { run ( ) ; } else { if ( logger . isTraceEnabled ( ) ) { logger . trace ( "Not applicable call state." ) ; } } }
Notifies this instance that the <tt>callState</tt> of a specific
 <tt>Call</tt> has changed.
Notifies this instance that the <tt > callState< / tt > of a specific <tt > Call< / tt > has changed .