Module: kamailio
Branch: master
Commit: 2c105fa6a66e24a6d9e24f96b0f4c04b60ce0da9
URL:
https://github.com/kamailio/kamailio/commit/2c105fa6a66e24a6d9e24f96b0f4c04…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-07-25T19:41:05+02:00
dialplan: added dp_match() and dp_replace() functions
- alternatives to dp_translate() with dedicated required parameters
(avoiding second parameter of two variables separated by '/')
- dp_match(dpid, inval)
- dp_replace(dpid, inval, outvar)
- dpid can be interger or variable
- inval can be a static or dynamic (with vars) string
- outvar has to be a writable variable
---
Modified: src/modules/dialplan/dialplan.c
Modified: src/modules/dialplan/dialplan.h
Modified: src/modules/dialplan/dp_repl.c
---
Diff:
https://github.com/kamailio/kamailio/commit/2c105fa6a66e24a6d9e24f96b0f4c04…
Patch:
https://github.com/kamailio/kamailio/commit/2c105fa6a66e24a6d9e24f96b0f4c04…