[SR-Users] Reverse DNS lookups inside Kamailio

Daniel-Constantin Mierla miconda at gmail.com
Wed Aug 2 13:28:29 CEST 2017


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

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com




More information about the sr-users mailing list