Re: [Asterisk-Users] max queue time; newbie question (fwd)
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)
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 cmaj_hat_freedomcorpse_hot_info 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
[Asterisk-Users] max queue time; newbie question
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? /** Ken Alker [EMAIL PROTECTED]ham radio: KA6SDU Impulse Internet Services http://www.impulse.net Santa Barbara, San Luis Obispo, Ventura, Los Angeles, Orange T-3 / T-1 / ADSL / ISDN / 56K / web hosting / wireless / co-lo ***/ ___ 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
Sure, declare the queue and its timeout, then declare the same extension with voicemail with n+1 priority. exten = 2056,1,Answer exten = 2056,2,Wait,1 exten = 2056,3,Queue(noc|t|||30) exten = 2056,4,VoiceMail(u2056) Hope this helps, Gus -= Info about application 'Queue' =- [Synopsis]: Queue a call for a call queue [Description]: Queue(queuename[|options[|URL][|announceoverride][|timeout]]): Queues an incoming call in a particular call queue as defined in queues.conf. This application returns -1 if the originating channel hangs up, or if the call is bridged and either of the parties in the bridge terminate the call. Returns 0 if the queue is full, nonexistant, or has no members. The option string may contain zero or more of the following characters: 't' -- allow the called user transfer the calling user 'T' -- to allow the calling user to transfer the call. 'd' -- data-quality (modem) call (minimum delay). 'H' -- allow caller to hang up by hitting *. 'n' -- no retries on the timeout; will exit this application and go to the next step. In addition to transferring the call, a call may be parked and then picked up by another user. The optionnal URL will be sent to the called party if the channel supports it. The timeout will cause the queue to fail out after a specified number of seconds, checked between each queues.conf 'timeout' and 'retry' cycle. - Original Message - From: Ken Alker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 09, 2004 8:07 AM Subject: [Asterisk-Users] max queue time; newbie question 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? /** Ken Alker [EMAIL PROTECTED]ham radio: KA6SDU Impulse Internet Services http://www.impulse.net Santa Barbara, San Luis Obispo, Ventura, Los Angeles, Orange T-3 / T-1 / ADSL / ISDN / 56K / web hosting / wireless / co-lo ***/ ___ 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 ___ 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
sure, use the 'n' option of the queue and put voicemail app as the next priority Martin 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? /** Ken Alker [EMAIL PROTECTED]ham radio: KA6SDU Impulse Internet Services http://www.impulse.net Santa Barbara, San Luis Obispo, Ventura, Los Angeles, Orange T-3 / T-1 / ADSL / ISDN / 56K / web hosting / wireless / co-lo ***/ ___ 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 ___ 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