[Serusers] Alias
Jan Janak
jan at iptel.org
Wed Nov 19 23:50:15 CET 2003
I am not sure I fully understand the description, but aliases should
work. Aliases are very simple, you can imagine them as permanent entries
in the user location database.
For example URI sip:jan at iptel.org can have aliases sip:5060 at iptel.org,
sip:9042 at iptel.org and so on.
When somebody calls either sip:5060 at iptel.org or sip:9042 at iptel.org then the
Request-URI will be rewritten to sip:jan at iptel.org and the processing
continues normally.
sip:jan at iptel.org will then be translated using lookup("location") to my
registered contact and forwarded to my phone.
SO when ser receives an INVITE sip:5060 at iptel.org then the Request-URI
will be rewritten to sip:jan at iptel.org when you call lookup("aliases")
and when you call lookup("location") later then it will be rewritten to
something like INVITE sip:jan at 1.2.3.4 (if I am registered from IP
1.2.3.4).
Jan.
On 19-11 15:16, timlaa at luukku.com wrote:
> Hi,
>
> In my SER the users can register either by using sip uri (name at domain) or numerical
> sip uri (number at domain). Everything is ok if user registers with numerical format uri but
> if the user registers with e.g. timlaa at domain type of uri (and also numerical uri exists for
> the same user, but not active registeration) how can I then direct the calls from pstn to
> this sip client or vice versa direct sip client's calls to pstn i.e. somehow the timlaa at
> domain should be converted to user's number at domain uri format.
>
> One solution I believe is to use alias. I read all the former posts and added the line lookup("aliases") in to my ser.cfg and
> tried to test it by using serctl add alias command, but when the command is executed
> it seems that ser will go to infinite loop (the only way to recover is to kill ser process and start
> it again).
>
> Or is this going to be a solution overall for the above described case ?
>
> reg.
> timlaa
>
>
> ............................................................
> Maksuton sähköposti aina käytössä http://luukku.com
> Kuukausimaksuton MTV3 Internet-liittymä www.mtv3.fi/liittyma
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
More information about the sr-users
mailing list