[asterisk-users] Fwd: Gotoiftime help

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Tue Jan 1 22:14:08 CST 2008


On Tuesday 01 January 2008 20:40:19 troxlinux wrote:
> my final ivr is this, he works me very well
>
> exten => 110,1,GotoIfTime(08:00-18:00|mon-fri|*|*?110,in)
> exten =>110,n,Dial(SIP/111,86,Tt)
> exten =>110,n,Dial(SIP/112,86,Tt)
> exten =>110,n,Hangup()
> exten => 110,n(in),Set(TIMEOUT(digit)=2)

Uh, everything after this point is inoperable, given that you're
reusing priority numbers.  If you wanted these to actually work,
you need to change the 1,2,3,4 to n,n,n,n.  Or use a different
extension.

> exten => 110,1,Answer()
> exten => 110,2,Background(introm)
> exten => 110,3,Dial(SIP/111,16,Tt)
> exten => 110,4,hangup

-- 
Tilghman



More information about the asterisk-users mailing list