Hi,

If I create a nua with url like sip:0.0.0.0:* how can I query the port 
assigned to it?
I found that I can get the port with

local_nua_handle = nua_handle_local(nua_default(nua));
sip_port = atoi(local_nua_handle->a_url->url_port);

but I am not sure that's the correct way.
Also I havent found anything about the tls port.

Thanks in advance,

Csaba Zelei


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to