[sr-dev] [kamailio/kamailio] [5.2.3][UAC] Via header does not respect "advertise" option of listen parameter (#1973)

Michael Seifert notifications at github.com
Fri Jun 7 13:54:54 CEST 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190607/dcce5c94/attachment.html>


More information about the sr-dev mailing list