Re: [OpenSIPS-Users] check_blacklist function Question

2018-07-14 Thread Abdul Basit
Never mind. Issue has been fixed.
I was overlooking the number. Few digits were different in next request
that fail the exact number match and causing call to go through.

--
regards,

abdul basit | p: +92 32 1416 4196 | o: +92 30 0841 1445


On Sun, 15 Jul 2018 at 06:12, Abdul Basit  wrote:

> Hi Team,
> I have a scenario where I have to block list certain numbers (premium
> ones).
> I populated these numbers with in "globalblacklist" table. I followed
> documentation:
>
> http://www.opensips.org/html/docs/modules/2.4.x/userblacklist.html#func_check_blacklist
>
> While part of destination number defined as prefix, like 1437,
> blacklisting works and all the calls starting with destination number
> '1437' will block.
> id prefix  whitelistdescription
> 1  1437 0NULL
>
> But for the required case, if I add full number in prefix column, like
> 14375436291, opensips will not block the call.
> id prefixwhitelistdescription
> 1  14375436291 0NULL
>
> How can i block list of full numbers through opensips?
>
> --
> regards,
>
> abdul basit
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] check_blacklist function Question

2018-07-14 Thread Abdul Basit
Hi Team,
I have a scenario where I have to block list certain numbers (premium ones).
I populated these numbers with in "globalblacklist" table. I followed
documentation:
http://www.opensips.org/html/docs/modules/2.4.x/userblacklist.html#func_check_blacklist

While part of destination number defined as prefix, like 1437, blacklisting
works and all the calls starting with destination number '1437' will block.
id prefix  whitelistdescription
1  1437 0NULL

But for the required case, if I add full number in prefix column, like
14375436291, opensips will not block the call.
id prefixwhitelistdescription
1  14375436291 0NULL

How can i block list of full numbers through opensips?

--
regards,

abdul basit
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users