11 messages in com.googlegroups.google-talk-openRe: Not able to use example code in l...
FromSent OnAttachments
pratik07 Feb 2008 02:56 
swapnil kamble10 Feb 2008 18:58 
pratik12 Feb 2008 00:15 
swapnil kamble12 Feb 2008 19:16 
swapnil kamble12 Feb 2008 19:26 
pratik12 Feb 2008 20:03 
swapnil kamble12 Feb 2008 20:46 
pratik23 Feb 2008 03:21 
swapnil kamble23 Feb 2008 22:34 
pratik24 Feb 2008 02:19 
swapnil kamble24 Feb 2008 03:22 
Subject:Re: Not able to use example code in libjingle
From:swapnil kamble (swap@gmail.com)
Date:02/23/2008 10:34:52 PM
List:com.googlegroups.google-talk-open

yes, it can get blocked by firewall. Try out with different on desktop in the sense that with some different kind of internet connection like dhcp.

On Sat, Feb 23, 2008 at 4:51 PM, pratik <prat@gmail.com> wrote:

Dear Swapnil, Sorry for not replying so long. I want not well.

I installed that example in another computer but still it didn't work. Can libjingle be blocked by firewall?

Pratik

On Feb 13, 11:47 am, "swapnil kamble" <swap@gmail.com> wrote:

Do one thing, take that example and run it on desktop machine with different internet connection. and let me know.

On Feb 13, 2008 9:33 AM, pratik <prat@gmail.com> wrote:

Dear Swapnil, Thanks. I don't need any VOIP. I need only the file transfer. The person from whom I want to take the file may be inside NAT or firewall. So I thought libjingle is good option. And also when I use gmail server too, sometime the file transfer is OK but sometimes the STUN server gives problem saying "bad username" or "no route to host". And Swapnil, I am curious to get the answer to my first question. I am pasting here again.

Actually I was using the network from my college (203.159.10...). And I was not able to login to gmail. Then I changed it to ipstar network (192.168.5...) and now I can send the file. I have no firewall installed in my machine. If I can connect with ipstar network why can't I connect through my college's public network? Is it a firewall issue? With my college network I can easily connect to gmail (gtalk) with gtalk client. But why that example doesn't work with that network?

I will try jabberd also. And thank you very much for your prompt reply.

Pratik

On Feb 13, 10:26 am, "swapnil kamble" <swap@gmail.com> wrote:

Maybe you can setup jabberd, check out following linkhttp://linuxgazette.net/112/tomar.html

On Feb 13, 2008 8:46 AM, swapnil kamble <swap@gmail.com>

wrote:

Hi Pratik, Do you have to use particularly libjingle ?? If no, and you want

VoIP

then

setup the simplest server by *"asterisk". *I have never setup my own server. Sorry :-(

On Feb 12, 2008 1:46 PM, pratik <prat@gmail.com> wrote:

Thank you very much Swapnil. Actually I was using the network from my college (203.159.10..

.).

And

I was not able to login to gmail. Then I changed it to ipstar network (192.168.5...) and now I can send the file. I have no firewall installed in my machine. If I can connect with ipstar network why can't I connect through my college's public network? Is it a firewall issue? With my college network I can easily connect to gmail (gtalk) with gtalk client. But why that example doesn't work with that network? Now I want to use my own server. I installed openfire. And when i tried to connect to this server (as a localhost), it gave a lot of error. Its a long error. I have only pasted part of it.

SEND >>>>>>>>>>>>>>>>>>>>>>>>> : Tue Feb 12 13:26:16 2008 <iq type="error" id="543-4" to="pratik"> <query xmlns="http://jabber.org/protocol/disco#info"/> <error code="501" type="cancel"> <feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp- stanzas"/> </error> </iq> RECV <<<<<<<<<<<<<<<<<<<<<<<<< : Tue Feb 12 13:26:16 2008 <iq type="result" id="6" to="shrestha@pratik/pcp"> <query xmlns="google:jingleinfo"> <stun> <server host="stun.xten.net" udp="3478"/> <server host="jivesoftware.com" udp="3478"/> <server host="igniterealtime.org" udp="3478"/> <server host="stun.fwdnet.net" udp="3478"/> </stun> <publicip ip="127.0.0.1"/> </query> </iq> === DNS RESOLUTION (stun.xten.net) === stun.xten.net resolved to 64.69.76.23 === DNS RESOLUTION (jivesoftware.com) === jivesoftware.com resolved to 63.246.20.124 === DNS RESOLUTION (igniterealtime.org) === igniterealtime.org resolved to 63.246.20.125 === DNS RESOLUTION (stun.fwdnet.net) === stun.fwdnet.net resolved to 69.90.168.14 RECV <<<<<<<<<<<<<<<<<<<<<<<<< : Tue Feb 12 13:32:16 2008 </stream:stream> Logged out. Cleanup *** glibc detected *** pcp: free(): invalid pointer: 0x081b7452 *** ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6[0xb7afad65] /lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7afe800]

/usr/lib/i686/cmov/libcrypto.so.0.9.8(CRYPTO_free+0x3a)[0xb7d3c4aa]

/usr/lib/i686/cmov/libcrypto.so.0.9.8(ASN1_STRING_free+0x2d) [0xb7dce04d] /usr/lib/i686/cmov/libcrypto.so.0.9.8(ASN1_primitive_free+0x75) [0xb7dc4b45] /usr/lib/i686/cmov/libcrypto.so.0.9.8[0xb7dc4e23] /usr/lib/i686/cmov/libcrypto.so.0.9.8(ASN1_template_free+0x88) [0xb7dc4ef8] /usr/lib/i686/cmov/libcrypto.so.0.9.8[0xb7dc4e03] /usr/lib/i686/cmov/libcrypto.so.0.9.8(ASN1_template_free+0x52) [0xb7dc4ec2] /usr/lib/i686/cmov/libcrypto.so.0.9.8[0xb7dc4e03] /usr/lib/i686/cmov/libcrypto.so.0.9.8(ASN1_template_free+0x88) [0xb7dc4ef8] /usr/lib/i686/cmov/libcrypto.so.0.9.8[0xb7dc4e03]

/usr/lib/i686/cmov/libcrypto.so.0.9.8(ASN1_item_free+0x13)[0xb7dc4f33]

/usr/lib/i686/cmov/libcrypto.so.0.9.8(X509_free+0x27)[0xb7dbe6d7]

/usr/lib/i686/cmov/libssl.so.0.9.8(SSL_SESSION_free+0xd7)[0xb7e718d7]

/usr/lib/i686/cmov/libssl.so.0.9.8(SSL_free+0x10d)[0xb7e6f3fd] pcp[0x811c699] pcp[0x811d246] pcp[0x8066162] pcp[0x80e2e24] pcp[0x80e10b1]

I think its invalid pointer to memory issue. And can you refer the best free server that I can use for using libjingle (apart from openfire).

Thank you very much again Swapnil. You made may day.

Pratik

On Feb 11, 9:59 am, "swapnil kamble" <swap@gmail.com>

wrote:

check out if there is some firewall problem. And also test

./login

example

and let me know.

On Feb 7, 2008 4:27 PM, pratik <prat@gmail.com> wrote:ou

I am new to libjingle. I installed it somehow but now when i

tried

to

use the example code given for file transfer, I am

disconnected.

I

cannot figure out the error message. I just gave the command

"pcp

-d"

and input my jid and password. Then it gave the message as

given

below

=== DNS RESOLUTION (talk.google.com) === talk.google.com resolved to 216.239.51.125 OpenSSLAdapter::OnConnectEvent SEND >>>>>>>>>>>>>>>>>>>>>>>>> : Thu Feb 7 17:21:39 2008 <stream:stream to="203.159.10.22" xml:lang="*" version=" 1.0" xmlns:stream="http://etherx.jabber.org/streams"

xmlns="jabber:client">

then it quit. Can anyone please tell me how to solve this problem?

-- ...Swapnil

|| Hare Krishna Hare Krishna Krishna Krishna Hare Hare || || Hare Rama Hare Rama Rama Rama Hare Hare ||

-- ...Swapnil

|| Hare Krishna Hare Krishna Krishna Krishna Hare Hare || || Hare Rama Hare Rama Rama Rama Hare Hare ||

-- ...Swapnil

|| Hare Krishna Hare Krishna Krishna Krishna Hare Hare || || Hare Rama Hare Rama Rama Rama Hare Hare ||- Hide quoted

text -

- Show quoted text -

|| Hare Krishna Hare Krishna Krishna Krishna Hare Hare || || Hare Rama Hare Rama Rama Rama Hare Hare ||

|| Hare Krishna Hare Krishna Krishna Krishna Hare Hare || || Hare Rama Hare Rama Rama Rama Hare Hare ||