Public address.

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

 



Thanks for pjsip! I found the pjsua_transport_get_info.

// with stun
cfg_ua.stun_host = pj_str("stun.example.org");

// ...
// pjsua_transport_create()

pjsua_transport_get_info(transport_id, &transport_info);
// transport_info.local_name.host.ptr

-Thiago Rondon

Thiago Rondon escreveu:
> Hello,
>
> I see in transport_cfg the public_addr atrribute.
>
> But, is there a good/recommend way to get public address in pjsip ?
>
> Thanks in advanced!
> -Thiago Rondon
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>




[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