That basically means Kamailio will not serve to requests not directed to it.
In practice (assuming it should serve then) you’re probably missing an alias.

In the config file you should have the listen set to the server ip. But clients are sending to the server FQDN. So you should add an alias like

alias = [the server FQDN ]

So that kamailio knows anything sent to it with that domain name is directed to it.

Hope that helps.

David

On Mon, 14 Sep 2020 at 07:59, alexandros vlachos <alevlachos@gmail.com> wrote:
Hello,
I am a new user and i am trying to use kamailio as remote sip server for clients (softphones particularly)

The error message is "SIP: SIP/2.0 403 Not relaying"

The kamailio listens with one public ip address in a datacenter ( linux debian).
root@vmdeb1:~# kamctl version
/usr/sbin/kamctl 5.2.0

The xlog shows that the register message arrives in kamailio.
I am sure that the user 410 exists.

I have added the remote public address to address via kamctl.
I have added the location via ul add command.

I am not sure about kamailio.cfg because most of it except the tls is the default.

I would appreciate your help.
Alexandros


_______________________________________________

Kamailio (SER) - Users Mailing List

sr-users@lists.kamailio.org

https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

--
Regards,

David Villasmil
email: david.villasmil.work@gmail.com
phone: +34669448337