This works OK for individual accounts.
How about for entire domains?
On 16 Feb 2004, at 09:41, Andres wrote:
Adrian Georgescu wrote:
One customer needs to block certain SIP accounts
for a limited period
of time (non payment or other reasons).
Does this functionality exist in SER?
Sure....just put them in a special group. This is what we do (and we
transfer the call to an IVR that plays a message). For example:
if (method=="INVITE") {
if (is_user_in("credentials", "suspended")) {
log(1, "Transfer to Suspend Message\n");
rewriteuser("9990");
route(6);
break;
};
};
Regards,
Adrian
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
--
Andres
Network Admin
http://www.telesip.net