[asterisk-users] Queuing if no one available to answer

Doug Lytle support at drdos.info
Tue May 13 09:23:10 CDT 2008


bilal ghayyad wrote:
> Hi list;
>
> Any one can advise how to put the caller in the queue
>   

;***************************************************
;* Dial Operator's phone for 30 seconds, if no answer
;* play welcome message
;***************************************************

exten => s,5,Dial(SIP/4100,30,tkKwW)

;***********************************************
;* Play your call is important to us, please wait
;* for the next available representative.
;***********************************************

exten => s,6,Playback(local/available-rep)

;*********************************
;* Place caller into the front-desk
;* queue and play hold music
;* for 120 seconds.  If nobody picks
;* up call within that time, send
;* caller to the Directory
;*********************************

exten => s,7,Set(CALLERID(num)=*${CALLERID(num)})
exten => s,8,Queue(front-desk|t|||120)
exten => s,9,Playback(local/transfer-dial)
exten => s,10,Goto(directory,s,1)
exten => s,11,Hangup()



-- 
 
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."




More information about the asterisk-users mailing list