Here is the output of `kamctl srv sockets`:
```
list listen sockets
{
  "jsonrpc":  "2.0",
  "result": [
    {
      "PROTO":  "udp",
      "NAME": "10.0.0.100",
      "ADDRLIST": {
        "ADDR": "10.0.0.100"
      },
      "PORT": "5060",
      "MCAST":  "no",
      "MHOMED": "no",
      "ADVERTISE":  "-"
    }, {
      "PROTO":  "udp",
      "NAME": "192.168.178.21",
      "ADDRLIST": {
        "ADDR": "192.168.178.21"
      },
      "PORT": "5060",
      "MCAST":  "no",
      "MHOMED": "no",
      "ADVERTISE":  "<public hostname>"
    }
  ],
  "id": 12460
}
```

If I add the following event route, the Via address is still 192.168.178.21:
```
event_route[tm:local-request] {
    $fs = "192.168.178.21:5060";
}
```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1973#issuecomment-499856858
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to