Re: [SR-Users] checking source domain

2016-02-01 Thread Victor Seva
On 01/31/2016 05:32 PM, Yuriy Gorlichenko wrote: > 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 (so

[SR-Users] checking source domain

2016-01-31 Thread Yuriy Gorlichenko
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"); }