Thanks! Will have a look at it.
I did try the LCR module with using the from_uri in the rules table, but the 
result wasn’t what I was expecting. Will play with it around some more, and 
after that try your suggestions!
Much appreciated!
From: sr-users <> on behalf of Emmanuel BUU 
Sent: Friday, February 2, 2018 5:34:02 PM
Subject: Re: [SR-Users] Routing based on A and B numbers

Really depends on what you want

  *   carrierroute is great for prefix based routing but lacks multiple 
information output
     *   if you want to use carrierroute on A and B, I would use it in cascade 
mode: first carrierroute call on A number, and use the result of the first 
carrierroute ($rd) as context for the second call B number. That is a kind of 
an elegant hack
  *   I would use DIALPLAN for maximum flexibility with regex


Le 2018-02-02 à 15:00, Grant Bagdasarian a écrit :

Which module would be best suited for routing calls based on A and B numbers?
We’re currently using the LCR module, with some additional htables to add this 
functionality, but I was wondering if there is a module which does exactly 
this? Or perhaps a combination of modules?


Grant Bagdasarian

Senior Developer



Kamailio (SER) - Users Mailing List<>

Kamailio (SER) - Users Mailing List

Reply via email to