[asterisk-users] Fwd: Gotoiftime help

2008-01-01 Thread troxlinux
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)
exten = 110,1,Answer()
exten = 110,2,Background(introm)
exten = 110,3,Dial(SIP/111,16,Tt)
exten = 110,4,hangup

thank , good example ...

greetingsss



-- Forwarded message --
From: Doug Lytle [EMAIL PROTECTED]
I've just tested a simple include.  It worked fine.

My simple test:

[sip-utilities]

include = test1|16:50-16:55|mon-sat|*|*
include = test2|16:56-16:59|mon-sat|*|*

[test1]

exten = 15,1,Dial(IAX2/asterisk.cw:[EMAIL PROTECTED]/5700,,t)

[test2]

exten = 15,1,Dial(IAX2/asterisk.cw:[EMAIL PROTECTED]/4180,,t)


Doug

--
Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little
Temporary Safety, deserve neither Liberty nor Safety.



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

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

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

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


Re: [asterisk-users] Fwd: Gotoiftime help

2008-01-01 Thread Tilghman Lesher
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

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

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