Two years of inactivity, if someone wants to implement something in this direction, just make a pull request.
Likely an alternative is to use exec module to call rtpengine-ctl tool and manage the result in the config. Or just use some embedded scripting language like lua or python.