[asterisk-users] single registration per user

Steve Edwards asterisk.org at sedwards.com
Mon Sep 19 10:42:15 CDT 2011


On Sun, 18 Sep 2011, Catalin S. wrote:

> Is about outgoing calls from multiple devices with the same username at 
> aprox same time. The overwritten is for incomming calls. I want to 
> prevent using the same account in multiple devices at same time. The 
> solution with IP will not apply because users may be behind nat or will 
> change everytime multiple access points. Do you have any other clues?

If your intent is to limit the number of outgoing calls from a username, 
how about the GROUP and GROUP_COUNT functions?

If the GROUP_COUNT(username) is 0, set GROUP(username) and allow the call.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-users mailing list