[jitsi-dev] More than one Jitsi online -> where goes the call to?


#1

Hi

we have two PCs at home - both start Jitsi upon logon. My folks tend to leave the machines running, being logged in twice with the same Jabber account.

When I call from outside - the call ends up at the wrong machine. Everything in Jitsi is configured out of the box - I didn’t change any priorities etc.

As it looks to me, it is possible to answer a text chat to the machine the incoming message originates. But when I decide to “upgrade” the text conversation to a audio/video call then the wrong machine rings.

What to do in such a case (appart from ssh’ing and shuting down Jitsi at the wrong end)? Is there a logic behind where a call goes to when more than one client is online with the same Jabber account? Maybe one can even control which one should ring?

Thank you for help

Conrad


#2

Ideally it should ring on both machines and whoever answers first gets
the call.

David

···

On 4/4/2013 5:31 PM, Conrad Beckert wrote:

Hi

we have two PCs at home - both start Jitsi upon logon. My folks tend
to leave the machines running, being logged in twice with the same
Jabber account.

When I call from outside - the call ends up at the wrong machine.
Everything in Jitsi is configured out of the box - I didn't change any
priorities etc.

As it looks to me, it is possible to answer a text chat to the machine
the incoming message originates. But when I decide to "upgrade" the
text conversation to a audio/video call then the wrong machine rings.

What to do in such a case (appart from ssh'ing and shuting down Jitsi
at the wrong end)? Is there a logic behind where a call goes to when
more than one client is online with the same Jabber account? Maybe one
can even control which one should ring?

Thank you for help
Conrad

.


#3

Isn't this what XMPP resource is for, messages and calls can target a specific JID resource

When no resource is specified it should target the resource with the highest presence priority, or all positive presence resources depending on how the server implements it.

Sounds like whatever server you are using is using a highest presence priority rule

You can try playing with the priority in your clients if there is one client you want to always recieve the call on

···

On 5/04/2013 10:01 AM, David Bolton wrote:

Ideally it should ring on both machines and whoever answers first gets
the call.

David

On 4/4/2013 5:31 PM, Conrad Beckert wrote:

Hi
  we have two PCs at home - both start Jitsi upon logon. My folks tend
to leave the machines running, being logged in twice with the same
Jabber account.
  When I call from outside - the call ends up at the wrong machine.
Everything in Jitsi is configured out of the box - I didn't change any
priorities etc.
  As it looks to me, it is possible to answer a text chat to the machine
the incoming message originates. But when I decide to "upgrade" the
text conversation to a audio/video call then the wrong machine rings.
  What to do in such a case (appart from ssh'ing and shuting down Jitsi
at the wrong end)? Is there a logic behind where a call goes to when
more than one client is online with the same Jabber account? Maybe one
can even control which one should ring?
  Thank you for help
Conrad
  
.


#4

Sadly this world isn't perfect, and I've been tested it some time ago.
There are theoretically four possibilities:
1) neither rings
2) the phone rings where on the machine that registered the first time
3) the phone rings where on the machine that registered the second time
4) both phone rings

Unfortunately, the last option I never saw.
All other three (1,2,3) did occur, but in an unpredictable way.
Delays (network) were not responsible, as I used local machine to login to.

Hw

···

-----Original Message-----
From: David Bolton [mailto:davidkbolton@gmail.com]
Sent: Friday, April 05, 2013 2:01 AM
To: dev@jitsi.java.net
Subject: [jitsi-dev] Re: More than one Jitsi online -> where goes the call to?

Ideally it should ring on both machines and whoever answers first gets
the call.

David

On 4/4/2013 5:31 PM, Conrad Beckert wrote:

Hi

we have two PCs at home - both start Jitsi upon logon. My folks tend
to leave the machines running, being logged in twice with the same
Jabber account.

When I call from outside - the call ends up at the wrong machine.
Everything in Jitsi is configured out of the box - I didn't change any
priorities etc.

As it looks to me, it is possible to answer a text chat to the machine
the incoming message originates. But when I decide to "upgrade" the
text conversation to a audio/video call then the wrong machine rings.

What to do in such a case (appart from ssh'ing and shuting down Jitsi
at the wrong end)? Is there a logic behind where a call goes to when
more than one client is online with the same Jabber account? Maybe one
can even control which one should ring?

Thank you for help
Conrad

______________________________________________________________________
Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht te verwijderen. De Staat aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband houdt met risico's verbonden aan het electronisch verzenden van berichten.

This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. The State accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages.


#5

Hey Conrad,

Hi

we have two PCs at home - both start Jitsi upon logon. My folks tend to
leave the machines running, being logged in twice with the same Jabber
account.

When I call from outside - the call ends up at the wrong machine.
Everything in Jitsi is configured out of the box - I didn't change any
priorities etc.

As it looks to me, it is possible to answer a text chat to the machine
the incoming message originates.

Yes. You can send messages to a bare jid (i.e. without a resource) and
servers will then fork them to as many instances as they need to.

But when I decide to "upgrade" the text
conversation to a audio/video call then the wrong machine rings.

Unfortunately sending jingle IQs to a bare JID is not allowed so we just
pick the highest priority and most connected resource.

What to do in such a case (appart from ssh'ing and shuting down Jitsi at
the wrong end)? Is there a logic behind where a call goes to when more
than one client is online with the same Jabber account? Maybe one can
even control which one should ring?

Yup, we should probably do this. I know that you already suggested it a
couple of years ago and I said I thought this would be confusing to
users .. but things don't look like they are changing and there's no
likely hood of all XMPP servers starting to support Jingle forking in
the near future :slight_smile:

Cheers,
EMil

···

On 05.04.13, 00:31, Conrad Beckert wrote:

Thank you for help
Conrad

--
https://jitsi.org


#6

Hey David,

Ideally it should ring on both machines and whoever answers first gets
the call.

This is how things work with most SIP deployments but unfortunately XMPP
servers don't do this. (Actually the XMPP protocol doesn't even allow us
to send Jingle IQs to a bare JID and let the server decide).

We may potentially handle this at the client side but, in the short
term, it is more likely that we just let the user choose.

Cheers,
Emil

···

On 05.04.13, 02:01, David Bolton wrote:

David

On 4/4/2013 5:31 PM, Conrad Beckert wrote:

Hi

we have two PCs at home - both start Jitsi upon logon. My folks tend
to leave the machines running, being logged in twice with the same
Jabber account.

When I call from outside - the call ends up at the wrong machine.
Everything in Jitsi is configured out of the box - I didn't change any
priorities etc.

As it looks to me, it is possible to answer a text chat to the machine
the incoming message originates. But when I decide to "upgrade" the
text conversation to a audio/video call then the wrong machine rings.

What to do in such a case (appart from ssh'ing and shuting down Jitsi
at the wrong end)? Is there a logic behind where a call goes to when
more than one client is online with the same Jabber account? Maybe one
can even control which one should ring?

Thank you for help
Conrad

.

--
https://jitsi.org
.


#7

yeah, it would be great to be able to specify a full jid (including
resource) in Jitsis interface for chatting and for telephony (or is it
already possible?).

If you do not care too much about zrtp you could try using pidgin
instead, it allows you to choose the recourse when doing calls.

- --
Yannik Völker

···

On 05.04.2013 02:16, Craig Chandler wrote:

Isn't this what XMPP resource is for, messages and calls can target
a specific JID resource


#8

Hey Craig,

Isn't this what XMPP resource is for, messages and calls can target a
specific JID resource

When no resource is specified it should target the resource with the
highest presence priority, or all positive presence resources depending
on how the server implements it.

Sadly not allowed by XMPP.

Sounds like whatever server you are using is using a highest presence
priority rule

Yup.

You can try playing with the priority in your clients if there is one
client you want to always recieve the call on

Yup, good suggestion for the time being. Soon though, we should be able
to do let the user specify this through the UI.

Cheers,
Emil

···

On 05.04.13, 02:16, Craig Chandler wrote:

On 5/04/2013 10:01 AM, David Bolton wrote:

Ideally it should ring on both machines and whoever answers first gets
the call.

David

On 4/4/2013 5:31 PM, Conrad Beckert wrote:

Hi
  
we have two PCs at home - both start Jitsi upon logon. My folks tend
to leave the machines running, being logged in twice with the same
Jabber account.
  
When I call from outside - the call ends up at the wrong machine.
Everything in Jitsi is configured out of the box - I didn't change any
priorities etc.
  
As it looks to me, it is possible to answer a text chat to the machine
the incoming message originates. But when I decide to "upgrade" the
text conversation to a audio/video call then the wrong machine rings.
  
What to do in such a case (appart from ssh'ing and shuting down Jitsi
at the wrong end)? Is there a logic behind where a call goes to when
more than one client is online with the same Jabber account? Maybe one
can even control which one should ring?
  
Thank you for help
Conrad
  
.

--
https://jitsi.org