Using msg.call_function() should be avoided because is a hack to executed kamailio native config functions and can lead to crashes and memory leaks. It cannot be made completely safe due to custom optimisations done by kamailio native config interpreter, unless one goes one by one for each functions and analyses all kind of parameters and combinations. If you want to go that way, pull requests are welcome!
Otherwise, you should use the KEMI framework exported functions:
If you want to discuss more, then email to sr-users@lists.kamailio.org .
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.