[EMAIL PROTECTED] 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()


_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to