1 domain with Y accounts requires 2xY commands to block/unblock instead of possible two commands to block/unblock one domain. This is not a scalable.
I would find some flags useful set per domain:
1. Block/unblock is one of the features. 2. Another feature discovered here "in the real world" is the selection of a different Media Proxy per domain, a customer from Japan would not find acceptable to run its proxy in Europe and vice versa (the round trip time is 250 ms).
A group table for domains or extra columns in domain table comes to my mind.
Jan, what is your opinion about extending a bit the domain functionality in this respect?
Regards, Adrian
On 16 Feb 2004, at 11:05, Jan Janak wrote:
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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
-- Andres Network Admin http://www.telesip.net
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers