[sip-comm-dev] Jabber and offline messages


#1

Hi Damian,

When I try to send an offline message using my gmail jabber account I receive Message delivered event, but I think that the message is not delivered. And something more, I receive after that a message received event which contains the same text as the sent one. What do you think is the problem?

Regards,
Yana

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#2

Yana,

I think gmail does not suport offline messages.
You should test on some other jabber server.

···

On 9/25/06, Yana Stamcheva <yana.stamcheva@gmail.com> wrote:

Hi Damian,

When I try to send an offline message using my gmail jabber account I
receive Message delivered event, but I think that the message is not
delivered. And something more, I receive after that a message received
event which contains the same text as the sent one. What do you think is
the problem?

Regards,
Yana

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

--
Regards,
    Nick.


#3

Hi,

Thanks Nick! This explains why it's not working.

However this is not a normal behavior even if gmail doesn't support offline messages. As I'm working on the user interface I'm looking for an indication that this feature is not supported by the protocol to inform the user that this operation is not possible.

Regards,
Yana

Nick Bilak wrote:

···

Yana,
I think gmail does not suport offline messages.
You should test on some other jabber server.

On 9/25/06, *Yana Stamcheva* <yana.stamcheva@gmail.com > <mailto:yana.stamcheva@gmail.com>> wrote:

    Hi Damian,

    When I try to send an offline message using my gmail jabber account I
    receive Message delivered event, but I think that the message is not
    delivered. And something more, I receive after that a message received
    event which contains the same text as the sent one. What do you
    think is
    the problem?

    Regards,
    Yana

    ---------------------------------------------------------------------
    To unsubscribe, e-mail:
    dev-unsubscribe@sip-communicator.dev.java.net
    <mailto:dev-unsubscribe@sip-communicator.dev.java.net>
    For additional commands, e-mail:
    dev-help@sip-communicator.dev.java.net
    <mailto:dev-help@sip-communicator.dev.java.net>

--
Regards,
    Nick.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#4

Yes I was just going to test and implement offline messages in SC.
But I have other problem about deliver notification of messages.
I'm wandering does every server offers this extension?
I will search a way to check this, maybe with the ServiceDiscoveryManager of the smack lib.
Maybe I can also check does server support offline messages through it.

Nick Bilak wrote:

···

Yana,
I think gmail does not suport offline messages.
You should test on some other jabber server.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#5

Hi Damian,

Damian Minkov wrote:

Maybe I can also check does server support offline messages through it.

This is just what I need:)

Regards,
Yana

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#6

Yes it would be good to let the user know that the message was not delivered. We could throw an OperationFailedException in such cases.

Emil

Damian Minkov wrote:

···

Yes I was just going to test and implement offline messages in SC.
But I have other problem about deliver notification of messages.
I'm wandering does every server offers this extension?
I will search a way to check this, maybe with the ServiceDiscoveryManager of the smack lib.
Maybe I can also check does server support offline messages through it.

Nick Bilak wrote:

Yana,
I think gmail does not suport offline messages.
You should test on some other jabber server.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net