[OpenSIPS-Users] Aliases to multiple users

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Feb 16 10:38:13 CET 2010


Hi Daniel,

actually the alias_db module (as C code) supports multiple users with 
the same alias. see:
       
http://www.opensips.org/html/docs/modules/1.6.x/alias_db.html#id228163

So, if you remove the DB constraint, it should work.

Regards,
Bogdan

Daniel Goepp wrote:
> Thanks, it helps...not the answer I was hoping for, but it helps ;)
>
> -dg
>
>
> On Mon, Feb 15, 2010 at 5:49 PM, Duane Larson <duane.larson at gmail.com 
> <mailto:duane.larson at gmail.com>> wrote:
>
>     I don't believe the Alias_DB was meant to do what you are asking. 
>     You would need to use
>     append_branch() along with serialize_branches() and some routing
>     logic to get the funtionality you want.
>      
>     Hope that helps.
>
>     On Mon, Feb 15, 2010 at 7:36 PM, Daniel Goepp <dan at goepp.net
>     <mailto:dan at goepp.net>> wrote:
>
>         We are currently using aliases for URI dialing into our
>         network, and it works great, but I have a question.  I'm not
>         able to create two rows with the same username and domain
>         values due to key constraints which I assume are put in there
>         to match functionality in the module.  However this is kind of
>         limiting as I would like to have an alias ring to multiple
>         endpoints.  Is this possible?  For example, have an alias
>         me at example.com <mailto:me at example.com>, and ring my desk phone
>         2125551212 at example.com <mailto:2125551212 at example.com> and my
>         soft client 4135551212 at example.com
>         <mailto:4135551212 at example.com>?  I'm aware that I could
>         register two endpoints with the same line id, and that would
>         work, but for other reasons they need to be separate
>         registrations and numbers.  Ideas?
>
>         Thanks.
>
>         -dg
>
>         _______________________________________________
>         Users mailing list
>         Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
>     -- 
>     --
>     *--*--*--*--*--*
>     Duane
>     *--*--*--*--*--*
>     --
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro




More information about the Users mailing list