Add the following line to you global configuration parameters:
alias=yourdomain.dyndns.org
-----Original Message-----
From: Felix Schmid [mailto:felix@belugalounge.net]
Sent: Tue 02.09.2003 00:11
To: serusers
Cc:
Subject: [Serusers] help: I keep getting '483 Too Many Hops'
Hello,
I set up ser with user authentication turned on on my home gateway
today. I got an dyndns address, which I set SER_DOMAIN to before I set
up mysql (with ser_mysql.sh) and added a user.
Now, if I try to register (with kphone) using the gateways' name in the
internal lan as host part of the SIP url (i.e. ('hostname.localdomain'),
everything seems to work fine. However, if I set the host part of the
SIP url to the dyndns host name ('hostname.dyndns.org'), I keep getting
'483 Too many hops' repsonses.
I watched the network traffic on my dialup adapter (using ngrep) and
found that there's a loop in the REGISTER requests (the request is
coming in and going out in a looping manner several times - with another
Via: header being added each time).
Can someone explain to me what is going on? Why doesn't the 'if
(uri==myself)' line in the default ser.cfg catch the request? How does
ser interpret 'myself' if it's listening on several addresses (it
detects three on my setup - lo/127.0.0.1, the internal lan address and
the dialup address)? I think the problem is the dialup addresses'
assigned alias name - it gets assigned the name
'dsl-xxx-xxx-xxx-xxx.arcor-ip.net', but not the dyndns name. In fact, if
I attempt to connect with 'dsl-xxx-xxx-xxx-xxx.arcor-ip.net' as host
part of the SIP url it works - though the request seems to be routed
directly to gateway (no output on the ngrep on the dialup interface).
Can I configure ser to use another alias for the dialup address? I tried
starting ser with '-l hostname.dyndns.org', but it complains with
'hostname.dyndns.org: not found'... I am really lost now... :-(
Any insights are very appreciated...
cheers,
felix
--
PGP-Key:
http://belugalounge.net/~felix/Felix%20Schmid.asc
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers