[Asterisk-Users] IVR and db

Jean-Michel Hiver jhiver at ykoz.net
Tue Dec 20 12:45:29 MST 2005


Serge Schumacher a écrit :

> Hi,
>
> I have a more general question.
>
> Our group over 5000 employees’ world wide wants to do a survey for all 
> employees asking them if they are happy with the job, salary, 
> environment etc…
>
> Can I use an * where people can call a certain phonenumber, go through 
> voice menues and entering their choice with the keypad so that all 
> choices can get stored into a db ?
>
Yes, this will be doable with AGI scripting.


> If this is possible then I’m talking about +- 1000 calls/hour, can * 
> affort this ? what should be the hardware ?
>
Assuming you're doing no transcoding, it should be fine.

At any rate, why not set up a cluster if you run into scalability 
issues. I guess you could have a front end, a db server, and several 
processing units.

I've never tried it, but I can't think of any reason why using DNS 
rotation (with very short time to live DNS entries) you couldn't get 
your frontend to dispatch your calls more or less evenly to backend 
boxes for processing.

The advantage of this is when you're overloaded, just clone a backend 
box, give it a different IP address, update your DNS and you're good. 
Same as for web clustering...


> An my last question, is there a way to simulate and stress the system 
> to call him self an generate dtmf tones ?
>
Well, usually when doing stress testing you use separate boxes since if 
it was the same box, it would slow down request as the system would 
start to be overloaded...

You can get asterisk to initiate calls using .call files. Look it up on 
the wiki.


Cheers,
Jean-Michel.




More information about the asterisk-users mailing list