Hi guys ..tired of this conflict..dont we supposed to have a mojor
release today??
On 8/7/08, users-request(a)lists.kamailio.org
<users-request(a)lists.kamailio.org> wrote:
> Send Users mailing list submissions to
> users(a)lists.kamailio.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> users-request(a)lists.kamailio.org
>
> You can reach the person managing the list at
> users-owner(a)lists.kamailio.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Users digest..."
>
>
> Today's Topics:
>
> 1. Re: Question about registrar lookup() and branching.
> (Gustavo Mistrinelli)
> 2. Re: [Kamailio-Devel] [OpenSER-Users] OpenSER Advanced
> Programming Course, Bucharest, Voice System, August 11-14, 2008
> (Andhika Gannesha Gemilang)
> 3. Problem using additional attributes through radius_extra
> parameter (Juha Heinanen)
> 4. Re: [Kamailio-Devel] call for contribution: project logo
> (Benny Prijono)
> 5. Re: [Kamailio-Devel] call for contribution: project logo
> (Torben Friese)
> 6. Re: OpenSIPS project (Francois Menard)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 6 Aug 2008 09:59:43 -0300
> From: "Gustavo Mistrinelli" <gmistrinelli(a)gmail.com>
> Subject: Re: [Kamailio-Users] Question about registrar lookup() and
> branching.
> To: "Alex Balashov" <abalashov(a)evaristesys.com>
> Cc: users(a)lists.kamailio.org
> Message-ID:
> <c6717cc80808060559k24a7c774v96049c8fb5c7677a(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Alex,
>
> I don't know your complete architecture, but let me ask you why Asterisk is
> not a trusted gateway?
> The you can use rewritehost or LCR logic to route DIDs to Asterisk
> If you need to associate users with DIDs, you can use dbaliases.
>
> Cheers,
>
> Gustavo
> On Tue, Aug 5, 2008 at 8:55 PM, Alex Balashov
> <abalashov(a)evaristesys.com>wrote;wrote:
>
>> Greetings,
>>
>> I've got a small problem with how registration lookups work.
>>
>> I have several concurrent registrations from one PBX that have multiple
>> contact URIs that they declare that aren't the same; they contain the
>> DIDs to route a call to. So, for instance, in Asterisk:
>>
>> register => user:pass@registrar/DID1
>> register => user:pass@registrar/DID2
>>
>> Of course, lookup() doesn't care what those contacts actually are. If
>> it sees multiple contacts for one username, t_relay() will simply create
>> branches for all of them and and ring them all. I can't actually have
>> that happen.
>>
>> I'm looking for suggestions on how to handle this most elegantly. The
>> two options I've got in mind are:
>>
>> 1. Stop using lookup() and do my own URI rewrites and branch forking (if
>> the contact URIs are identical) with attention to the contact.
>>
>> 2. Use BRANCH-ROUTEs to arrest the call leg if it is going to an RURI
>> user part that does not match the user part of the contact URI, and...
>> drop() the branches?
>>
>> I also need to build in some other logic, such that for example if a
>> user has only one contact registered and it does not match the DID, or
>> none of the contacts match the DID, proceed as normal anyway.
>>
>> Is it possible there is a better way? Recommendations welcome.
>>
>> Cheers,
>>
>> -- Alex
>>
>> --
>> Alex Balashov
>> Evariste Systems
>> Web :
http://www.evaristesys.com/
>> Tel : (+1) (678) 954-0670
>> Direct : (+1) (678) 954-0671
>> Mobile : (+1) (706) 338-8599
>>
>> _______________________________________________
>> Users mailing list
>> Users(a)lists.kamailio.org
>>
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>>
>