Hi,<br>here is my scenario<br><br>in my voip system(asterisk based) every user has a primary did and 5 secondary did&#39;s i.e. all six did&#39;s point to a single channel. every user has a blacklist feature and a call filter feature. if blacklist feature is enabled, user has option to include 5 bl numbers. if the user is using all 5 bl numbers then i have to match DNID with every(6) did. im not using asterisk DB so i cant use LookupBlackList. if i have 15,000 users subscribed and using our services then the number of extensions just multiplies with 30. I think thats a lot of extensions. so i need to find a way to reduce the number of extensions.
<br><br>i mean currently im doing this<br><br>;primary did<br>exten=&gt; 1,1,Dial(SIP/riz) <br><br>;sec did&#39;s<br>exten=&gt; 2,1,Goto(,1,1)&nbsp;&nbsp;&nbsp; <br>exten=&gt; 3,1,Goto(,1,1)<br>exten=&gt; 4,1,Goto(,1,1)<br>exten=&gt; 5,1,Goto(,1,1)
<br>exten=&gt; 6,1,Goto(,1,1)<br><br>if blacklist is enabled and user has added 5 bl numbers then.....<br>exten=&gt; 1,1,Dial(SIP/riz) <br>exten=&gt; 1/20,1,Hangup<br>exten=&gt; 1/21,1,Hangup<br>exten=&gt; 1/22,1,Hangup<br>
exten=&gt; 1/23,1,Hangup<br>exten=&gt; 1/24,1,Hangup<br><br>same goes for every secondary did. and situation is even worse if the user enables the call filter feature i.e. same thing has to be done for cf numbers. im thinking a way to avoid this and reduce extensions and in the mean time i need your help.
<br clear="all"><br>-- <br>Regards<br>Rizwan Hisham<br>Software Engineer