How to get source public IP from dialplan?

Hi all,

I want to get source IP from which call was placed. SIPURI conatins IP which may be a private IP behind NAT.
Is there some way to get public source IP from dialplan variable, channel variable, or some other place?
Of course - we are talking about host=dynamic peers :smile:

Thanks,
Jarek

I think you can use a php or shell script to get the output content of this page biranchi.com/ip.php and then do whatever you want with that value. :wink:

I hope this info help you BRO.