rafa alfurqan
2014-Sep-28 15:51 UTC
[asterisk-users] how to make voip client cannot use same username?
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? any help will help me a lot. thanks in advance. rafa -------------- next part -------------- An HTML attachment was scrubbed... URL: <lists.digium.com/pipermail/asterisk-users/attachments/20140928/3ca09956/attachment.html>
rafa alfurqan
2014-Sep-29 03:27 UTC
[asterisk-users] how to make voip client cannot use same username?
hi, anyone seen this? actually this is my sip.conf file [1002] type = friend context = test username = 1002 secret = 12345 host = dynamic if i want to make my client register to server with matching on username instead of ip address, so the username is used just for 1 client how could i do that? if i change the host (dynamic into the ip) and the type (friend) is still the same. in my voip client is unregistered (however i still could make a call but can't be called). but if the type i changed into peer, my voip client is still unregistered (i couldn't make a call and can't be called). so what i have to configured in my sip.conf and extensions.conf files? thanks in advance. rafa On Sun, Sep 28, 2014 at 10:51 PM, 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? > > > any help will help me a lot. > thanks in advance. > > rafa > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <lists.digium.com/pipermail/asterisk-users/attachments/20140929/29aa8825/attachment.html>
Paul Belanger
2014-Sep-29 13:41 UTC
[asterisk-users] how to make voip client cannot use same username?
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: github.com/pabelanger | Twitter: twitter.com/pabelanger
Apparently Analagous Threads
- Differences between PBX and SBC
- how to store sip.conf and extension.conf into phpmyadmin
- sip.conf and extension.conf configuration
- Is it possible to set asterisk's VoIP authentication to be based on EAP-SIM auth of freeradius?
- Asterisk 1.8.15.0, Requested transfer capability: 0x00 - SPEECH