Hi List,<br><br>I am using lcr with opensips (version 1.5.2), I have 3 voip products what I offer for my users.<br>Let's name it as "bronze", "silver" and "gold".<br><br>Each products have it's own lcr (with nearly the same prefixes, but with different gateways).<br>
Basically the lcr will be different in each products, voip products are calculated based on asr and pdd, so "gold" will be the highest quality lcr.<br><br>Each lcr contains various rows, from 5k to 130k rows (based on prefixes). 50% of the prefixes can be found in all 3 products.Every prefix in lcr table have multiple gateways with multiple priorities.<br>
The customers are dial with prefixes, so 101+number will identify the call as "bronze", 102+number will be identified as "silver".<br><br>What will be the best way to route calls based on the dialed number? I am using a cfg file based on Ovidiu's example, so I have exactly the same like this(ok few things are changed to fit opensips 1.5.2)<br>
<a href="http://www.voipembedded.com/resources/openser_dbtext_lcr.cfg">http://www.voipembedded.com/resources/openser_dbtext_lcr.cfg</a><br><br>I mean when the customer dial 101+number, then the call will be routed based on the "bronze" lcr, when somebody else dial 102+number, then that will be routed based on the "silver" lcr.<br>
<br>I am thinking about to run multiple opensips instances, each instance with it's own cfg file, so 1st instance ill run with using opensips.cfg, second one will run with opensips2.cfg and so on, so basically I'll run 3 instances with different cfg/pid files and with 3 different DBs + listen ports, first instance with "bronze" lcr, second one with "silver" lcr, third one wwith "gold" lcr.<br>
With this I can have 3 separate databases for the 3 instances, and I can have 3 different lcr tables, but I don't think it's the best way to do this.<br><br>I hope somebody can suggest me a solution for this.<br><br>
Any help would be appreciated.<br><br><br>Thanks,<br><br>Dmitri<br> <br><br><br><br><br>