[Serusers] Blocked flag per domain

Jan Janak jan at iptel.org
Mon Feb 16 11:05:45 CET 2004


Just put all the accounts in that domain into a separate group and
forbid the creation of new accounts with that domain.

  Jan.

On 16-02 10:24, Adrian Georgescu wrote:
> 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 at lists.iptel.org
> >>http://lists.iptel.org/mailman/listinfo/serusers
> >>
> >
> >
> >-- 
> >Andres
> >Network Admin
> >http://www.telesip.net
> >
> >
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list