From: Jaka J. <Jak...@lt...> - 2008-07-10 09:12:51
|
Hi! i'm new to this list and relatively new to p2p-sip and dht and would appreciate any help with this problem: The csipdht2 seems to be working, but i cannot get gsipdht2 to do so. I successfully installed all the latest libraries and applications, i'm running it on Ubuntu 2.6.24-19-generic. I tried to run the gsipdht2 application by the given example in README file. ( $ TPORT_LOG=1 ./gsipdht2 -a 127.0.1.1 sip:peer@p2p $ TPORT_LOG=1 ./gsipdht2 -a 127.0.1.6 sip:peer2@p2p sip:127.0.1.1 $ TPORT_LOG=1 ./gsipdht2 -a 127.0.1.3 sip:peer3@p2p sip:127.0.1.6) After running the first line, an options confirmation dialog appears with parameters filled in. I also enabled all options for consoles (xpp, sip, libsipdht2), then i clicked ok and got this reply and no graphical interface: ./gsipdht2 -a 127.0.1.1 sip:peer@p2p su_source_port_create() returns 0x8238974 [1215680947.575794] xpp: Binding a socket to 127.0.0.1:10000 <1215680947.584942> sipdht: [hashtable] capacity: 31 <1215680947.586156> sipdht: [hashtable] capacity: 31 send 325 bytes to tcp/[127.0.0.1]:5060 at 09:09:07.600727: ------------------------------------------------------------------------ REGISTER sip:p2p SIP/2.0 Via: SIP/2.0/TCP 127.0.0.1;rport;branch=z9hG4bKH47pFj51ye2QH Max-Forwards: 70 From: <sip:peer@p2p>;tag=HtrXraej2t6HD To: <sip:peer@p2p> Call-ID: b14a32c3-c902-122b-b8b9-0019b96b7812 CSeq: 101722137 REGISTER Contact: <sip:peer@127.0.0.1:5060;transport=tcp> Expires: 3600 Content-Length: 0 ------------------------------------------------------------------------ recv 325 bytes from tcp/[127.0.0.1]:46091 at 09:09:07.601037: ------------------------------------------------------------------------ REGISTER sip:p2p SIP/2.0 Via: SIP/2.0/TCP 127.0.0.1;rport;branch=z9hG4bKH47pFj51ye2QH Max-Forwards: 70 From: <sip:peer@p2p>;tag=HtrXraej2t6HD To: <sip:peer@p2p> Call-ID: b14a32c3-c902-122b-b8b9-0019b96b7812 CSeq: 101722137 REGISTER Contact: <sip:peer@127.0.0.1:5060;transport=tcp> Expires: 3600 Content-Length: 0 ------------------------------------------------------------------------ <1215680947.602451> sipdht: [sip:peer@p2p] xppsip_new_request <1215680947.604503> sipdht: [hashtable] appended <sip:peer@p2p, sip:peer@127.0.0.1:5060;transport=tcp> (code 702) send 301 bytes to tcp/[127.0.0.1]:46091 at 09:09:07.606201: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/TCP 127.0.0.1;rport=46091;branch=z9hG4bKH47pFj51ye2QH From: <sip:peer@p2p>;tag=HtrXraej2t6HD To: <sip:peer@p2p> Call-ID: b14a32c3-c902-122b-b8b9-0019b96b7812 CSeq: 101722137 REGISTER Contact: <sip:peer@127.0.0.1:5060;transport=tcp>;expires=3600 Content-Length: 0 ------------------------------------------------------------------------ recv 301 bytes from tcp/[127.0.0.1]:5060 at 09:09:07.609079: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/TCP 127.0.0.1;rport=46091;branch=z9hG4bKH47pFj51ye2QH From: <sip:peer@p2p>;tag=HtrXraej2t6HD To: <sip:peer@p2p> Call-ID: b14a32c3-c902-122b-b8b9-0019b96b7812 CSeq: 101722137 REGISTER Contact: <sip:peer@127.0.0.1:5060;transport=tcp>;expires=3600 Content-Length: 0 ------------------------------------------------------------------------ [sipdht_avahi] avahi_entry_group_add_service failed: Invalid host name avahi publish error Hay anybody experienced similar problems (no graphical interface) and does anybody have a solution? Thank u in advance for your help. best regards, jaka |