Re: [Sofia-sip-devel] How to retrieve the local bound SIP port when created dynamically? (as used in contact-header)

2011-02-03 Thread Pekka Pessi
Hi,

2011/1/31 EiSl 1972 eisl1...@gmail.com:
 I have the feeling the answer lays in front of my nose, but for some reason
 I cannot find/see it...

nua_get_params(.., NTATAG_CONTACT(NULL), TAG:END())

and look for ntatag_contact in the tag list of nua_r_get_params().
 I'm using the released stable version 1.12.10.
 I know there is a lot of incident repair and other development still
 ongoing. If I would like to use a more recent version, which branch/tag is
 considered then most stable?

The master branch at

git://gitorious.org/sofia-sip/sofia-sip.git

is currently pretty stable...

-- 
Pekka.Pessi mail at nokia.com

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


[Sofia-sip-devel] How to retrieve the local bound SIP port when created dynamically? (as used in contact-header)

2011-01-31 Thread EiSl 1972
Hello all,

I have the feeling the answer lays in front of my nose, but for some reason
I cannot find/see it...

When I create/start Sofia using next:

Assume:
char my_url[] = sip:192.168.1.1:0;

m_Stack.nua = nua_create( m_Stack.root,
  s_HandleSofiaEvent,
 m_Stack,
  NUTAG_URL(my_url),
  TAG_NULL());

How do I extract the actual port being used by Sofia (as used in the
Contact-header)?
For my feeling there has to be a clean way to retrieve this information.

A side question:
I'm using the released stable version 1.12.10.
I know there is a lot of incident repair and other development still
ongoing. If I would like to use a more recent version, which branch/tag is
considered then most stable?


With regards and please keep on going this great stack!,

Eize
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel