Only a single host candidate being added. No srflx, relay, etc.

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

 



Hi,
I'm abstracting the pjnath library via c++. Currently the only  
candidate I get is a single host candidate. The underlying logic looks  
as-if it should add ALL candidates. The server reflexive candidate is  
never added, see gdb log below.

Thanks,
2K

[Switching to process 54290]
Running?
  01:11:20.657 os_core_unix.c  pjlib 1.4 for POSIX initialized
  01:11:20.658          pjlib  select() I/O Queue created (0x100804a28)
Initializing ICE stream transport configuration.
Creating ICE stream transport.
  01:11:20.658 foo.bar.ice_  Creating ICE stream transport with 1  
component(s)
  01:11:20.658 foo.bar.ice_  Comp 1: srflx candidate starts Binding  
discovery
  01:11:21.091 stuntp0x100400  TX 36 bytes STUN message to  
124.163.121.143:3478:
--- begin STUN message ---
STUN Binding request
  Hdr: length=16, magic=2112a442, tsx_id=411139174954c39800012e2f
  Attributes:
   SOFTWARE: length=10, value="pjnath-1.4"
--- end of STUN message ---

  01:11:21.091 stuntsx0x10100  STUN client transaction created
  01:11:21.091 stuntsx0x10100  STUN sending message (transmit count=1)
  01:11:21.195 stuntsx0x10100  STUN sending message (transmit count=2)
  01:11:21.224 foo.bar.ice_  Comp 1: host candidate 192.168.1.3:49602  
added
  01:11:21.224 foo.bar.ice_  ICE stream transport created
  01:11:21.224 foo.bar.ice_  ICE session created, comp_cnt=1, role is  
Controlling agent
  01:11:21.224 foo.bar.ice_  ICE nomination type set to aggressive
  01:11:21.224 foo.bar.ice_  Candidate 0 of comp 0 is not added  
(pending)
  01:11:21.224 foo.bar.ice_  Candidate 0 added: comp_id=1, type=host,  
foundation=Hc0a80103, addr=192.168.1.3:49602, base=192.168.1.3:49602,  
prio=0x64ffffff (1694498815)
  01:11:21.343 stuntp0x100400  RX 96 bytes STUN message from  
124.163.121.143:3478:
--- begin STUN message ---
STUN Binding success response
  Hdr: length=76, magic=2112a442, tsx_id=411139174954c39800012e2f
  Attributes:
   SOURCE-ADDRESS: length=8, IPv4 addr=124.163.121.143:3478
   CHANGED-ADDRESS: length=8, IPv4 addr=124.163.121.143:3479
   XOR-MAPPED-ADDRESS: length=8, IPv4 addr=74.176.170.215:52305
   SOFTWARE: length=36, value="reTURNServer 0.4 - RFC5389/turn-12  "
--- end of STUN message ---

  01:11:21.349 stuntp0x100400  STUN mapped address found/changed:  
74.176.170.215:52305
  01:11:21.350 foo.bar.ice_  Comp 1: Binding discovery complete, srflx  
address is 74.176.170.215:52305
on_ice_complete status = 0
ICE stream transport initialized, ice_strans_op = 0
a = candidate:Hc0a80103 1 UDP 1694498815 192.168.1.3 49602 type : host
  01:11:21.372 stuntp0x100400  RX 96 bytes STUN message from  
124.163.121.143:3478:
--- begin STUN message ---
STUN Binding success response
  Hdr: length=76, magic=2112a442, tsx_id=411139174954c39800012e2f
  Attributes:
   SOURCE-ADDRESS: length=8, IPv4 addr=124.163.121.143:3478
   CHANGED-ADDRESS: length=8, IPv4 addr=124.163.121.143:3479
   XOR-MAPPED-ADDRESS: length=8, IPv4 addr=74.176.170.215:52305
   SOFTWARE: length=36, value="reTURNServer 0.4 - RFC5389/turn-12  "
--- end of STUN message ---

  01:11:23.356 stuntsx0x10100  STUN client transaction destroyed

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20091008/d074bfed/attachment-0001.html>


[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