[sr-dev] git:master:411fb392: core: added #!defexp ID STM preprocessor directive

Daniel-Constantin Mierla miconda at gmail.com
Tue Sep 20 17:43:59 CEST 2022


Module: kamailio
Branch: master
Commit: 411fb392fc3f2b399857dde2fb717ec2286e7fee
URL: https://github.com/kamailio/kamailio/commit/411fb392fc3f2b399857dde2fb717ec2286e7fee

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2022-09-20T17:41:36+02:00

core: added #!defexp ID STM preprocessor directive

- abity to set a defined it to the result of snexpr statement
- example:

  #!define ADDR 127.0.0.1
  #!defexp SIPURI "sip:" + ADDR + ":5060"

---

Modified: src/core/cfg.lex
Modified: src/core/ppcfg.c
Modified: src/core/ppcfg.h

---

Diff:  https://github.com/kamailio/kamailio/commit/411fb392fc3f2b399857dde2fb717ec2286e7fee.diff
Patch: https://github.com/kamailio/kamailio/commit/411fb392fc3f2b399857dde2fb717ec2286e7fee.patch




More information about the sr-dev mailing list