<div dir="ltr"><br><br>I am invoking is_user_in with the following script:<br><br>if (is_user_in("Credentials","longdistance")) {<br> xlog("yes group credentials");<br> exit;<br>
} else {<br> xlog("no group credentials");<br> sl_send_reply("403", "No permissions for long distance");<br> exit;<br>
};<br><br><br>i see the mysql query in the query log: select grp from grp where username='101' AND grp='longdistance' AND domain='<a href="http://c10.xpandervoip.com">c10.xpandervoip.com</a>'<br>
<br><br>the function should return true and xlog the yes, but it does not. if i do the query on the sql server directly it returns "longdistance"<br><br>I've tried many variations, yet no matter what i do it does not return true as it should.<br>
<br>any ideas? using opensips 1.4.1 latest stable downloaded yesterday<br><br>Alex<br></div>