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


#1

Hi Emil, Hi Mailing List

choice where to send the messages to is always best.

Let´s have a look at the use case: The not so tech savvy folks have two machines open - in the office and in the living room. They don´t even know and if so, they wouldn´t care either. No knowledge about priorities whatsoever.

Someone wants to contact from outside. He/She cannot see from looking at the Jitsi´s roster that the far side is online twice with the same account. (in Empathy though, this fact would visible as I remember)

That someone sends a text message. Murphy´s law with incredible precision sends it to the wrong machine. No way to correct this from the far side.

Better -if the other contact sends a text message: The answer of which goes back to the right place. But initiating a call - even from the chat window brings back our good old friend Murphy and the phone rings somewhere else.

So I´d propose:
If two/more connectionss with the same priority exist - send incoming messages to both. I don´t know if this wirks for jingle too. If not - letting the caller chose ist best.

What I´d consider important: when call from an existing chat - i.e. from the chat window - ring the complete JID (It should be there, shouldn´ t it) so the right machine gets the call.

Is that possible? It would be great.

Thanks
Conrad

···

-----Ursprüngliche Nachricht-----
Gesendet: Freitag, 05 April 2013 um 21:05:46 Uhr
Von: "Emil Ivov" <emcho@jitsi.org>
An: dev@jitsi.java.net
Betreff: [jitsi-dev] Re: More than one Jitsi online -> where goes the call to?
Hey Craig,

On 05.04.13, 02:16, Craig Chandler wrote:

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 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


#2

Hi Emil, Hi Mailing List

choice where to send the messages to is always best.

Let´s have a look at the use case: The not so tech savvy folks have
two machines open - in the office and in the living room. They don´t
even know and if so, they wouldn´t care either. No knowledge about
priorities whatsoever.

Someone wants to contact from outside. He/She cannot see from looking
at the Jitsi´s roster that the far side is online twice with the same
account. (in Empathy though, this fact would visible as I remember)

That someone sends a text message. Murphy´s law with incredible
precision sends it to the wrong machine. No way to correct this from
the far side.

Well, with Jitsi it would currently go to both.

Better -if the other contact sends a text message: The answer of
which goes back to the right place.

Yup, that's how it works.

But initiating a call - even from
the chat window brings back our good old friend Murphy and the phone
rings somewhere else.

So I´d propose: If two/more connectionss with the same priority exist
- send incoming messages to both. I don´t know if this wirks for
jingle too. If not - letting the caller chose ist best.

I know Yana is currently implementing exactly that.

What I´d consider important: when call from an existing chat - i.e.
from the chat window - ring the complete JID (It should be there,
shouldn´ t it) so the right machine gets the call.

Yes, this sounds reasonable.

Yana would you be able to integrate this in your current change set or
are you keeping it for some other time?

Cheers,
Emil

···

On 08.04.13, 11:00, Conrad Beckert wrote:

Is that possible? It would be great.

Thanks Conrad

-----Ursprüngliche Nachricht----- Gesendet: Freitag, 05 April 2013 um
21:05:46 Uhr Von: "Emil Ivov" <emcho@jitsi.org> An:
dev@jitsi.java.net Betreff: [jitsi-dev] Re: More than one Jitsi
online -> where goes the call to? Hey Craig,

On 05.04.13, 02:16, Craig Chandler wrote:

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 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

--
https://jitsi.org