Hello,

On Mon, 9 Oct 2006, Dieter Tschanz wrote:

> ./stunc stunserver.org -b
>
> The output I got looks like
>
> assign_socket: local socket is bound to 0.0.0.0:33016
> main: stun_bind() failed

ugh, it seems something and/or someone broke stunc in 1.12.3. :( I'll look 
into this as soon as I have a free braincycle-slot to spare. Filed a bug 
item as well:

   
http://sourceforge.net/tracker/index.php?func=detail&aid=1574342&group_id=143636&atid=756076

> My question is how might I get the public IP with the stack? Is there any
> possibility to pass some stuninformation at nua_create time or later
> (without using a registrar)?

You can either learn it with STUN and/or from a SIP server (via the rport 
attribute). If you can figure out the public IP in some other way, in 
theory at least you can give it to the stack via the SIPTAG_CONTACT() 
param to nua_invite()/nua_register() [1]

[1] http://sofia-sip.sourceforge.net/refdocs/nua/nua_8h.html
     ... scroll down to "Populating SIP Request Message with Tagged
     Arguments"

-- 
  under work: Sofia-SIP at http://sofia-sip.sf.net

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to