Sorry if I'm asking stupid question but I'm trying to set up alias for example 1234<->john.doe and make it permanent. As far as I understand if I use serctl add alias command and then contact for the person will change (dynamic ip, login from other coputer etc) my alias would not work anymore. Please tell me if I'm worng and if there is a way to fix this problem.
Thank you, Igor
Hi Igor,
I think your wrong there.
AS far as you register with your box to your sipserver, and have a alias pointing to the username@yoursipserver then you should'nt have a problem.
-Atle
* Igor Balk IBalk@intermedia.net [050923 19:01]:
Sorry if I'm asking stupid question but I'm trying to set up alias for example 1234<->john.doe and make it permanent. As far as I understand if I use serctl add alias command and then contact for the person will change (dynamic ip, login from other coputer etc) my alias would not work anymore. Please tell me if I'm worng and if there is a way to fix this problem.
Thank you, Igor
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Igor Balk wrote:
Sorry if I'm asking stupid question but I'm trying to set up alias for example 1234<->john.doe and make it permanent. As far as I understand if I use serctl add alias command and then contact for the person will change (dynamic ip, login from other coputer etc) my alias would not work anymore. Please tell me if I'm worng and if there is a way to fix this problem.
You usually don't enter the user's IP in aliases. If we assume you have the domain sip.yourdomain.com, then you will add the alias like:
serctl alias add 1234 sip:john.doe@sip.yourdomain.com
So a lookup("aliases") will rewrite the uri from sip:1234@sip.yourdomain.com to sip:john.doe@sip.yourdomain.com, and for that uri you can lookup("location") to finally get the current contact of john.doe.
Andy