I’m just in the process of switching to PJSIP.
I can’t see how to get the contact’s public IP from the CLI.
In chan_sip, when I do ‘sip show peer’ I can get the public IP from the Addr->IP property.
When I try pjsip show aor peername, I get the private IP of the contact which is behind it’s own nat router.
How can I get the public IP?