[sr-dev] git:master:76889dec: core: support to asign names to listen sockets

Daniel-Constantin Mierla miconda at gmail.com
Thu Apr 2 12:24:49 CEST 2020


Module: kamailio
Branch: master
Commit: 76889decfc6e8371eadf15388ba18d9899f57294
URL: https://github.com/kamailio/kamailio/commit/76889decfc6e8371eadf15388ba18d9899f57294

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-04-02T11:35:00+02:00

core: support to asign names to listen sockets

- full format:
  listen=proto:address:port advertise address:port name string
- example:
  listen=udp:10.0.0.10:5060 advertise 1.2.3.4:5060 name "sock1"
- the value for the name has to be enclosed in quotes
- name can be provided also when advertise is not needed

---

Modified: src/core/cfg.lex
Modified: src/core/cfg.y
Modified: src/core/ip_addr.h
Modified: src/core/socket_info.c
Modified: src/core/socket_info.h

---

Diff:  https://github.com/kamailio/kamailio/commit/76889decfc6e8371eadf15388ba18d9899f57294.diff
Patch: https://github.com/kamailio/kamailio/commit/76889decfc6e8371eadf15388ba18d9899f57294.patch




More information about the sr-dev mailing list