[sr-dev] git:master:2234a18e: core: new socket global parameter to set listen attributes with a structure style

Daniel-Constantin Mierla miconda at gmail.com
Wed Jun 1 08:29:23 CEST 2022


Module: kamailio
Branch: master
Commit: 2234a18e9031a634ba43655779c644ce549af505
URL: https://github.com/kamailio/kamailio/commit/2234a18e9031a634ba43655779c644ce549af505

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2022-06-01T08:28:43+02:00

core: new socket global parameter to set listen attributes with a structure style

- alternative to listen when a usual bind address is provided
- example:

socket = {
    bind = udp:127.0.0.1:5060;
    advertise = 1.2.3.4:5080;
    name = "udp0";
}

---

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/2234a18e9031a634ba43655779c644ce549af505.diff
Patch: https://github.com/kamailio/kamailio/commit/2234a18e9031a634ba43655779c644ce549af505.patch




More information about the sr-dev mailing list