[asterisk-dev] asterisk realtime callerid support + optimisation
los at inet.ua
los at inet.ua
Sun Feb 11 14:55:33 MST 2007
First of all i like t say , that i have made some upgrate to asterisk and now
it can also check callerid while reading extensions from realtime.
And now i must say that i found maybe bug in asterisk.
His choosing of best extension is not optimal .
My example :
for example i have such extensions
_10.,1,Dial(SIP/${exten})
_101,1,Dial(SIP/${exten:1})
11111,1,Dial(SIP/${exten})
If i make call to 11111 - asterisk will check the database and return only one
extension 11111,1,Dial(SIP/${exten}) to asterisk , And a call will porceed.
If i make a call to number 10000 asterisk will try to find exact exten. But
after that - it will load every extension . And engine will choose optimal.
It is not problem for those who have ont much extensions in realtime
configuration . BUT. If you have about 5000 extensions you will have a problem
. Because asterisl will load all extensions from database ( it takes time
about 5-10 seconds ) , and only after that -- the call will porceed.
I tryuing to make optimisation in work of realtime. If anyone can help me . It
will be pleasant for me.
Can anybody tell me why IRC channel isn`t working ?
Please contact with me by icq 73493998
----------------------------------------------------------------------------
Новая услуга от компании "Адамант" - аренда серверов
сервер DELL+ колокейшн = 519,00 грн./мес."
http://adamant.ua/colo
More information about the asterisk-dev
mailing list