Thank you very much for the information, and sorry for the late reply.
I want to insert alias="vfrnd.jp" into ser.cfg file, but where exactly should I write in? I was reading the Admin's Guide and found the related part, but it seems I need to type in more than just alias="vfrnd.jp". Here is the copy & pasted document; ______________________________________________________________________ Example 2-5. Use of uri==myself Expression
# ser powers a domain "foo.bar" and runs at host sipserver.foo.bar; # Names of served domains need to be stated in the aliases # option; myself would not match them otherwise and would only # match requests with "sipserver.foo.bar" in request-URI alias="foo.bar" alias="sales.foo.bar" route[0] { if (uri==myself) { # the request either has server name or some of the # aliases in its URI log(1,"request for served domain") # some domain-specific logic follows here .... } else { # aha -- the server is not responsible for this # requests; that happens for example with the following URIs # - sip:a@marketing.foo.bar # - sip:a@otherdomain.bar log(1,"request for outbound domain"); # outbound forwarding t_relay(); }; } _______________________________________________________________________________________________________________________
I have a default ser.cfg file. When you stated "add it to your ser.cfg (alias= vfrnd.jp)", referenced from below, did you mean write alias="vfrnd.jp" just above the "if (uri==myself)" line?
Hiro
-----Original Message----- From: Andrei Pelinescu-Onciul [mailto:pelinescu-onciul@fokus.fraunhofer.de] Sent: Friday, November 07, 2003 7:23 PM To: Iizuka, Hirotaka, VF-JP Cc: serusers@lists.iptel.org Subject: Re: [Serusers] Unresolveable destination
On Nov 07, 2003 at 17:21, Iizuka, Hirotaka, VF-JP hirotaka.iizuka@vodafone.com wrote:
Hello,
I have a problem with registering to the SER. I use X-Lite SIP softphone, and when I try to register to the SER, I get following messages;
[...]
SEND >> 192.168.2.253:5060 REGISTER sip:vfrnd.jp SIP/2.0
[...]
RECEIVE << 192.168.2.253:5060 SIP/2.0 478 Unresolveable destination (478/TM)
[...]
vfrnd.jp is not resolvable from the host running ser (neither using DNS SRV or normal DNS A lookups). Try logging in on that host and running host vfrnd.jp or nslookup vfrnd.jp. You should fix your DNS entries or at least add vfrnd.jp to /etc/hosts. Also make sure ser knows that vfrnd.jp is "his" domain (I suppose that's what you want). If when you start ser you don't see vfrnd.jp in the alias list, then add it to your ser.cfg (alias= vfrnd.jp) and restart ser.
Andrei
On Nov 12, 2003 at 17:24, Iizuka, Hirotaka, VF-JP hirotaka.iizuka@vodafone.com wrote:
Thank you very much for the information, and sorry for the late reply.
I want to insert alias="vfrnd.jp" into ser.cfg file, but where exactly should I write in? I was reading the Admin's Guide and found the related part, but it seems I need to type in more than just alias="vfrnd.jp". Here is the copy & pasted document;
You should add it anywhere before ther "route{" line, e.g. after listen, see below.
Example 2-5. Use of uri==myself Expression
# ser powers a domain "foo.bar" and runs at host sipserver.foo.bar; # Names of served domains need to be stated in the aliases # option; myself would not match them otherwise and would only # match requests with "sipserver.foo.bar" in request-URI alias="foo.bar" alias="sales.foo.bar"
# you could also remove the above aliases alias ="vfrnd.jp"
route[0] { if (uri==myself) { # the request either has server name or some of the
[...]
Andrei