Function_CHANNEL How To Get Source Ip Address In Dial Plan?

Home » Asterisk Users » Function_CHANNEL How To Get Source Ip Address In Dial Plan?
Asterisk Users No Comments

Hi, I using PJSIP as sip driver, I wound like to get source IP on inbound calls from my peers,

tried use Function_CHANNEL like

${CHANNEL(pjsip,type,remote_addr)}

but it returns only empty string, what I doing wrong?