src/net/java/sip/communicator/impl/protocol/jabber/ActiveCallsRepositoryJabberImpl.java
/**
     * Returns the {@link CallPeerJabberImpl} whose session-init's ID has
     * the specified IQ <tt>id</tt>.
     *
     * @param id the IQ <tt>id</tt> we're looking for.
     *
     * @return the {@link CallPeerJabberImpl} with the specified <tt>id</tt>
     * or <tt>null</tt> if we couldn't find one matching it.
     */
Returns the  CallPeerJabberImpl whose session-init's ID has
the specified IQ id.

@param id the IQ id we're looking for.

@return the  CallPeerJabberImpl with the specified id
or null if we couldn't find one matching it.
Returns the CallPeerJabberImpl whose session - init ' s ID has the specified IQ id . @param id the IQ id we ' re looking for . @return the CallPeerJabberImpl with the specified id or null if we couldn ' t find one matching it .
public CallPeerJabberImpl findCallPeerBySessInitPacketID(String id)
    {
        Iterator<CallJabberImpl> calls = getActiveCalls();
        while (calls.hasNext())
        {
            CallJabberImpl call = calls.next();
            CallPeerJabberImpl peer = call.getPeerBySessInitPacketID(id);
            if ( peer != null )
                return peer;
        }
        return null;
    }
public CallPeerJabberImpl findCallPeerBySessInitPacketID ( String id ) { Iterator < CallJabberImpl > calls = getActiveCalls ( ) ; while ( calls . hasNext ( ) ) { CallJabberImpl call = calls . next ( ) ; CallPeerJabberImpl peer = call . getPeerBySessInitPacketID ( id ) ; if ( peer != null ) return peer ; } return null ; }
Returns the {@link CallPeerJabberImpl} whose session-init's ID has
 the specified IQ <tt>id</tt>.
Returns the { @link CallPeerJabberImpl } whose session - init ' s ID has the specified IQ <tt > id< / tt > .