[SR-Users] Local Route blocks

Grant Bagdasarian gb at cm.nl
Thu Feb 28 11:18:40 CET 2019


Hi Daniel,

Thanks for the explanation, it's clear now!

Regards

Grant
CM.com

From: Daniel-Constantin Mierla <miconda at gmail.com>
Sent: donderdag 28 februari 2019 10:17
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>; Grant Bagdasarian <gb at 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 List

sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>

https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

--

Daniel-Constantin Mierla -- www.asipto.com<http://www.asipto.com>

www.twitter.com/miconda<http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda<http://www.linkedin.com/in/miconda>

Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com<http://www.kamailioworld.com>

Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC, USA -- www.asipto.com<http://www.asipto.com>

________________________________
Please be cautious
This email was sent outside of your organisation
________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190228/98c96c65/attachment.html>


More information about the sr-users mailing list