[asterisk-users] Multiple user registration ...

Elliot Otchet elliot.otchet at callingcircles.com
Wed Aug 26 11:45:38 CDT 2009


Your first example illustrates why having multiple devices registered as the same entity is a bad idea.  It is impossible to differentiate between each device when you have multiple registering as the same entity.

My users also really like setting up rules per device/per caller.  When you treat a group of devices as one, you make it really hard to do that.

On your theoretical "virtual" devices in Asterisk - you either have a device or you don't.  The device will need to register in order to receive a call, so if you're expecting to do some magic on the registration to have a user who registers with the credentials of user 101 and be assigned to user 101-001, you'll be disappointed in the results.

Also, you'll want to steer away from using hyphens in your sip device names.  Hyphens are used in the SIP channel driver for a special purpose and using them in your device names may cause problems.  See http://www.digium.com/handbook-draft.pdf page 19 for more info.  If you're looking for a good separator, try using the underscore (_) character instead.

All that being said, if you want to register multiple devices with a single set of credentials, you might want to check out a SIP Proxy instead of Asterisk's SIP B2BUA.  Some can handle multiple registrations with a single set of credentials quite nicely.

Regards,

Elliot


-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Mauro Sergio Ferreira Brasil
Sent: Wednesday, August 26, 2009 12:19 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Multiple user registration ...

Hi Elliot, and thanks for the reply.

I'm not completely sure you've considered that the SIP users registered
on all devices are the same.
Have you ?

I mean...
How will I use "Dial" command with a sequence of same devices, like:
Dial(SIP/101&SIP/101&SIP/101), for example ?

That's why we are testing the possibility to create "virtual" devices on
subsequent registrations, so we can at the end make something like:
Dial(SIP/101&SIP/101-001&SIP/101-002) if someone dials to SIP/101.
Note: SIP/101-001 and SIP/101-002 don't really exist. They will be
provided by our ARA driver to allow the multiple device ringing.

Thanks and best regards,
Mauro.



Elliot Otchet escreveu:
> Is your goal here to have multiple devices ring when an extension is dialed and the first one to answer take the call?
>
> If so, see the Dial command Dial(Technology/resource&Technology/resource&Technology/resource...[|timeout][|options][|URL]).  When multiple technology/resource entries are listed, the first one to answer will take the call.  That accomplishes your goal, if I understand you correctly.
>
> The nice part about doing it this way (with each device independently registered) is that you gain a substantial amount of granularity in controlling where calls go and you don't have to find creative ways (read: unsupported) to trick Asterisk or endpoints.
>
> If you're developing your own GUI to have people set up their devices, you can easily create a wizard that walks them through setting up each device and associating them together through either channel variables or other tables in a database.
>
> I use this methodology in 1.4 and it works quite reliably.  For a good reference, check out http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial or from your Asterisk console try: 'core show application dial<enter>'
>
> It's not perfect because you can have devices that do funny things with a SIP INVITE, but in most cases it works very well.
>
> Regards,
>
> Elliot
>
> _______________________________________________
> -- 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

This message is intended only for the use of the individual (s) or entity to which it is addressed and may contain information that is privileged, confidential, and/or proprietary to Calling Circles LLC and its affiliates. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, forwarding or copying of this communication is prohibited without the express permission of the sender. If you have received this communication in error, please notify the sender immediately and delete the original message.



More information about the asterisk-users mailing list