ZhuChaozheng / libjingle

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

"call" program AUTOMATICALLY removes user from roster.. #384

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. login with account in "call" program ("./call username@gmail.com")
2. login with another account in different computer ("./call 
username2@gmail.com")
3. the users are automatically removed from eachother's rosters as soon as they 
come online..

What is the expected output? What do you see instead?
i've run ./call with "-d" option.. here's my output..

 <stream:stream from="gmail.com" id="1D65B8B570251398" version="1.0"xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">
 XmppLoginTask::Advance - LOGINSTATE_STREAMSTART_SENT
 RECV <<<<<<<<<<<<<<<< : Tue Aug 21 18:37:51 2012
  <stream:features>
 <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
   <mechanism>
     PLAIN
   </mechanism>
   <mechanism>
     X-GOOGLE-TOKEN
   </mechanism>
   <mechanism>
     X-OAUTH2
   </mechanism>
 </mechanisms>
</stream:features>
XmppLoginTask::Advance - LOGINSTATE_STARTED_XMPP
XmppLoginTask::Advance - LOGINSTATE_AUTH_INIT
XmppLoginTask::Advance - LOGINSTATE_SASL_RUNNING
SEND >>>>>>>>>>>>>>>> : Tue Aug 21 18:37:51 2012

 <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="PLAIN" auth:allow-
 non-google- 
  login="true" auth:client-uses-full-bind-result="true" 
 xmlns:auth="http://www.google.com/talk/protocol/auth">
 ## TEXT REMOVED ##
 </auth>
 RECV <<<<<<<<<<<<<<<< : Tue Aug 21 18:37:51 2012
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/>
XmppLoginTask::Advance - LOGINSTATE_SASL_RUNNING
XmppLoginTask::Advance - No error
XmppLoginTask::Advance - LOGINSTATE_STREAMSTART_SENT
SEND >>>>>>>>>>>>>>>> : Tue Aug 21 18:37:51 2012
<stream:stream to="gmail.com" xml:lang="*" version="1.0" 
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">
RECV <<<<<<<<<<<<<<<< : Tue Aug 21 18:37:51 2012
<stream:stream from="gmail.com" id="2B727FCA62E71E0F" version="1.0" 
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">
XmppLoginTask::Advance - LOGINSTATE_STREAMSTART_SENT
RECV <<<<<<<<<<<<<<<< : Tue Aug 21 18:37:51 2012
<stream:features>
 <bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/>
 <session xmlns="urn:ietf:params:xml:ns:xmpp-session"/>
 </stream:features>
XmppLoginTask::Advance - LOGINSTATE_STARTED_XMPP
XmppLoginTask::Advance - LOGINSTATE_BIND_INIT
XmppLoginTask::Advance - LOGINSTATE_BIND_REQUESTED
SEND >>>>>>>>>>>>>>>> : Tue Aug 21 18:37:51 2012

<iq type="set" id="0">
 <bind xmlns="urn:ietf:params:xml:ns:xmpp-bind">
   <resource>
     call
   </resource>
 </bind>
 </iq>
RECV <<<<<<<<<<<<<<<< : Tue Aug 21 18:37:51 2012
<iq id="0" type="result">
  <bind xmlns="urn:ietf:params:xml:ns:xmpp-bind">
   <jid>
     tejeshsmith@gmail.com/call6183138F
   </jid>
  </bind>
</iq>
XmppLoginTask::Advance - LOGINSTATE_BIND_REQUESTED
XmppLoginTask::Advance - LOGINSTATE_SESSION_REQUESTED
SEND >>>>>>>>>>>>>>>> : Tue Aug 21 18:37:51 2012
<iq type="set" id="1">
 <session xmlns="urn:ietf:params:xml:ns:xmpp-session"/>
</iq>
RECV <<<<<<<<<<<<<<<< : Tue Aug 21 18:37:51 2012
RECV <<<<<<<<<<<<<<<< : Tue Aug 21 18:37:51 2012

<iq type="result" id="1"/>
XmppLoginTask::Advance - LOGINSTATE_SESSION_REQUESTED
logged in...
Creating default VideoCapturer
Enumerating V4L2 devices
V4L2 device metadata found at /sys/class/video4linux/
Found V4L2 capture device /dev/video0
Trying /sys/class/video4linux/video0/name
Name for video0 is HP Webcam
Total V4L2 devices found : 1
Creating default VideoCapturer
Enumerating V4L2 devices
V4L2 device metadata found at /sys/class/video4linux/
Found V4L2 capture device /dev/video0
Trying /sys/class/video4linux/video0/name
Name for video0 is HP Webcam 
Total V4L2 devices found : 1
Selected PulseAudio sound system
Number of references: 1
<pre><code>Number of references: 0
Selected PulseAudio sound system
Number of references: 1
Number of references: 0
Enumerating V4L2 devices
V4L2 device metadata found at /sys/class/video4linux/
Found V4L2 capture device /dev/video0
Trying /sys/class/video4linux/video0/name
Name for video0 is HP Webcam
Total V4L2 devices found : 1
SEND >>>>>>>>>>>>>>>> : Tue Aug 21 18:37:51 2012
<presence>
 <status/>
 <priority>
   0
 </priority>
 <c xmlns="http://jabber.org/protocol/caps" node="http://code.google.com/p/libjingle
 /call" ver="0.6" ext=" pmuc-v1"/>
 <x xmlns="jabber:x:delay" stamp="20120821T13:07:51"/>
</presence>
RECV <<<<<<<<<<<<<<<< : Tue Aug 21 18:37:52 2012
<presence from="smithtejesh@gmail.com/callAB04C4D8"  
to="tejeshsmith@gmail.com/call6183138F">
 <status/>
 <priority>
   0
 </priority>
 <c node="http://code.google.com/p/libjingle/call" ver="0.6" ext=" pmuc-v1" 
 xmlns="http://jabber.org/protocol/caps"/>
 <x stamp="20120821T12:58:59" xmlns="jabber:x:delay"/>
 <x xmlns="vcard-temp:x:update"/>
  Removing from roster: smithtejesh@gmail.com/callAB04C4D8

Now,

smithtejesh@gmail.com is REMOVED from roster..automatically... and not able to 
call the user because of this.. what could be wrong here?

What version of the product are you using? On what operating system?
Using ubuntu 11.10 on 1st computer and 11.04 on second. both have 
libjingle-0.6.14 installed.. 

Original issue reported on code.google.com by tejeshsm...@gmail.com on 24 Aug 2012 at 10:24

GoogleCodeExporter commented 9 years ago
have you solved this problem? I have encountered this problem, can you tell 
me how to solve it? 

Original comment by DongMiny...@gmail.com on 24 Sep 2012 at 12:50