[Asterisk-Users] How to restrict simultaneous phone registrations

Bryan Mahin bryanm at uneta.com
Wed Apr 5 21:47:58 MST 2006


I apologize if this information is posted elsewhere. Unfortunately I
haven't found it yet if it is. I'm not familiar with the channel
counting features could you please explain? Also, how are you tagging
the phones to account codes?

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Darren
Wiebe
Sent: Thursday, April 06, 2006 12:04 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] How to restrict simultaneous phone
registrations

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Here's how I do it.  I have the phones tagged to accountcodes and I use
the channel counting features of asterisk to limit an accountcode to X
number of simultaneous calls.

Darren Wiebe
darren at aleph-com.net


Bryan Mahin wrote:
> Lol.. To an extent I agree. But I feel the best way is to find a way
to
> block the problem completely. :)
> 
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Bill
Gibbs
> Sent: Wednesday, April 05, 2006 10:55 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: RE: [Asterisk-Users] How to restrict simultaneous phone
> registrations
> 
> I say just bill the user at extension 333 it's his responsibility to
> keep the login info private.  If he disputes it, refund the first time
> then change the password to something really complicated then start
> billing him if it keeps happening after that!
> 
> Bill
> 
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Bryan
> Mahin
> Sent: Wednesday, April 05, 2006 10:50 PM
> To: asterisk-users at lists.digium.com
> Subject: RE: [Asterisk-Users] How to restrict simultaneous phone
> registrations
> 
> :) I should rephrase my question. And included a bit more information
on
> what I am trying to accomplish.
> 
> Solution 1 (preferred)
> 
> I am working on an asterisk installation where most end users will use
> softphones. If I am not able to lock down calling to one phone at a
> time, the end users will share their login information with friends,
> family, neighbors, and the some girl they meet on myspace.
> 
> Currently, I am able to register two phones at separate locations with
> the same account on each phone and make concurrent calls.
> 
> For example, If I login extension 333 at location A, and 333 at
location
> B, simultaneous calls can be placed from both phones at the exact same
> time. I only want calls placed from extension 333 to work from either
A
> or B not A and B concurrently. 
> 
> Here is my ideal solution. Location A wants to make a call, but
location
> B has a call in progress. Location B has to either close their phone,
or
> hang up before Location A can make the call.
> 
> 
> OR.. Solution 2. :)
> A way I can distinguish in my CDR the IP address or some other
> recognizable difference between the two locations when they make
> concurrent calls using the same extension.  The complication here is;
I
> can currently the log IP addresses, but as the end phones are on the
> internet, Nat'd, and I am using a siparator for traversal. As a
result,
> my logs show the IP address of the siparator and I don't have any
other
> data to distinguish the end phones. 
> 
> OR.. Solution 2.5
> One thought I've had is to send logs from the siparator to a syslog
> server, parse them, hunt for simultaneous calls placed by the same
> accounts from different locations, and bill the end users accordingly.
> But I really dislike this idea as no one likes to be hit with
> surcharges.
> 
> Any help or insight is greatly appreciated.
> 
> Thanks again,
> Bryan Mahin
> 
> 
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Eric
> "ManxPower" Wieling
> Sent: Wednesday, April 05, 2006 7:50 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] How to restrict simultaneous phone
> registrations
> 
> Bryan Mahin wrote:
>> Hello all,
>>
>> I am looking for a way to restrict users from logging in two separate
>> phones with the same authorization name/password at the same time.
>> Meaning, I only want users to be able to place a call from one phone
> in
>> one location, but have the ability to move from computer to computer.
>> Has anyone found any sort of solution for this type scenario?
> 
> This is a non-issue, because a second registration to the same account

> will override and previous registrations for that account.
> _______________________________________________

- --
Darren Wiebe
darren at aleph-com.net
Aleph Communications
ASTPP - Open Source Voip Billing & Calling Cards
www.aleph-com.net/astpp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFENJMw4DADnh+tnOQRAnA6AJ9WPEQKXAVidz7g6aXkIbeCqD2LfwCdF7yd
f3ImomYaAAikmfoocM76Pdo=
=9FdV
-----END PGP SIGNATURE-----
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Please visit us @ www.uneta.com




More information about the asterisk-users mailing list