[asterisk-users] how to make voip client cannot use same username?

Paul Belanger paul.belanger at polybeacon.com
Mon Sep 29 08:41:56 CDT 2014

On Sun, Sep 28, 2014 at 11:51 AM, rafa alfurqan <rafa.alfurqan at gmail.com> wrote:
> Hi All,
> I have one asterisks server and 3 client (i'm using voip sip client for my
> handphone).
> I've configured sip.conf and extension.conf with 3 user different. And
> nothing wrong with them, i could make them to make a call too.
> what i want to ask is, i was try to use 1 user (ex:1001) in 2 different
> client.
> example:
> client 1 (1001) make a call to client 2 (1002) --> ok
> then in client 3, i used (1001) same username with client 1. when client 1
> is connecting with client 2, my client 3 could make a call to with client 2
> (1002) with the same username in client 1.
> how i could make the system, so i cannot use with 1 username in 2 different
> client before i make a call (when registering process in voip client), or at
> least my voip client cannot use same username if that username is connected
> with the other user?
Since what you describe is a valid for SIP, you'll have to drop the
packets at the network level (firewall). Or use the ACL system in
asterisk to restrict it.

Paul Belanger | PolyBeacon, Inc.
Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode)
Github: https://github.com/pabelanger | Twitter: https://twitter.com/pabelanger

More information about the asterisk-users mailing list