[SR-Users] lookup for specified user

Efelin Novak efelin.novak at gmail.com
Fri Aug 12 14:31:29 CEST 2011


Hi thanks for answers,

unfortunately I need to send original RURI username (rU) to the user.
Setting up aliases_db I came to this situation:

1. RURI: john at domain.com
2. alias_db_lookup("dbaliases")
3. RURI: X at domain.com
4. lookup("location")
5. RURI: X at 192.168.1.2

I would like to have john at 192.168.1.2 at step 5.

Is it possible somehow?

2011/8/11 Klaus Darilion <klaus.mailinglists at pernau.at>:
>
>
> Am 10.08.2011 15:17, schrieb Juha Heinanen:
>> Efelin Novak writes:
>>
>>> I would like to change uri like lookup() function does it, but for the
>>> specific user. Problem is I want to have one registration (X) for
>>> several numbers. When this number is called I have to perform lookup()
>>> for this one common registration (X) and send this call there.
>>
>> perhaps you could define the other numbers as aliases for X.
>
> some more hints:
> Use this function before lookup() to map the user's "aliases" to the
> user's main identity (under which the registration will be done).
>
> http://www.kamailio.org/docs/modules/3.1.x/modules_k/alias_db.html#id2916034
>
> regards
> klaus
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>



More information about the sr-users mailing list