@ -530,7 +530,7 @@ public void run()
}
/ * *
* Waits for < tt > call < / tt > to enter in the
* Waits for < tt > call < / tt > to enter in the
* { @link # net . java . sip . communicator . protocol . CallState . CALL_ENDED }
* state .
*
@ -566,8 +566,8 @@ private void waitForCallEnd(Call call)
}
/ * *
* Goes through all p articipant s in < tt > call < / tt > and calls
* < tt > telephony . aswerCallP articipant ( ) < / tt > for every one of them .
* Goes through all p eer s in < tt > call < / tt > and calls
* < tt > telephony . aswerCallP eer ( ) < / tt > for every one of them .
*
* @param call the < tt > Call < / tt > that we ' d like to answer .
* /
@ -577,21 +577,20 @@ private void answerCall(Call call)
= ( OperationSetBasicTelephony ) call
. getProtocolProvider ( ) . getOperationSet (
OperationSetBasicTelephony . class ) ;
Iterator p articipant s = call . getCallPeers ( ) ;
Iterator p eer s = call . getCallPeers ( ) ;
while ( p articipant s. hasNext ( ) )
while ( p eer s. hasNext ( ) )
{
CallPeer participant
= ( CallPeer ) participants . next ( ) ;
CallPeer peer = ( CallPeer ) peers . next ( ) ;
try
{
telephony . answerCallPeer ( p articipant ) ;
telephony . answerCallPeer ( p eer ) ;
}
catch ( OperationFailedException exc )
{
logger . error ( "Could not answer to : "
+ p articipant
+ p eer
+ " caused by the following exception: "
+ exc . getMessage ( ) ,
exc ) ;
@ -600,8 +599,8 @@ private void answerCall(Call call)
}
/ * *
* Goes through all p articipant s in < tt > call < / tt > and calls
* < tt > telephony . hangupCallP articipant ( ) < / tt > for every one of them .
* Goes through all p eer s in < tt > call < / tt > and calls
* < tt > telephony . hangupCallP eer ( ) < / tt > for every one of them .
*
* @param call the < tt > Call < / tt > that we ' d like to answer .
* /
@ -613,21 +612,20 @@ private void hangupCall(Call call)
OperationSetBasicTelephony . class ) ;
logger . info ( "Max Message Length Reached, Mailbox is"
+ " disconnecting the call" ) ;
Iterator callParticipant s = call . getCallPeers ( ) ;
Iterator < CallPeer > callPeer s = call . getCallPeers ( ) ;
while ( callP articipant s. hasNext ( ) )
while ( callP eer s. hasNext ( ) )
{
CallPeer participant
= ( CallPeer ) callParticipants . next ( ) ;
CallPeer peer = callPeers . next ( ) ;
try
{
telephony . hangupCallPeer ( p articipant ) ;
telephony . hangupCallPeer ( p eer ) ;
}
catch ( OperationFailedException exc )
{
logger . error ( "Could not Hang up on : "
+ p articipant
+ p eer
+ " caused by the following exception: "
+ exc ,
exc ) ;