Or you can try directly:
/check_user_blacklist( "$fU", "$fd" ,"$rU" )/
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 11/12/2012 06:03 PM, Engineer voip wrote:
Hi,
I declared these parameters before an it's good
$avp(ru)=$rU;
$avp(fu)=$fU;
$avp(fd)=$fd;
2012/11/12 Engineer voip <[email protected] <mailto:[email protected]>>
Hi,
i tried this syntax /check_user_blacklist( "$avp(fu)", "$avp(fd)"
,"$avp(rU)" ) / but not works
2012/10/31 Bogdan-Andrei Iancu <[email protected]
<mailto:[email protected]>>
Hi,
The names of the AVPS are wrong. Instead of:
/check_user_blacklist( "$avp($fu)", "$avp($fd)" ,"$avp(rU)" ) /
Try:
/check_user_blacklist( "$avp(fu)", "$avp(fd)" ,"$avp(rU)" ) /
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 10/26/2012 04:31 PM, Engineer voip wrote:
/Hi,
I use this script to block an user declared in userblack list
to calls an number with prefix 01 but it's not works
$avp(fu) = $fU;
$avp(fd) = $fd;
$avp(rU) = $rU;
if ( !check_user_blacklist( "$avp($fu)", "$avp($fd)"
,"$avp(rU)" ) ) {
sl_send_reply("403", "Forbidden, Destionation
Interdite");
xlog("L_INFO", "method <$rm>,$avp(fu),
$avp(fd),rU=$avp(rU) : Destination Interdite Pour <$fu> to
<$tu> <$si>\n");
exit;
}
can you help me please ?
/
--
/Best Regards./
_______________________________________________
Users mailing list
[email protected] <mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
/Best Regards./
--
/Best Regards./
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users