[Asterisk-Users] Asterisk operator functions

Doug Lytle support at drdos.info
Fri Jul 22 04:47:31 MST 2005


laine.marko at porilainen.com wrote:

>Hey!
>My asterisk is working properly so far with all automatic functions. Now I want
>to direct incoming calls to operator, i mean some person who answers to the
>
>  
>
[incoming]

exten s,1,Answer()

; Wait for 2 seconds to pick up caller-id
exten s,2,Wait(2)

; Dial operator's sip phone for 30 seconds
exten s,3,Dial(SIP/4216,30,rt)

; If operator not found, play please wait
exten s,4,Playback(find-operator)

; drop person into operator-group queue
exten s,5,Queue(operator-group|t|||100)

; Hang up if they exit the queue before someone answers
exten s,6,Hangup()





More information about the asterisk-users mailing list