[SR-Users] checking source domain

Yuriy Gorlichenko ovoshlook at gmail.com
Sun Jan 31 17:32:34 CET 2016


I need to understand where from packets received. Now I use something like

If $si == "1.2.3.4" {
 xlog("L_INFO","bla bla bla");
}

But I need to check source server not only by IP and PORT, but at Domain too
For example

if (some_pseudovariable=="pbx.server.com"){
 xlog("L_INFO","bla bla bla");
}

I can use $fu for example because for some packets it includes domain name
of kamailio (i think details not important but this situations can be)
Does kamailio have some mechanisms to do that? I searched it at cookbook
but not found anything.

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160131/eca0d20f/attachment.html>


More information about the sr-users mailing list