[Serusers] Blocked flag per subscriber

Andres andres at telesip.net
Mon Feb 16 09:41:40 CET 2004


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 at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>


-- 
Andres
Network Admin
http://www.telesip.net





More information about the sr-users mailing list