[asterisk-users] Going to VM after 180 seconds in queue

Danny Nicholas danny at debsinc.com
Fri Aug 7 12:50:53 CDT 2009


Could you use AMI from within the AGI to poll the call status and act
accordingly?

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tilghman
Lesher
Sent: Friday, August 07, 2009 12:39 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Going to VM after 180 seconds in queue

On Friday 07 August 2009 11:04:14 Dan Pilcheck wrote:
> This is a VICIDial server and I am looking to send calls to VM box
> 2100 after 3 minutes of sitting in the queue(via the VICIDial AGI).
> This would be inserted between exten => s,8,Background(open) and exten
> => s,9,AGI.
>
> From what voip-info has [not] told me, the AGI doesn't allow for a
> timeout to be set.
> I'm hoping to find an option along the lines of the Dial() ringtime,
> but no luck.
> Gosub() looked interesting, but I don't think quite fits my needs either
>
> Could someone please offer a little insight on this situation and
> point me towards the right command to be playing with?

You're not going to be able to do this without integration with the AGI.
You
could set an absolute timeout (TIMEOUT(absolute)), but that would fire
regardless of whether the call was still in-queue or answered.

-- 
Tilghman & Teryl
with Peter, Cottontail, Midnight, Thumper, & Johnny (bunnies)
and Harry, BB, & George (dogs)

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list