doc/
subfolder, the README file is autogenerated)Currently we need a onsend_route{} (empty is ok) block in config before KEMI ksr_onsend_route() is invoked. The latter will override the route block.
This PR will unconditonally invoke KEMI ksr_onsend_route() so we do not need a placeholder in config.
For discussion: this will unconditionally invoke ksr_onsend_route() so it might break scripts that don't have an implementation. Should be document that ksr_onsend_route should be implemented (just return 1 is ok).
I'm not too clear about the error handling in run_onsend(): it's possible that if KEMI ksr_onsend_route throws error (not implemented rather than real error) then the message might be dropped.
https://github.com/kamailio/kamailio/pull/1475
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.