Hello all,

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?

[1112221234]
exten => s,1,Ringing
exten => s,2,Wait(1)
exten => s,3,Answer
exten => s,4,GotoIfTime(09:00-21:00,mon-fri,*,*?s,8)
exten => s,5,Background(closed)
exten => s,6,Voicemail(2...@default)
exten => s,7,Hangup()
exten => s,8,Background(open)
exten => 
s,9,AGI(agi-VDAD_ALL_inbound.agi,CID-----LB-----wholesale-----18001111234-----Closer3-----park----------999-----1)

exten => _2100,1,Answer()
exten => 
_2100,n,AGI(agi-VDAD_ALL_inbound.agi,CID-----LB-----2100-----2100-----Closer3-----park----------999-----1)
exten => _2100,n,Hangup()

exten => _2101,1,Answer()
exten => 
_2101,n,AGI(agi-VDAD_ALL_inbound.agi,CID-----LB-----2101-----2101-----Closer3-----park----------999-----1)
exten => _2101,n,Hangup()

exten => _2102,1,Answer()
exten => 
_2102,n,AGI(agi-VDAD_ALL_inbound.agi,CID-----LB-----2102-----2102-----Closer3-----park----------999-----1)
exten => _2102,n,Hangup()

exten => i,1,Goto(s,4)
exten => t,1,Goto(s,4)



-Dan

_______________________________________________
-- 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

Reply via email to