jigar-joshi / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

call problem after getting a text-message #182

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
  A contact send a text message

What is the expected output? What do you see instead?
  Removing from roster:contact's account
  Contact's account is moved form roster, so that I can't call to him.

What version of the product are you using? On what operating system?
  Libjingle0.5.6

Original issue reported on code.google.com by chenanji...@gmail.com on 27 Jun 2011 at 1:16

GoogleCodeExporter commented 9 years ago
I really don't understand this bug report. Could you please provide more 
details? What app do you use on each side? What are the steps to repro this 
issue? What is actual result vs. expected result?

Original comment by jun...@google.com on 29 Jun 2011 at 12:49

GoogleCodeExporter commented 9 years ago
I use Gmail to send a text message to the user using libjingle call program.
A@gmail.com                           B@gmail.com

libjingle call program console print:
Removing from roster:A@gmail.com/XXXXXX

then B@gmail.com can't call A@gmail.com because A@gmail.com/XXXXXX has removed 
from roster

A@gmail.com shouldn't be removed from roster, when getting a text message.
Sorry for my bad expression

Original comment by chenanji...@gmail.com on 29 Jun 2011 at 5:35

GoogleCodeExporter commented 9 years ago
I'm not able to repro this issue. The described scenario works fine for me. If 
you still run into the same issue, please use "call" program with debug switch 
"-d" and send me the full XMPP stanza.

Original comment by jun...@google.com on 29 Jun 2011 at 4:44

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
libjingle 0.5.7 is fine without the problem.

Original comment by chenanji...@gmail.com on 1 Jul 2011 at 3:55

GoogleCodeExporter commented 9 years ago

Original comment by jun...@google.com on 1 Jul 2011 at 5:28

GoogleCodeExporter commented 9 years ago
Finally, i found the problem.
In the file "presencepushtask.cc"
PresencePushTask::HandleStanza(const XmlElement * stanza)
{
//I add some codes to handle QN_MESSAGE,
//but adding QueueStanza(stanza); before return
//would cause the problem.
}

Original comment by chenanji...@gmail.com on 10 Jul 2011 at 2:04