Hello,
I have just started learning the asterisk. I want to setup asterisk which can handle more than thousand calls…
Asterisk should dial a call, collect the response from the called no, and enter it to the database.
I have tried to setup this by writting a agi script which dials a particular number, collects the response (DTMF digit). Now using the manager api i originate a call (which is generated using above agi script).
on particular extension say 123 this agi script is called…
In manager api i use the commands like this…
Action: Originate
Channel: SIP/ivan
Exten:123
Context:tutorial
Priority:1
The above command call the agi script and asterisk will generate a call to SIP/ivan… I am using the same thing to generate the multiple calls just by changing the channel…
Example:
AGI script : AGI script dial the number and play the file…
suppose the user pressed 1 - reject the call if 9 - Play thank you and then hangup the call… Asterisk can generate the CDR, but how can i add this pressed digits (response by user) to the database, to keep the record of user response…
My Questions:
- Will this scenario be appropriate to handle more than thousands of calls?
- how can i add the given response (DTMF) to the database.
- Please suggest me, what can be the best approach to achieve this task?
Regards,
Jigar Thakkar.