Re: [SR-Users] Need to validate a IP address with subnet mask

2016-02-16 Thread Sunil More
outer.org > ] *On Behalf Of *Daniel-Constantin > Mierla > *Sent:* 10 February 2016 08:57 > *To:* Kamailio (SER) - Users Mailing List > > *Subject:* Re: [SR-Users] Need to validate a IP address with subnet mask > > > > Hello, > > for sake of completion, using

Re: [SR-Users] Need to validate a IP address with subnet mask

2016-02-10 Thread Daniel-Constantin Mierla
*On > Behalf Of *Daniel-Constantin Mierla > *Sent:* 10 February 2016 08:57 > *To:* Kamailio (SER) - Users Mailing List > *Subject:* Re: [SR-Users] Need to validate a IP address with subnet mask > > > > Hello, > > for sake of completion, using the src_ip keyword wor

Re: [SR-Users] Need to validate a IP address with subnet mask

2016-02-10 Thread Phil Lavin
That's nicer Syntax. Thanks, Daniel :) From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Daniel-Constantin Mierla Sent: 10 February 2016 08:57 To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Need to validate a IP address with subnet mask Hello,

Re: [SR-Users] Need to validate a IP address with subnet mask

2016-02-10 Thread Sunil More
rmissions.html#id2528610 >> >> >> >> >> >> Phil >> >> >> >> >> >> *From:* sr-users [mailto: >> sr-users-boun...@lists.sip-router.org] *On Behalf Of *Sunil More >> *Sent:* 10 February 2016 05:41 >> *To:* Kamail

Re: [SR-Users] Need to validate a IP address with subnet mask

2016-02-10 Thread Daniel-Constantin Mierla
-router.org > <mailto:sr-users-boun...@lists.sip-router.org>] *On Behalf Of > *Sunil More > *Sent:* 10 February 2016 05:41 > *To:* Kamailio (SER) - Users Mailing List > mailto:sr-users@lists.sip-router.org>> > *Subject:* [SR-Users] Need to validate a IP

Re: [SR-Users] Need to validate a IP address with subnet mask

2016-02-09 Thread Sunil More
Of *Sunil More > *Sent:* 10 February 2016 05:41 > *To:* Kamailio (SER) - Users Mailing List > *Subject:* [SR-Users] Need to validate a IP address with subnet mask > > > > Hi All, > > > > I want to validate a IP address in kamailio for requests coming from > differen

Re: [SR-Users] Need to validate a IP address with subnet mask

2016-02-09 Thread Phil Lavin
[mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Sunil More Sent: 10 February 2016 05:41 To: Kamailio (SER) - Users Mailing List Subject: [SR-Users] Need to validate a IP address with subnet mask Hi All, I want to validate a IP address in kamailio for requests coming from different IPs

[SR-Users] Need to validate a IP address with subnet mask

2016-02-09 Thread Sunil More
Hi All, I want to validate a IP address in kamailio for requests coming from different IPs. I have browsed and found permissions module, however is there a way where i can directly compare a source IP address to an address stored in an avp and get a true or false value. something like this $si==