<div dir="ltr">nevermind, i found issue it was double quote string so use <i style="color:rgb(0,0,0)">$(fn{s.select,1,\"}) to get rid on it</i></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 30, 2015 at 4:34 PM, Satish Patel <span dir="ltr"><<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div><div>mysql> select * from userblacklist;</div><div>+----+--------------+--------+--------+-----------+</div><div>| id | username | domain | prefix | whitelist |</div><div>+----+--------------+--------+--------+-----------+</div><div>| 1 | 10000001 | | | 0 |</div><div>| 2 | <a href="tel:9198362323" value="+19198362323" target="_blank">9198362323</a> | | | 0 |</div><div>+----+--------------+--------+--------+-----------+</div></div><div><br></div><div>If i set $avp(user) = 10000001; then it works! </div><div><br></div><div>but if i set $avp(user) = <a href="tel:9198362323" value="+19198362323" target="_blank">9198362323</a>; doesn't work what is the problem ? </div><div><br></div><div><br></div><div><div>route[user_blacklist] {</div><div><br></div><div> $avp(user) = <a href="tel:9198362323" value="+19198362323" target="_blank">9198362323</a>; </div><div> </div><div> if (!check_user_blacklist("$avp(user)", <span style="color:rgb(0,0,0);background-color:rgb(254,254,238)">"$avp(i:82)")) {</span></div><div> sl_send_reply("403", "User Blocked");</div><div> exit;</div><div> };</div><div>}</div></div><div><br></div><div><br></div><div><br></div></div>
</blockquote></div><br></div>