[sr-dev] git:master:2c105fa6: dialplan: added dp_match() and dp_replace() functions
Daniel-Constantin Mierla
miconda at gmail.com
Tue Jul 25 19:41:23 CEST 2017
Module: kamailio
Branch: master
Commit: 2c105fa6a66e24a6d9e24f96b0f4c04b60ce0da9
URL: https://github.com/kamailio/kamailio/commit/2c105fa6a66e24a6d9e24f96b0f4c04b60ce0da9
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/2c105fa6a66e24a6d9e24f96b0f4c04b60ce0da9.diff
Patch: https://github.com/kamailio/kamailio/commit/2c105fa6a66e24a6d9e24f96b0f4c04b60ce0da9.patch
More information about the sr-dev
mailing list