Confirm call answer in queue

Hey,

i want to realize a Queue with external Agents.
The Problem is, that it is possible that a mailbox of an agent answers the call.
Because of that i want to know its possible, that the agents must press the “1” before they get connected to the caller.

Thanks!

Hi

When you say agents do you mean local channels ? are you using a Gui at all?

Freepbx does this out of the box with external numbers, otherwise some dialplan using a macro and the dial flag to accept a call is needed similar to below

[code]exten => _31XX,n,Dial(SIP/${EXTEN},25,tTgM(call_accept))

[macro-call_accept]
exten => s,1,Wait(0.2)
exten => s,n,Playback(beep)
exten => s,n,Read(ACCEPT||1||1|6)
exten => s,n,GotoIf($["${ACCEPT}" = “2” ] ?yes:no)
exten => s,n(no),SET(__MACRO_RESULT=CONTINUE)
exten => s,n(no),Wait(1)
exten => s,n(no),Hangup()
exten => s,n,Noop(NO PRESSED ${MACRO_RESULT})
exten => s,n,Goto(done)
exten => s,n(yes),Wait(0.2)
exten => s,n(yes),Noop(YES PRESSED)
exten => s,n(yes),Playback(beep)
exten => s,n(done),Noop(ALL Finsihed here)
exten => h,1,Noop(NO PRESSED ${MACRO_RESULT})
exten => h,n,SET(__MACRO_RESULT=CONTINUE)
exten => i,1,Noop(ALL Finsihed here)
exten => t,1,Noop(ALL Finsihed here)
[/code]

Ian