[OpenSIPS-Users] DRouting Sample Config

Brett Nemeroff brett at nemeroff.com
Wed Apr 29 15:20:11 CEST 2009


On Wed, Apr 29, 2009 at 3:28 AM, Julian Yap <julianokyap at gmail.com> wrote:
> Echoing the sentiments of the original poster, I'm starting to look
> into Drouting as well...  Having wasted my time with and implementing
> my current system with LCR :).
I still have t older systems using the LCR mod. I probably won't
upgrade them until there is a specific need for it. They've got
hundreds of LCRs and only a handful of gateways, so for the most part,
LCR still works really well for them. However, the drouting module is
like a breath of fresh air after dealing with the limitations of LCR
and carrierroute.

> Also, I'm interested in the inbound aspects of Drouting as well...
> Right now I'm using the alias_db module to route inbound calls but
> that's limiting.  Checking out an example would be handy.
Like I said, the module is quite easy to use. The documentation is
very good really. Have you read the module docs completely? Without
really looking into your implementation, I'd guess that you can make
one dr_rules group for inbound, another for outbound.

Migrating from LCR to DROUTING shouldn't be rocket science. Move your
LCRs from lcr -> dr_rules and your gatways ->dr_gateways. Then replace
the module functions and init params.

Seriously, give the docs a good reading. And let us know if you have
specific questions. I just re-read them because it's been a while
since I've looked at them, and they really are quite good. Especially
read section 1.1.5, but really, read the whole thing.

http://www.opensips.org/html/docs/modules/1.5.x/drouting.html

-Brett



More information about the Users mailing list