engobi / libjingle

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

call example is not working fine with my local host xmpp server #344

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

when i am executing libjingle call example, i have installed xmpp server in my 
local system that is openfire ,i have changed code  of call_main i replace 
google xmppsever address to my localhost address 
after building i am executing with call.exe -allowplain -tls=disable  -s 
localhost:5222 command after that i am entering jid and password of one user 
who are registered in xmpp server then it shows logged in ,similarly i am 
opening another visual studio command prompt window and entering another user 
jid and password.  now both user are logged in xmpp server. after that i want 
to add user to our roster with friend command then it shows "requesting to 
befriend" later when i am checking with roster command is shows "roster 
contains 0 friend"  

What is the expected output? What do you see instead?
in our case it should friend to roster and in call command it should initiate 
calling...but it is not doing.. 

What version of the product are you using? On what operating system?
libjingle 0.6.14 ,windows 7 OS ,openfire xmpp server

please solve my issue as soon as possible thanks a lot

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

GoogleCodeExporter commented 9 years ago
I have come accross the same problem, and after short investigation (I'm newbie 
to libjingle) I suspect that the reason is that in the 0.6.14 implementation a 
user without the "voice" capability cannot be added to the rooster 
(immediatelly removed).
FriendInviteSendTask::Send( ) produces "Presence" stanza without "CAPS" section 
- and when the receiver in PresencePushTask::HandlePresence( ) decodes the 
sender status (having no CAPS info) it concludes that the sender is without the 
"video" & "voice" capabilities.
When signing in to the XMPP server, both the sender and the receiver send 
"Presence" stanzas to the XMPP server (broadcast?) - these stanzas include CAPS 
info.

Original comment by piotr.l...@wp.pl on 11 Jul 2012 at 8:57