Link to home
Start Free TrialLog in
Avatar of Kamran Arshad
Kamran ArshadFlag for Pakistan

asked on

Create IVR In Asterisk?

Hi,

I have worked on asterisk a bit and created a PBX with SIP/IAX based softphones and managed to connect PSTN trunk to this PBX. Now I have a different scenrio. I have a to create a pure VoIP network with just SIP users and make an IVR. Like if suppose a SIP user dials a number, the call should be processed by the IVR with a simpler menu for start. Later on I will make the IVR more advanced. The problem is that I have made calls from one SIP user to other SIP user or from PSTN to SIP and Vice Versa. In this case it will be pure VoIP and the SIP user should call the Asterisk BOX which would in return run the IVR.

Can some one help me in creating such an IVR!!!
Avatar of grblades
grblades
Flag of United Kingdom of Great Britain and Northern Ireland image

Can you give some more specifics on what you want.

So when a user dials a specific extension you want it to go to a IVR menu. What do you want the options on the menu to be?
Avatar of Kamran Arshad

ASKER

hi,

Thanks for the reply. Yes you have got my question. When user dials say 120 then the call should terminate at the Asterisk box and the IVR should run like this:

Welcome to Asterisk For Customer Support Press '1'
For Sales Support Press '2'
For Operator Assistance Press '0'

Now '1' and '2' should be the other two SIP users of this Asterisk PBX. Am I clear?
ASKER CERTIFIED SOLUTION
Avatar of grblades
grblades
Flag of United Kingdom of Great Britain and Northern Ireland image

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
Thanks a lot. Can you please elaborate your IVR a bit so that I try to make my own on basis of this IVR?
Here is basically what it does line by line :-

Wait 2 seconds so that people calling hear a but of ringing tone.
Answer the call.
Wait a second.
Set the default music on hold to be played incase anyone puts the call on hold.
Set the timeout between digits to 5 seconds. If you have an entry which allows people to enter an option with more than 1 digit this is how long it will wait inbetween digits.
Set response timeout to 10 seconds. If no digits entered within 10 seconds of the last option in the menu being played then goto the 't' extension.
Play the recording in the background while waiting for a keypress.
Dial user when 1 pressed
Dial user when 2 pressed
Dial operator or anything you want to do when 0 pressed.
If timeout wait 1 second
Then goto the operator code
If invalid option entered playback message
then wait 1 second
then go back and start playing the message again and wait for correct key to be pressed.