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

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Fri Aug 7 12:39:24 CDT 2009


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)



More information about the asterisk-users mailing list