Hi Inaki
I read the group module docs and also your example I used.
if (is_user_in("Request-URI", "blocked")) { xlog("L_INFO", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx$ sl_send_reply("403", "Unauthorized, account is disabled"); exit(); };
I used the many xxx to pinpoint it in the log file. The weird thing is that it is matching and I can see the xxxx in the logfile but the user is still registering as if the exit(); is being ignored .I am using version 1.3
-----Original Message----- From: users-bounces@lists.openser.org [mailto:users-bounces@lists.openser.org] On Behalf Of Iñaki Baz Castillo Sent: Monday, June 09, 2008 1:00 PM To: users@lists.openser.org Subject: Re: [OpenSER-Users] AVPOPS Issue
El Monday 09 June 2008 11:21:32 Ali Jawad escribió:
Dear Iñaki Thank you for your reply. Can you please provide an example about the Group Module ? Thanks
if (is_user_in("Credentials", "dissabled")) { sl_reply("403: Forbidden"); exit; }