< Previous by Date Date Index Next by Date >
  Thread Index  

Re: [reSIProcate-users] [reTurn-devel] [testUA]Couldn't load STUN servers from registry


Hi Ankit,

The nICEr project was contributed a few years back to the resip repository by a company called Network Resonance (the n and r part surrounding ICE).  I'm not aware of any anyone active on the forums at this time that have actually used this code yet - so it may be difficult to track down support/help for this API right now.

Scott 

On Sat, Feb 5, 2011 at 7:07 AM, Ankit Jalota <ankit.jalota@xxxxxxxxx> wrote:
Hello,
I'm trying to run testUA application in nICEr ( resiprocate/nICEr/src/make/ubuntu/testUA),
where in I'm specifying the turn and stun server in nICEr/src/testua/CallHandler.cxx like following

CODE SNIPPET:
    
      NR_reg_set_string((char *)"ice.stun.server.0.addr","20.0.0.2");
      NR_reg_set_uint2((char *)"ice.stun.server.0.port",3478);

      NR_reg_set_string((char *)"ice.turn.server.0.addr","20.0.0.2");
      NR_reg_set_uint2((char *)"ice.turn.server.0.port",3478);
      NR_reg_set_string((char *)"username",(char *)"test");
      NR_reg_set_string((char *)"password",(char *)"12");

and after executing the program with these command line arguments

./testUA  --aor=sip:n1@xxxxxxxx --password=n1 --udp=5060 --tcp=5060 --disable-v6  --contact=sip:n1@xxxxxxxx --to=sip:j1@xxxxxxxx

I'm getting following error
Couldn't load STUN servers from registry
Aborted


I have checked while debugging that registry is inited without any error thrown, and this error is thrown from function "nr_ice_fetch_stun_servers".

the same thing is applicable with turn server also.

So I would like to request, if anyone had faced similar issue with the registry, can share their knowledge.


Thanks in advance,
Ankit Jalota








_______________________________________________
reTurn-devel mailing list
reTurn-devel@xxxxxxxxxxxxxxx
List Archive: http://resiprocate.org/archive/return-devel/