[Asterisk-Users] max queue time; newbie question (fwd)

C. Maj cmaj at freedomcorpse.info
Tue Jan 13 17:52:43 MST 2004


On Tue, 13 Jan 2004, Ted Cabeen waxed:

> Martin Pycko <martinp at digium.com> writes:
> 
> > sure, use the 'n' option of the queue and put voicemail app as the next
> > priority
> 
> Will that work?  From my read of the code, the timeout parameter is
> only checked while the call is being sent to an agent's phone (inside
> the try_calling function).  The timeout doesn't seem to be checked
> while the user is waiting to get to the head of the queue (inside the
> wait_our_turn function).  Unless the ast_waitfordigit function checks
> the timeout and I missed it, this solution won't work.
> 
> Am I reading the code right?

Set up a queue, with the n option, and dial into it, without
having any agents logged in.  It should drop out after the
timeout expires.  Least that's what my slightly hacked
version does.

--Chris


-- 

Chris Maj <cmaj_hat_freedomcorpse_hot_info>
Pronunciation Guide:  Maj == May
Fingerprint: 43D6 799C F6CF F920 6623  DC85 C8A3 CFFE F0DE C146




More information about the asterisk-users mailing list