[asterisk-users] Newbie Queue: tricky problem with MOH
Lee, John (Sydney)
John.Lee at compuware.com
Thu May 8 03:25:47 CDT 2008
I have this simple queue for the reception set up such that the console
queue has only one agent.
I checked the number in the queue and if there is someone there, I play
back a "busy & please be patient" message and then join the call to the
queue.
If there is no one in the queue, the caller will go directly into the
queue and the receptionist phone will ring. This looks fine but while
the call is waiting for the receptionist to pick it up, the caller will
actually hear Music on Hold instead of just ring ring ring. This is
undesirable.
exten =>
7100,n(rcl_off_opn),Set(rcv_que_num=${QUEUE_WAITING_COUNT(console)})
exten => 7100,n,GotoIf($[${rcv_que_num} = 0]?rcl_que_jon:)
exten => 7100,n,Playback(rc-busy)
exten => 7100,n(rcl_que_jon),Queue(console)
exten => 7100,n,Wait(2)
exten => 7100,n,HangUp()
So, the issue is MOH is good for the 2nd and subsequent callers but not
for the first caller who should just hear ring ring ring until the
receptionist picks up the call.
Any thoughts?
More information about the asterisk-users
mailing list