Hi Rob,
put your call centre stuff in a context that is separate from all other extensions (like internal, long distance, etc) and have it contain it's own, dedicated dial() code.

[incoming-to-callcentre]
; Incoming calls to Call Centre arrive in this context
;  IVR stuff.....
; ....
; If Q1 selected...
exten => 1,1,Goto(5210,1)
; If Q2 selected...
exten => 2,1,Goto(5220,1)

include => [callcentre]

[call-centre]
; All Call Centre dial stuff goes here
; Q1
exten => 5210,n,Queue(Q1)
; Q2
exten => 5220,n,Queue(Q2)
; All CC extensions start with 6
exten => _6XX,1,macro(ccexten,${EXTEN})

[macro-ccexten]
; Special dial stuff for Call Centre only
exten => s,1,Dial(EXTEN)
; Handle timeouts, etc here .......
exten => s,n,Voicemail(u1000)

regards,

Drew

Rob Schall wrote:
Hello all,

I think Lee has given me a head start, but I'm still running in a circle
(at least i'm in the lead).

The problem is with my queues. The phones go to their own voicemail
after 5 rings.
That's about the same time I allow the phone to ring before trying
another phone in the queue. Is there a way to tell asterisk....?

If this call is coming from a queue, do not follow a normal dial plan
for the phone (don't send to user's voicemail). In stead, once timed out
(t|||60), send to Voicemail(u1000).
--

Drew Gibson

Systems Administrator
OANDA Corporation
416-593-6767 x322
www.oanda.com

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to