Can you actually telnet to turn server? Because your log say connection refused "tcprel00D18EB8 TCP connect() error: Connection refused (WSAECONNREFUSED)" 2010/10/4 Salahuddin Ahmed <bd.rubel at gmail.com> > Hello, > > I want to use TURN in pjsua. For that I download turnserver-0.4 from > http://www.sf.net/projects/turnserver. I installed it one of my server > eg. A. And I Install openser in another server eg.B. Now I want to run > pjsua by this following command. > > pjsua-i386-Win32-vc8-Debug.exe --use-turn --turn-tcp --turn-srv > [IP_OF_SERVER_A] --turn-user 123456 --turn-passwd 123456 --use-ice > > But unfortunately I for some error. > > If anyone have experience running PJSIP with TURN please help me... > > PJSIP Version: pjproject-1.8 > OS: WindowsXP > > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > tcprel00D18EB8 TURN client session created > tcprel00D18EB8 State changed Null --> Resolving > tcprel00D18EB8 State changed Resolving --> Resolved > icetp00 Comp 1: TURN relay candidate waiting for allocation > icetp00 Comp 2: host candidate 192.168.10.52:3971 added > tcprel00D1D998 TURN client session created > tcprel00D1D998 State changed Null --> Resolving > tcprel00D1D998 State changed Resolving --> Resolved > icetp00 Comp 2: TURN relay candidate waiting for allocation > icetp00 ICE stream transport created > tcprel00D18EB8 TCP connect() error: Connection refused (WSAECONNREFUSED) > tcprel00D1D998 TCP connect() error: Connection refused (WSAECONNREFUSED) > tcprel00D18EB8 State changed Resolved --> Deallocated > tcprel00D1D998 State changed Resolved --> Deallocated > icetp00 TURN allocation failed: Connection refused (WSAECONNREFUSED) > icetp00 TURN allocation failed: Connection refused (WSAECONNREFUSED) > tcprel00D18EB8 Request to shutdown in state Deallocated, cause:0 > tcprel00D1D998 Request to shutdown in state Deallocated, cause:0 > tcprel00D18EB8 State changed Deallocated --> Destroying > tcprel00D1D998 State changed Deallocated --> Destroying > pjsua_media.c Error initializing ICE media transport: Connection > refused (WSAECONNREFUSED) [status=130061] > tcprel00D1D998 TURN client session destroyed > icetp00 ICE stream transport destroyed > tcprel00D18EB8 TURN client session destroyed > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > Thanks, > Salahuddin Ahmed > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > -- Kabil Akp?nar -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101005/4c5352d4/attachment-0001.html>