[resolved] SIP IP Address Connecting Channel Variable?

I’ve been looking around and no luck.

I’m trying to find how I can read the IP Address of the incoming SIP Connection in my Dialplan. I can not use SIP_HEADER because VIA Often contain the private IP address of the device.

I need a way to read the IP as displayed when you enable SIP DEBUGGING.


<— SIP read from —>

Is there a variable where is stored that can be read?


found the function… SIPCHANINFO