[SR-Users] Re: change A number using a pool of numbers

2023-08-02 Thread Kaufman
There's functionally two parts to this question: 1. How to change a number 2. How to select a random number For selection of the number it's probably easiest to rely on DB lookup. With one column as the original number and another column as the possible replacement numbers, then just

[SR-Users] change A number using a pool of numbers

2023-08-02 Thread Ali Taher
Hello, I'm looking to change the A number (from number) to a number selected randomly from a pool of existing numbers (hundreds) and then relay the call to a certain gateway. What is the best and more efficient way to do it in kamailio? Thanks in advance