From 879c5cf27e21504ca44ddb6c4beaaed8473efdbd Mon Sep 17 00:00:00 2001 From: Sebastien Vincent Date: Thu, 21 Jul 2011 07:41:35 +0000 Subject: [PATCH] If an XMPP logged peer supports Google's Jingle/ICE dialect, choose it by default for a call. --- .../jabber/OperationSetBasicTelephonyJabberImpl.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicTelephonyJabberImpl.java b/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicTelephonyJabberImpl.java index 0fddc0b13..1693f8ade 100644 --- a/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicTelephonyJabberImpl.java +++ b/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicTelephonyJabberImpl.java @@ -306,12 +306,7 @@ public Call createCall(Contact callee) } */ - if(di != null) - { - if (logger.isInfoEnabled()) - logger.info(fullCalleeURI + ": jingle supported "); - } - else if(isGingle) + if(isGingle) { if(logger.isInfoEnabled()) { @@ -319,6 +314,11 @@ else if(isGingle) } fullCalleeURI = gingleURI; } + else if(di != null) + { + if (logger.isInfoEnabled()) + logger.info(fullCalleeURI + ": jingle supported "); + } else { if (logger.isInfoEnabled())