Link to home
Start Free TrialLog in
Avatar of andybrooke
andybrooke

asked on

Asterisk dialing out from system

Hi,

we are designing our own system and want to be able to dial our clients using a mysql database with their phone numbers in. We then want a pre-recorded message played to them. Somthing like:

 " Welcome to XXXXX we have now activated your account.
Press 1 If you understand and would like to end the call.
Press 2 If you would like to speak to an Agent about your account."

For both instances I would like the results of either pressing 1 or 2 to be stored into a mysql database. Also I would want to store if the call was picked up, dead number etc...

Main sssue we are having is that we can only initiate calls directly from extensions currently, as the example below is shown. This example means that extension 4003 rings and then the other number is rang. How can we get the system to do this itself, without the need for a physical phone to be plugged in?

Action: Originate
Channel: SIP/4003
Context: test3
CallerID: 01613584781
CallerIDName: Jason
Exten: 9078424551450
Priority: 1

Open in new window

Avatar of grblades
grblades
Flag of United Kingdom of Great Britain and Northern Ireland image

I think your problem is that you have the call file doing things the wrong way round. You are having it call the phone 4003 and then when answered put it through to the extension which dials the customer.
I think what you want is something like the following which would call the customer and if answered would put it through to an extension which would play the recording and offer the ivr menu.
Channel: Zap/1/078424551450
MaxRetries: 0
RetryTime: 60
WaitTime: 30
Context: ivr-menu
Extension: menu1
Priority: 2

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of kode99
kode99

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial