[OpenSIPS-Users] check_blacklist function Question

Abdul Basit basit.engg at gmail.com
Sat Jul 14 23:18:44 EDT 2018


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 <basit.engg at gmail.com> 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  whitelist    description
> 1      1437     0            NULL
>
> But for the required case, if I add full number in prefix column, like
> 14375436291, opensips will not block the call.
> id     prefix                whitelist    description
> 1      14375436291     0            NULL
>
> How can i block list of full numbers through opensips?
>
> --
> regards,
>
> abdul basit
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180715/ed138c0e/attachment.html>


More information about the Users mailing list