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 <sr-users-boun...@lists.kamailio.org> on behalf of Emmanuel BUU 
<emmanuel....@ives.fr>
Sent: Friday, February 2, 2018 5:34:02 PM
To: sr-users@lists.kamailio.org
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

Emmanuel

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

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?

Regards,

Grant Bagdasarian

Senior Developer

+31765727054<tel:+31765727054>

cm.com<https://cm.com>

[cid:part3.A1478516.A54054AA@ives.fr]





_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org<mailto:sr-users@lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to