[SR-Users] event_route [tcp:closed] not executed

Juha Heinanen jh at tutpro.com
Tue Sep 4 15:46:35 CEST 2018


Daniel-Constantin Mierla writes:

> The event_route was defined for the specific case where its name can be
> anything and it is a matter of modules to execute some as they need.
> 
> The interpreter which is defined in core has no clue about what names
> can be there. The modules cannot complain if they do not find some
> event_route blocks that they expect to execute, because if the event
> route is not found, then there should be noting executed.

Well, kamailio does not start if config includes call of a function
defined in a module that is not loaded.

Similarly, modules could register their event routes at load, which
would allow the interpreter to detect unknown event routes.

It may be too late to fix this, since too many modules already exists
that define event routes.

-- Juha



More information about the sr-users mailing list