Hello,
In the kamailio core cookbook
(
https://www.kamailio.org/wiki/cookbooks/5.5.x/core#event_route) I read that the name of
an event_route should be like this:
event_route[groupid:eventid]
Where:
groupid - should be the name of the module that triggers the event
eventid - some meaningful short text describing the event
Some modules of kamailio have underscores in the name, for example: http_async_client
Years ago a fix have been committed in order to allow underscores in the second part of
the name, after the semicolon:
https://github.com/kamailio/kamailio/commit/5806703c1ff72243457ff55758f41c3…
But it seems that an underscore is still not allowed in the first part of the name:
https://github.com/kamailio/kamailio/blob/master/src/core/cfg.lex
EVENT_RT_NAME [a-zA-Z][0-9a-zA-Z-]*(":"[a-zA-Z][0-9a-zA-Z_-]*)+
So I wonder if this is a bug in the code or a mistake in the cookbook.
Thanks,
Luca