[sr-dev] Kamailio 5-0 - Executing event routes in embedded languages

Alex Hermann alex at speakup.nl
Wed May 18 17:36:58 CEST 2016


On woensdag 4 mei 2016 09:34:39 CEST Daniel-Constantin Mierla wrote:
> I was thinking of the alternative, next are the ones I came up with,
> more suggestions are welcome.

Why not allow the embedded script to register a callback via a new function?

register_event_route("htable:mod-init", "my_lua_htable_event_route_function")

This allows quick lookup and freedom of the developer to name the functions.

-- 
Alex Hermann
Speakup BV




More information about the sr-dev mailing list