Hi,
for a project I need the option to do a reverse lookup of an IP address and use the value from it in a variable.
As far as I could see the ipops module only allows SRV and A record lookups. Is there anything I missed?
And if there is nothing inside Kamailio, how could a good approach look like?
Thanks in advance, Sebastian
Hello,
On 01.08.17 17:06, Sebastian Damm wrote:
Hi,
for a project I need the option to do a reverse lookup of an IP address and use the value from it in a variable.
As far as I could see the ipops module only allows SRV and A record lookups. Is there anything I missed?
And if there is nothing inside Kamailio, how could a good approach look like?
if you don't want to go down the path of adding support for it via C code inside ipops module, then either executing an embedded language snippet or using exec module. Of course, more variants can be considered, like doing an http request to your external app, etc...
Cheers, Daniel