<div dir="ltr">Hi. I have successfully implemented the User Blacklist module, but I noticed it checks the number the call is going to, not the CallerID. Is it possible to lookup the CallerID instead of the number? I have tried creating a dummy variable for $tU and then assiging the CallerID to $tU, but OpenSIPs failed (I guess $tU is read-only?). I am using the global blacklist functionality. This is the code I tried originally:<div><br></div><div>$var(TempVariable) = $tU;</div><div>$tU = $fU;</div><div><br></div><div><div> if (!check_blacklist("globalblacklist"))</div><div> {</div><div> sl_send_reply("403", "Forbidden");</div><div> exit;</div><div> }</div></div><div><br></div><div>$tU =
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">$var(TempVariable);</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Any help is appreciated,</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Alex</span></div></div>