From: Sebastien V. <vi...@cl...> - 2009-09-15 11:25:46
|
Hi, First, please use "reply all" rather than "reply" button when you answer on mailing-list. Maybe other has same problem as you. I have not test with PJSIP recently, I will give it a try in one day or two. But you can check with wireshark if all STUN/TURN messages length are a priori right. It could be a missing htonl/ntohl/htons/ntohs in PJSIP side (or in TurnServer). Regards, -- Sebastien Srikanth Rajagopalan a écrit : > Thanks Vincent. I tried to run some of our script to see if it works > properly with the turnserver. PJSIP comaplains that the STUN message > lengths are invalid. Is there any known issue with working with PJSIP? > > Regards, > Srikanth Rajagopalan > > --- On *Thu, 10/9/09, Sébastien Vincent > /<vi...@cl...>/* wrote: > > > From: Sébastien Vincent <vi...@cl...> > Subject: Re: [Turnserver-users] Help with testing TURN server > To: "Srikanth Rajagopalan" <sri...@ya...> > Cc: tur...@li... > Date: Thursday, 10 September, 2009, 10:14 AM > > Hi, > > In order to test TurnServer in a real environment, you have to > build a testbed.. You need 3 PC (1 turnserver, 1client and 1 > peer). But for a quickly test, you can use only one PC with all > programs. > > You can use the src/test_client_* as client programs and > src/test_echo_server as peer program. > First copy extra/turnserver.conf.template to > extra/turnserver.conf, configure turnserver.conf, (setup > listen_address / listen_addressv6) and run turnserver. Then run > src/test_echo_server 8086 (8086 will be the listening echo server > port). Finally run src/test_client_udp client-addr turnserver-addr > peer-addr peer-port (replace *-addr by correct value, it accepts > IPv4/IPv6 address or DNS name). > > If you run all programs in single computer, you have to do > (suppose your address is 192.168.0.1) > > [Terminal 1] > src/turnserver -c extra/turnserver.conf > > [Terminal 2] > src/test_echo_server 8086 > > [Terminal 3] > src/test_client_udp 192.168.0.1 192.168.0.1 192.168.0.1 8086 > > src/test_client_tcp 192.168.0.1 192.168.0.1 192.168.0.1 8086 > > Note if you want to use TLS you have to create SSL certificate and > setup turnserver.conf accordingly > > Regards, > -- > Sebastien Vincent > > Srikanth Rajagopalan a écrit : > > Hi, > > > > Could someone help me with how to test if the TURN server is > working with the test scripts given. I have only used STUN as of > now and would like to make sure it can work as a relay. > > > > Thanks, > > Srikanth Rajagopalan > > > > > > > ------------------------------------------------------------------------ > > See the Web's breaking stories, chosen by people like you. Check > out Yahoo! Buzz > <http://in.rd.yahoo.com/tagline_buzz_1/*http://in.buzz.yahoo.com/>. > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports > 2008 30-Day trial. Simplify your report design, integration and > deployment - and focus on what you do best, core application > coding. Discover what's new with Crystal Reports now. > http://p.sf.net/sfu/bobj-july > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Turnserver-users mailing list > > Tur...@li... > </mc/compose?to=Tur...@li...> > > https://lists.sourceforge.net/lists/listinfo/turnserver-users > > > > > ------------------------------------------------------------------------ > Add whatever you love to the Yahoo! India homepage. Try now! > <http://in.rd.yahoo.com/tagline_metro_3/*http://in.yahoo.com/trynew> |