AGI variable to show IP/domain of caller

I’ve been using the call_log agi script which works well, but I’m looking for a variable to show not just callerid but domain or IP if possible where one exists.

If it’s isn’t possible any chance of making it a feature request?


I don’t think any of the channel variables provide that: … +variables


You can, however, recover the From or Remote-Party-ID headers, using one of the functions.


exten => 100,n,Set(foo=${SIPPEER(mysippeer,ip)})
exten => 100,n,NoOp(${foo})