Hello,
local_route was a short-living (well, I guess one year or so) name for what is now event_route[tm:local-request]. It was then first extra-route block added for the needs of a module, but it proved that more modules/developers wanted that and we introduced event_route as a generic name for the block, with inner name to define the purpose.
Adding a new route block name (like local_route, event_route) requires to change the core. Now, adding a new event_route type, doesn't touch the core, is only code in a specific module.
So you can ignore the LOCAL_ROUTE (probably we should remove them) from docs, or consider as being valid for event_route[tm:local-request], but most of the functions for REQUEST route can be used in event_route.
Cheers, Daniel
On 28.02.19 09:44, Grant Bagdasarian wrote:
Hi,
I noticed some module functions mention “LOCAL_ROUTE”, like the Domain module (http://www.kamailio.org/docs/modules/5.2.x/modules/domain.html#domain.f.look...).
I couldn’t find anything related to the LOCAL_ROUTE in the docs.
What are these used for and how are these declared and used?
Regards,
Grant
CM.com
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users