<div dir="ltr"><div>Never mind. Issue has been fixed.</div><div>I was overlooking the number. Few digits were different in next request that fail the exact number match and causing call to go through.<br></div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)">--<br>regards,</span></span></font></div><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)"><br>abdul basit | p: +92 32 1416 4196 | o: +92 30 0841 1445</span></span></font></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, 15 Jul 2018 at 06:12, Abdul Basit <<a href="mailto:basit.engg@gmail.com">basit.engg@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Team,</div><div>I have a scenario where I have to block list certain numbers (premium ones).</div>I populated these numbers with in "globalblacklist" table. I followed documentation:<br><div><a href="http://www.opensips.org/html/docs/modules/2.4.x/userblacklist.html#func_check_blacklist" target="_blank">http://www.opensips.org/html/docs/modules/2.4.x/userblacklist.html#func_check_blacklist</a></div><div><br></div><div>While part of destination number defined as prefix, like 1437, blacklisting works and all the calls starting with destination number '1437' will block.<br></div><div><span style="font-family:monospace,monospace">id     prefix  whitelist    description<br>1      1437     0            NULL<br></span><br></div><div>But for the required case, if I add full number in prefix column, like 14375436291, opensips will not block the call.</div><div>id     prefix                whitelist    description<br>1      14375436291     0            NULL<br><br></div><div>How can i block list of full numbers through opensips?<br></div><br><div><div dir="ltr" class="m_-8192038370288813232gmail_signature"><div><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)">--<br>regards,</span></span></font></div><font size="2"><span style="font-family:verdana,sans-serif"><span style="color:rgb(39,78,19)"><br>abdul basit</span></span></font></div></div></div>
</blockquote></div>