Hi Vasilios,
The "too many hops" reply typically indicates a looping of the REGISTER
through OpenSIPS - OpenSIPS is sending that REGISTER to itself via
loopback interface. Why ? because of a configuration error - the SIP
domain in REGISTER RURI is not recognized by OpenSIPS as a local domain,
but it points to the OpenSIPS IP via DNS.
Be sure the domain you have in RURI is set as local domain in OpenSIPS
cfg . The 185.46.X.X IP you have there should be configured as "alias"
in OpenSIPS.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 03.02.2015 15:14, Vasilios Tzanoudakis wrote:
Dear all,
I have installed Opensips 1.11-3 on 1:1 NAT Server but registration
fails with "too many hops".
I am using the advertised_address feature with IP: 185.46.X.X but its
not working.
The configuration file with registration procedure is working fine on
a host with public IP.
I have tested the same setup with opensips 1.8.x version and the
problem is also there.
also have tested with or without alias feature enabled.
opensips config
==================================
advertised_address="185.46.x.x" #public IP here
advertised_port=5060
listen=udp:192.168.70.109:5060
==================================
I am sending you a pastebin url of debug: 5 -
http://pastebin.com/VWr68982
Thank you for your support
Vasilios Tzanoudakis
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users