TURN with PJSIP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux