[SR-Users] Best way to implement custom LCR

KamDev Essa kamdevessa at yahoo.com
Tue May 22 21:14:32 CEST 2018


 Awesome. Where can I get info on shelling out to run a lua or python script and getting data. That could very well be a quick and dirty option if its not to bad on performance stats.
KD
    On Tuesday, May 22, 2018, 3:05:08 PM EDT, Henning Westerholt <hw at kamailio.org> wrote:  
 
 #yiv3106319993 p, #yiv3106319993 li {white-space:pre-wrap;}
Am Dienstag, 22. Mai 2018, 21:00:47 CEST schrieb KamDev Essa:

> In the LRN request via ENUM using dig I provide an IP of my LRN dip provide

> and a E.164 formatted TN of the requested user. I get a text dump from

> which I extract the rn value if present. I dont not know how to automate

> those steps or other steps to get the same solution. KD

> [..]

 

Hello,

 

if the enum module somehow does not work for you, maybe you could think of adding some python or lua code. You could exec with python_exec e.g. a DNS query and put the result in a pseudo-variable. Just an idea, not tested obviously.

 

Henning
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180522/4ed3b9ad/attachment.html>


More information about the sr-users mailing list