[SR-Users] LCR help

Juha Heinanen jh at tutpro.com
Wed Jan 22 23:19:09 CET 2014


Pete Ashdown writes:

> 2) How do I populate the rest of the LCR database?  It appears that
> using "kamctl lcr" has been depreciated.  Am I supposed to use Siremis? 
> Is there any way to do this via shell?  Does anyone have any scripts
> that digest csv rate decks from trunkers into the db for creation and
> update?

you need to populate lcr tables manually unless you find a tool to
do it for you.

> 3) Is the number_prefix column PCRE friendly?  I note mod_lcr's use of
> libpcre.

prefix column cannot hold a regular expression.  lcr routing is based on
longest match, which cannot be efficiently implemented using regular
expressions.

-- juha



More information about the sr-users mailing list