- change the logs so it's a little bit clear on what the user is doing

This commit is contained in:
Richard Alam 2010-11-26 13:46:17 -05:00
parent 7bd56ac755
commit 4665abd490
2 changed files with 3 additions and 3 deletions

View File

@ -105,7 +105,7 @@ public class Application extends MultiThreadedApplicationAdapter {
String peerId = (String) Red5.getConnectionLocal().getAttribute("VOICE_CONF_PEER");
if (peerId != null) {
try {
log.debug("Hanging up {} [clientid={}] in case the user is still in the conference.", username + "[uid=" + userid + "]", clientId);
log.debug("Forcing hang up {} [clientid={}] in case the user is still in the conference.", username + "[uid=" + userid + "]", clientId);
sipPeerManager.hangup(peerId, clientId);
} catch (PeerNotFoundException e) {
// TODO Auto-generated catch block

View File

@ -38,7 +38,7 @@ public class Service {
String clientId = Red5.getConnectionLocal().getClient().getId();
String userid = getUserId();
String username = getUsername();
log.debug("{} is calling into conference {}", username + "[uid=" + userid + "][clientid=" + clientId + "]", destination);
log.debug("{} is requesting to join into the conference {}", username + "[uid=" + userid + "][clientid=" + clientId + "]", destination);
String extension = callExtensionPattern.format(new String[] { destination });
try {
@ -55,7 +55,7 @@ public class Service {
String clientId = Red5.getConnectionLocal().getClient().getId();
String userid = getUserId();
String username = getUsername();
log.debug("{} is hanging up from the conference.", username + "[uid=" + userid + "][clientid=" + clientId + "]");
log.debug("{} is requesting to hang up from the conference.", username + "[uid=" + userid + "][clientid=" + clientId + "]");
try {
sipPeerManager.hangup(peerId, getClientId());
return true;