Need Guidance for IVR and Dialplan

Hey All,

Being to new & Stuck to Asterisk I want some one to help me out.
I have an running Asterisk 1.6 box and now i need to add another number into it say like (513 Series). Also the scene is as below-

  1. There are 4incoming Ext# . Means whenever I customer is calling the number then he will be asked for any of the 4options (Dubbed message) and then it will be transferred to 4 Incoming ext(whichever is selected) and then to individual cell phone number like this
    Customer Calls-> Options to be selected-> going to selected ext-> transferred to individual Cell number
    There are 4 Incoming and 4 persons cell number

  2. there are 4 other ext# only which are allowed to make the outbound calls.

I am not having idea about the IVR and Dial Plans. Can any one suggests some of it.
Help is Appreciated .


re 1), let’s say you use exten 123 to handle customer call:
exten => 123,1,answer()
exten => 123,n,playback(your-ivr-script)
exten => 123,n,waitexten(3)

; customer then jumps to the extension corresponds to his input of 1,2,3 or 4
; and assuming that your agent cell phone registers as sip exten
exten => 1,1,dial(sip/cell-phone-1)
exten => 2,1,dial(sip/cell-phone-2)
exten => 3,1,dial(sip/cell-phone-3)
exten => 4,1,dial(sip/cell-phone-4)

re 2) you can check ${CALLERID(num)} in your dialplan and hangup immediately if callerid is not permitted to make outbound call

Hi Dereklinrs,

First of bundles of thanks for replying. Now as you suggested I will first apply these options on my Box and test and then surely will update you.

Thanks & Regards