[asterisk-users] Multiple user registration ...

Faheem faheem_imt at yahoo.com
Fri Aug 28 00:56:56 CDT 2009


Mauro, 

Yes, you will receive simultaneous ring on all devices which are registered with the same SIP User Account.

If a SIP user is registered on multiple devices i.e. only one SIP account is used and only one extension is used here in my implementation, then he will ring on all registered SIP enabled devices/softphones.

Also I've tested it with following combinations of SIP enabled devices/Softphones.

1) Both ports of SPA2100 are registered with one SIP account(Same IP address but different ports)
2) The same SIP user is registered with one port of SAP2100 and the same user is registered with Xten (multiple IP addresses)
3) The same SIP User is registered with two different SIP Dialers.

Here in these three cases I've sucessfully able to receive concurrent ring on the registered devices/softphones. Also CDR are working correctly.

The perl script works perfectly with my customization, you need to modify it according to  your requirements.


 Muhammad Faheem
Software Engineer
AxVoice Inc.
307,Y Commercial,
DHA Lahore, Pakistan
+92-333-4793314
http://www.axvoice.com 


--- On Thu, 8/27/09, Mauro Sergio Ferreira Brasil <mauro.brasil at tqi.com.br> wrote:

From: Mauro Sergio Ferreira Brasil <mauro.brasil at tqi.com.br>
Subject: Re: [asterisk-users] Multiple user registration ...
To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com>
Date: Thursday, August 27, 2009, 8:00 PM

Hi Muhammad, and thanks a lot for the answer.

On this moment I'm making some tests in order to collect enough 
information to participate of a meeting at the end of this day regarding 
the use of Asterisk.
I won't have time to validate your contribution before this meeting and 
this info would be very handfull.

So... could you please just clarify me if this approach you've used 
allows multiple SIP clients (softphone, ATA, VoIP-Celular) registrate 
with Asterisk using the same SIP user (like SIP/101, for example) on 
such way that if someone call this number all clients gets 
simultaneously called?

Thanks and best regards,
Mauro.




Faheem escreveu:
> Dear Mauro,
>
> Your requirement seems Clone line feature for asterisk. The same 
> question I've asked here in this group, a months later but could't get 
> well. But actually implemented it now!
> It is done using AMI. Here is its basic psudo code.
>
> # ami-event.pl
> Connect to AMI
> Read the AMI Events
> Parse the events
> If it is registration Event then store the 
> Username/IP/Ports/Technology in Database
>
> # dial plan
> run agi script to get all strings eg.
> first Device:       SIP/User at 192.168.0.123:5061
> second Device:  SIP/User at 10.0.0.150:6060
>
> The complete script is attached.
>
>
>
> Muhammad Faheem
> Software Engineer
> AxVoice Inc.
> 307,Y Commercial,
> DHA Lahore, Pakistan
> +92-333-4793314
> http://www.axvoice.com <http://advcomm.net/>
>
>
> --- On *Wed, 8/26/09, Mauro Sergio Ferreira Brasil 
> /<mauro.brasil at tqi.com.br>/* wrote:
>
>
>     From: Mauro Sergio Ferreira Brasil <mauro.brasil at tqi.com.br>
>     Subject: [asterisk-users] Multiple user registration ...
>     To: "Asterisk Users Mailing List - Non-Commercial Discussion"
>     <asterisk-users at lists.digium.com>
>     Date: Wednesday, August 26, 2009, 7:07 PM
>
>     Hello there!
>
>     We are planning to use Asterisk on our VoIP platform, and we are
>     spending some brains on a way to provide the following facility: let
>     some SIP user (extension) registrate with more than one client (ATA,
>     SoftPhone, VoipCelular, etc) - what isn't a problem at all -,
>     initiate
>     calls from any of this devices that are registrated with the same
>     user -
>     no problems on tests too -, but also receive INVITE requests on "all"
>     devices if someone calls this user - yeah... here the thing gets
>     creepy.
>     The demand is quite simple: let a user registrate with multiple
>     devices
>     using the same SIP user on such way that if someone call him, all
>     these
>     registered devices will ring and the first to take the call will
>     be "the
>     lucky one".
>     The demand, as I've said, is quite simple and logical (translated
>     to our
>     living world), but the reality is a very different history.
>
>     On our tests, always is the last registered application/device that
>     receives the call indication.
>     And only the last one.
>
>     We are making some tests trying to "kind of deceive" Asterisk on
>     second,
>     third, and additional, registrations so it receives from Realtime
>     "fake"
>     extensions numbers on such a way that we can use all these fake
>     extensions to build a queue dinamicaly (through ARA) and provide the
>     desired "ring on all" functionality.
>     I think this will lead us to lots of SIP sinalization and multi user
>     registration problems, but that was the best shot we had here
>     until now.
>
>     I would like to know if anyone had the same demand and, maybe, have
>     found any viable solution to it.
>
>     Thanks and best regards,
>
>     -- 
>     __At.,                                                           
>                                                                      
>        _
>
>     *Technology and Quality on Information*
>     Mauro Sérgio Ferreira Brasil
>     Coordenador de Projetos e Analista de Sistemas
>     + mauro.brasil at tqi.com.br </mc/compose?to=mauro.brasil at tqi.com.br>
>     <mailto:@tqi.com.br>
>     : www.tqi.com.br <http://www.tqi.com.br>
>     ( + 55 (34)3291-1700
>     ( + 55 (34)9971-2572
>
>
>     _______________________________________________
>     -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
>     AstriCon 2009 - October 13 - 15 Phoenix, Arizona
>     Register Now: http://www.astricon.net
>
>     asterisk-users mailing list
>     To UNSUBSCRIBE or update options visit:
>        http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
__At.,                                                                                                                             
   _
 
*Technology and Quality on Information*
Mauro Sérgio Ferreira Brasil
Coordenador de Projetos e Analista de Sistemas
+ mauro.brasil at tqi.com.br <mailto:@tqi.com.br>
: www.tqi.com.br <http://www.tqi.com.br>
( + 55 (34)3291-1700
( + 55 (34)9971-2572


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090827/ae60b3a3/attachment-0001.htm 


More information about the asterisk-users mailing list