Hi Daniel,
Thanks for the explanation, it’s clear now!
Regards
Grant
CM.com
From: Daniel-Constantin Mierla <miconda@gmail.com>
Sent: donderdag 28 februari 2019 10:17
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>; Grant Bagdasarian <gb@cm.nl>
Subject: Re: [SR-Users] Local Route blocks
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.lookup_domain).
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 Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com
Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC, USA -- www.asipto.com
Please be cautious
This email was sent outside of your organisation