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