[SR-Users] Routing based on A and B numbers
Grant Bagdasarian
gb at cm.nl
Fri Feb 2 21:16:12 CET 2018
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-bounces at lists.kamailio.org> on behalf of Emmanuel BUU <emmanuel.buu at ives.fr>
Sent: Friday, February 2, 2018 5:34:02 PM
To: sr-users at 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 at ives.fr]
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180202/fd04a6d7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4981 bytes
Desc: image001.png
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180202/fd04a6d7/attachment.png>
More information about the sr-users
mailing list