Re: [Asterisk-Users] talking clock
On Wed, 4 Feb 2004, John Todd wrote: At 11:50 PM + 2/4/04, Dan Tucny wrote: ; ; Talking clock (123) ; exten = 123,1,SayUnixTime(|GB|HM 'vm-and' S 'digits/seconds') exten = 123,2,Wait(1) exten = 123,3,Goto(1) the seconds sound can be picked up from John Todd's site, http://www.loligo.com/asterisk/ Dan [snip] The file seconds.gsm is also in asterisk-sounds, which along with many other interesting and amusing clips can be pulled from the CVS server just like asterisk, zaptel, etc. Kudos to whomever requested All your base are belong to us and We're off gambling and getting drunk. ;) -- Vice President of N2Net, a New Age Consulting Service, Inc. Company http://www.n2net.net Where everything clicks into place! KP-216-121-ST ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] talking clock
yOn Thu, 5 Feb 2004, Deepakumar JV wrote: Thanks to everyone. I got the talking clock working the way i wanted. thanks again Deepak How about a followup post showing exactly what your extensions.conf entries look like, and what you had to go to get it twekaed to your satisfaction? - Original Message - From: John Todd [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 05, 2004 03:20 AM Subject: Re: [Asterisk-Users] talking clock At 11:50 PM + 2/4/04, Dan Tucny wrote: ; ; Talking clock (123) ; exten = 123,1,SayUnixTime(|GB|HM 'vm-and' S 'digits/seconds') exten = 123,2,Wait(1) exten = 123,3,Goto(1) the seconds sound can be picked up from John Todd's site, http://www.loligo.com/asterisk/ Dan [snip] The file seconds.gsm is also in asterisk-sounds, which along with many other interesting and amusing clips can be pulled from the CVS server just like asterisk, zaptel, etc. JT ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Vice President of N2Net, a New Age Consulting Service, Inc. Company http://www.n2net.net Where everything clicks into place! KP-216-121-ST ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] talking clock
How about a followup post showing exactly what your extensions.conf entries look like, and what you had to go to get it twekaed to your satisfaction? Here is the working extension.conf i came up with [time] exten = 5559,1,Answer() exten = 5559,2,Playback(time) exten = 5559,3,SayUnixTime(||IM) exten = 5559,4,SetVar(TIME1=${DATETIME}) exten = 5559,5,SubString,TIME2=${TIME1}|-2|2 exten = 5559,6,Playback(beep) exten = 5559,7,SayNumber(${TIME2}) exten = 5559,8,Playback(second) exten = 5559,9,Wait(1) exten = 5559,10,Goto(time,5559,2) but then i got to know about the S option in SayUnixTime() from Dan. THANKS DAN. exten = 5558,1,SayUnixTime(|GB|IM 'beep' S 'second') exten = 5558,2,Goto(time,5558,1) Thanks to everyone for helping me. Now i have small problem which i am trying to fix with my less programming knowledge. I get to hear the time in odd intervals, like 11:30:06 then 11:30:11 then 11:30:15 then 11:30:19 then 11:30:19 so the interval varies 4 and 5 seconds alternatively. I wanted this clock to tell the time every 10 seconds and it should be the actual system time. ie., at 11:30:20 it should execute 5558,1 and at 11:30:30 it should execute 5558,1 that way i can hear the time every 10 seconds. Regards Deepak ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] talking clock
Hello I am looking for a AGI application that can say the current time with seconds, but i don't need the day/year. Has anyone got this already? Thanks in advance Deepak
Re: [Asterisk-Users] talking clock
SayUnixTime will do that just give it the format you want. SayUnixTime([unixtime][|[timezone][|format]]) unixtime: time, in seconds since Jan 1, 1970. May be negative. defaults to now. timezone: timezone, see /usr/share/zoneinfo for a list. defaults to machine default. format: a format the time is to be said in. See voicemail.conf. defaults to ABdY 'digits/at' IMp Returns 0 or -1 on hangup. bkw On Wed, 4 Feb 2004, Deepakumar JV wrote: Hello I am looking for a AGI application that can say the current time with seconds, but i don't need the day/year. Has anyone got this already? Thanks in advance Deepak ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] talking clock
Thanks for your reply Brian. I am able to get only the hour and minute but not the seconds. I need seconds also, any suggestions? Regards Deepak - Original Message - From: Brian West [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 02:23 PM Subject: Re: [Asterisk-Users] talking clock SayUnixTime will do that just give it the format you want. SayUnixTime([unixtime][|[timezone][|format]]) unixtime: time, in seconds since Jan 1, 1970. May be negative. defaults to now. timezone: timezone, see /usr/share/zoneinfo for a list. defaults to machine default. format: a format the time is to be said in. See voicemail.conf. defaults to ABdY 'digits/at' IMp Returns 0 or -1 on hangup. bkw On Wed, 4 Feb 2004, Deepakumar JV wrote: Hello I am looking for a AGI application that can say the current time with seconds, but i don't need the day/year. Has anyone got this already? Thanks in advance Deepak ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] talking clock
Search bugs.digium.com their was a patch for seconds but I don't think it was applied yet bkw On Wed, 4 Feb 2004, Deepakumar JV wrote: Thanks for your reply Brian. I am able to get only the hour and minute but not the seconds. I need seconds also, any suggestions? Regards Deepak - Original Message - From: Brian West [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 02:23 PM Subject: Re: [Asterisk-Users] talking clock SayUnixTime will do that just give it the format you want. SayUnixTime([unixtime][|[timezone][|format]]) unixtime: time, in seconds since Jan 1, 1970. May be negative. defaults to now. timezone: timezone, see /usr/share/zoneinfo for a list. defaults to machine default. format: a format the time is to be said in. See voicemail.conf. defaults to ABdY 'digits/at' IMp Returns 0 or -1 on hangup. bkw On Wed, 4 Feb 2004, Deepakumar JV wrote: Hello I am looking for a AGI application that can say the current time with seconds, but i don't need the day/year. Has anyone got this already? Thanks in advance Deepak ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] talking clock
On Wednesday 04 February 2004 08:58, Brian West wrote: Search bugs.digium.com their was a patch for seconds but I don't think it was applied yet It was applied; it's just not part of the default. 'S' is the digit for speaking seconds. -Tilghman ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] talking clock
You can add: ; Say Current Date and Time;exten = 13,1,DateTime()exten = 13,2,Wait(1)exten = 13,3,DateTime()exten = 13,4,Hangup into exten. maybe that helps http//www.ntfs.org From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Deepakumar JV Sent: 04 February 2004 14:20 To: [EMAIL PROTECTED] Subject: [Asterisk-Users] talking clock Hello I am looking for a AGI application that can say the current time with seconds, but i don't need the day/year. Has anyone got this already? Thanks in advance Deepak
Re: [Asterisk-Users] talking clock
; ; Talking clock (123) ; exten = 123,1,SayUnixTime(|GB|HM 'vm-and' S 'digits/seconds') exten = 123,2,Wait(1) exten = 123,3,Goto(1) the seconds sound can be picked up from John Todd's site, http://www.loligo.com/asterisk/ Dan On Wed, 2004-02-04 at 14:44, Deepakumar JV wrote: Thanks for your reply Brian. I am able to get only the hour and minute but not the seconds. I need seconds also, any suggestions? Regards Deepak - Original Message - From: Brian West [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 02:23 PM Subject: Re: [Asterisk-Users] talking clock SayUnixTime will do that just give it the format you want. SayUnixTime([unixtime][|[timezone][|format]]) unixtime: time, in seconds since Jan 1, 1970. May be negative. defaults to now. timezone: timezone, see /usr/share/zoneinfo for a list. defaults to machine default. format: a format the time is to be said in. See voicemail.conf. defaults to ABdY 'digits/at' IMp Returns 0 or -1 on hangup. bkw On Wed, 4 Feb 2004, Deepakumar JV wrote: Hello I am looking for a AGI application that can say the current time with seconds, but i don't need the day/year. Has anyone got this already? Thanks in advance Deepak ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] talking clock
On Wednesday 04 February 2004 17:22, Craig Waddington wrote: You can add: ; Say Current Date and Time ; exten = 13,1,DateTime() DateTime() is deprecated. Use SayUnixTime() instead. -Tilghman ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] talking clock
At 11:50 PM + 2/4/04, Dan Tucny wrote: ; ; Talking clock (123) ; exten = 123,1,SayUnixTime(|GB|HM 'vm-and' S 'digits/seconds') exten = 123,2,Wait(1) exten = 123,3,Goto(1) the seconds sound can be picked up from John Todd's site, http://www.loligo.com/asterisk/ Dan [snip] The file seconds.gsm is also in asterisk-sounds, which along with many other interesting and amusing clips can be pulled from the CVS server just like asterisk, zaptel, etc. JT ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] talking clock
Thanks to everyone. I got the talking clock working the way i wanted. thanks again Deepak - Original Message - From: John Todd [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 05, 2004 03:20 AM Subject: Re: [Asterisk-Users] talking clock At 11:50 PM + 2/4/04, Dan Tucny wrote: ; ; Talking clock (123) ; exten = 123,1,SayUnixTime(|GB|HM 'vm-and' S 'digits/seconds') exten = 123,2,Wait(1) exten = 123,3,Goto(1) the seconds sound can be picked up from John Todd's site, http://www.loligo.com/asterisk/ Dan [snip] The file seconds.gsm is also in asterisk-sounds, which along with many other interesting and amusing clips can be pulled from the CVS server just like asterisk, zaptel, etc. JT ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users