[asterisk-users] reducing the number of extensions for every user

Rizwan Hisham rizwanhasham at gmail.com
Wed Mar 21 07:34:05 MST 2007


Hi,
here is my scenario

in my voip system(asterisk based) every user has a primary did and 5
secondary did's i.e. all six did'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.

i mean currently im doing this

;primary did
exten=> 1,1,Dial(SIP/riz)

;sec did's
exten=> 2,1,Goto(,1,1)
exten=> 3,1,Goto(,1,1)
exten=> 4,1,Goto(,1,1)
exten=> 5,1,Goto(,1,1)
exten=> 6,1,Goto(,1,1)

if blacklist is enabled and user has added 5 bl numbers then.....
exten=> 1,1,Dial(SIP/riz)
exten=> 1/20,1,Hangup
exten=> 1/21,1,Hangup
exten=> 1/22,1,Hangup
exten=> 1/23,1,Hangup
exten=> 1/24,1,Hangup

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.

-- 
Regards
Rizwan Hisham
Software Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070321/dbcf7937/attachment.htm


More information about the asterisk-users mailing list