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

2004-01-13 Thread Ted Cabeen
Martin Pycko <[EMAIL PROTECTED]> 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?

> On Fri, 9 Jan 2004, Ken Alker wrote:
>
>> I am just studying Asterisk now and have a question.  Is it possible to
>> force anyone who enters a queue into voice mail after they have been in
>> the queue for 30 seconds?

-- 
Ted Cabeen
Sr. Systems/Network Administrator
Impulse Internet Services
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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

2004-01-13 Thread C. Maj
On Tue, 13 Jan 2004, Ted Cabeen waxed:

> Martin Pycko <[EMAIL PROTECTED]> 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 
Pronunciation Guide:  Maj == May
Fingerprint: 43D6 799C F6CF F920 6623  DC85 C8A3 CFFE F0DE C146

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users