I figured out the problem with gotoiftime.. Still have the problem with the
queues though :(
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Anton Krall
Sent: Domingo, 24 de Abril de 2005 09:45 p.m.
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [Asterisk-Users] Problems with gotoiftime and cvs head
Anybody having problems with cvs head?
I gave a problem with queues and agents... I have defined joinempty=no on
queues.conf and eventhough there are no agents logged in, the call are
getting queued.
Also, I have the following statements:
exten => s,9,GotoIfTime(00:00-11:59|*|*|*?10:12)
exten => s,10,Background(${SONIDOS}/buenosdias)
exten => s,11,Goto(18)
exten => s,12,GotoIfTime(12:00-18:59|*|*|*?13:15)
exten => s,13,Background(${SONIDOS}/buenastardes)
exten => s,14,Goto(18)
exten => s,15,GotoIfTime(19:00-23:59|*|*|*?16:18)
exten => s,16,Background(${SONIDOS}/buenasnoches)
exten => s,17,Goto(18)
exten => s,18,GotoIfTime(9:00-19:00|mon-fri|*|*?20:19)
exten => s,19,Background(${SONIDOS}/horariooficinas)
exten => s,20,Background(${SONIDOS}/intruder-bienvenida)
Now its 9.30 pm and when a call comes in, the call is played the good
morning message, any ideas why?? This beats me
[root@voip asterisk]# date
Sun Apr 24 21:48:13 CDT 2005
-- Executing SetCIDName("IAX2/akralllaptop@akralllaptop-14",
"Intruder:
202") in new stack
-- Executing GotoIfTime("IAX2/akralllaptop@akralllaptop-14",
"00:00-11:59|*|*|*?10:12") in new stack
-- Executing BackGround("IAX2/akralllaptop@akralllaptop-14",
"/var/lib/asterisk/sounds/akrall/buenosdias") in new stack
-- Playing '/var/lib/asterisk/sounds/akrall/buenosdias' (language
'default')
-- Playing '/var/lib/asterisk/sounds/akrall/buenosdias' (language
'default')
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users