jigar-joshi / libjingle

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

Fail to voice call for Libjingle 0.5.2 #140

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
Build Libjingle 0.5.2
2.
call.exe --d --voiceinput ./voice.rtpdump

What is the expected output? What do you see instead?
Voice call with gtalk windows native client

What version of the product are you using? On what operating system?
Libjingle 0.5.2
OS: Windows 7

Please provide any additional information below.
I pasted the log from another issue which is closed but I still can reproduce 
(http://code.google.com/p/libjingle/issues/detail?id=95):
Error(port.cc:291): Jingle:Port[rtp:stun:Net[br0:192.168.1.85]]: Received STUN 
response without username
RECV <<<<<<<<<<<<<<<< : Sat Jan 22 18:36:07 2011
   <iq to="vu3rdd.test1@gmail.com/call1C82A765" type="set" id="95" from="vu3rdd.test2@gmail.com/Talk.v104F3627B82">
     <session type="reject" id="3056858963" initiator="vu3rdd.test1@gmail.com/call1C82A765" xmlns="http://www.google.com/session"/>
   </iq>

call not answered
(vu3rdd.test2@gmail.com/Talk.v104F3627B82) SEND >>>>>>>>>>>>>>>> : Sat Jan 22 
18:36:07 2011
   <iq to="vu3rdd.test2@gmail.com/Talk.v104F3627B82" id="95" type="result"/>
Channel disabled
Changing voice state, recv=0 send=0
Destroyed channel

call destroyed
(call) RECV <<<<<<<<<<<<<<<< : Sat Jan 22 18:36:07 2011
   <iq to="vu3rdd.test1@gmail.com/call1C82A765" id="8" type="result" from="vu3rdd.test2@gmail.com/Talk.v104F3627B82"/>
RECV <<<<<<<<<<<<<<<< : Sat Jan 22 18:36:08 2011
   <iq to="vu3rdd.test1@gmail.com/call1C82A765" id="9" type="error" from="vu3rdd.test2@gmail.com/Talk.v104F3627B82">
     <jingle action="transport-info" id="3056858963" initiator="vu3rdd.test1@gmail.com/call1C82A765" xmlns="urn:xmpp:jingle:1">
       <content name="audio" creator="initiator">
         <transport xmlns="http://www.google.com/transport/p2p">
           <candidate name="rtp" address="192.168.1.85" port="48628" preference="1" username="mrMHssUZEFp1ZB+V" protocol="udp" generation="0" password="Xyv5HGAi8bmBvVIv" type="local" network="br0"/>
         </transport>
       </content>
     </jingle>
     <session type="candidates" id="3056858963" initiator="vu3rdd.test1@gmail.com/call1C82A765" xmlns="http://www.google.com/session">
       <candidate name="rtp" address="192.168.1.85" port="48628" preference="1" username="mrMHssUZEFp1ZB+V" protocol="udp" generation="0" password="Xyv5HGAi8bmBvVIv" type="local" network="br0"/>
     </session>
     <error type="modify">
RECV <<<<<<<<<<<<<<<< : Sat Jan 22 18:36:08 2011
   <sta:bad-request xmlns:sta="urn:ietf:params:xml:ns:xmpp-stanzas"/>
   <sta:text xml:lang="en" xmlns:sta="urn:ietf:params:xml:ns:xmpp-stanzas">
     unknown session
   </sta:text>
 </error>
 </iq>
RECV <<<<<<<<<<<<<<<< : Sat Jan 22 18:36:08 2011
   <iq to="vu3rdd.test1@gmail.com/call1C82A765" id="10" type="error" from="vu3rdd.test2@gmail.com/Talk.v104F3627B82">
     <jingle action="transport-info" id="3056858963" initiator="vu3rdd.test1@gmail.com/call1C82A765" xmlns="urn:xmpp:jingle:1">
       <content name="audio" creator="initiator">
         <transport xmlns="http://www.google.com/transport/p2p">
           <candidate name="rtp" address="122.166.88.147" port="34731" preference="0.9" username="mtGeaL7QYY/HoNw8" protocol="udp" generation="0" password="tRzTMB1PQQ3CNRJI" type="stun" network="br0"/>
         </transport>
       </content>
     </jingle>
     <session type="candidates" id="3056858963" initiator="vu3rdd.test1@gmail.com/call1C82A765" xmlns="http://www.google.com/session">
       <candidate name="rtp" address="122.166.88.147" port="34731" preference="0.9" username="mtGeaL7QYY/HoNw8" protocol="udp" generation="0" password="tRzTMB1PQQ3CNRJI" type="stun" network="br0"/>
     </session>
     <error type="modify">
RECV <<<<<<<<<<<<<<<< : Sat Jan 22 18:36:08 2011
   <sta:bad-request xmlns:sta="urn:ietf:params:xml:ns:xmpp-stanzas"/>
   <sta:text xml:lang="en" xmlns:sta="urn:ietf:params:xml:ns:xmpp-stanzas">
     unknown session
   </sta:text>
 </error>
 </iq>
RECV <<<<<<<<<<<<<<<< : Sat Jan 22 18:37:20 2011

Original issue reported on code.google.com by haojies...@gmail.com on 17 Feb 2011 at 3:40

GoogleCodeExporter commented 9 years ago
Can make voice call with gtalk web client. Need I update a version of gtalk 
windows native client? My current version is 1.0.0.104.

Original comment by haojies...@gmail.com on 18 Feb 2011 at 2:38

GoogleCodeExporter commented 9 years ago
If I understand correctly, you were attempting to run "call.exe" as the first 
user and talk to a GTalk client which you logged on as the second user. Did you 
see the call-in notification from the GTalk client? If so, did you clicked the 
"Answer" button to answer the call?
The following error is benign:
"Received STUN response without username".
I need the full xml stanzas to determine the reason why you get "call not 
answered".

Original comment by jun...@google.com on 24 Feb 2011 at 8:07

GoogleCodeExporter commented 9 years ago
Thanks for your response. 
I tried to place voice call on call.exe for Libjingle 0.4.0/0.5.2 to GTalk 
Windows client and GTalk web plugin, with the result:
1. The call.exe for Libjingle 0.4.0 can place voice call with GTalk Windows 
client successfully, but failed with GTalk web plugin.
2. The call.exe for Libjingle 0.5.2 can place voice call with GTalk web plugin 
successfully, but failed with GTalk Windows client.

I build Libjingle 0.4.0/0.5.2 on Windows with Linphone latest Mediastreamer2 
library.

For Libjingle 0.4.0, I need add the fix mentioned in issue 142, which I 
submitted.
For Libjingle 0.5.2, I need add the fix mentioned in issue 141&142, which I 
submitted.

I would like to capture the XMPP log about why Libjingle 0.5.2 cannot place 
voice call with GTalk windows client later.

Original comment by haojies...@gmail.com on 25 Feb 2011 at 2:05

GoogleCodeExporter commented 9 years ago
I'm not able to repro this issue using libjingle 0.5.6. This issue may be fixed 
during Gingle/Jingle change.

Original comment by jun...@google.com on 29 Jun 2011 at 10:24