Displaying 20 results from an estimated 47 matches for "sayunixtime".
2005 Sep 22
1
SayUnixTime in CVS?
...n anyone tell me what I missed? I'm trying to setup a simple extension
(400) that reports the time when it is dialed. I searched the threads and it
seems like this should work...
Here's what's in my extensions.conf:
exten => 400,1,Answer()
exten => 400,n,Wait,1
exten => 400,n,SayUnixTime(,EST5EDT,)
exten => 400,n,Playback(tt-weasels)
[BTW, tt-weasels is hillarious! ;-) Props to whoever made that. ]
When I call the extension, it answers and immediately falls through to
tt-weasels, which I hear fine. It's like SayUnixTime gets jumped over or
returns nothing (very quickly.)...
2012 Aug 14
0
SayUnixTime quandry
Hi Gang,
Hopefully somebody out there has a "doh" for this one. My
dialplan announces the date and time using SayUnixTime. When I run this:
exten => 36225,1,Set(ABA=999999999)
exten => 36225,n,Background(telbank/${ABA}/${CHANNEL(language)}/thetimeis)
exten => 36225,n,sayunixtime(,,Abe 'digits/at' IMP)
I get this CLI output
-- Executing [36225 at default:1] Set("SIP/sipuser-00000001&q...
2004 Dec 17
0
SayUnixTime
If I use SayUnixTime to an extension, it will tell me the CORRECT time:
extension =>698,1,SayUnixTime
If I use the same in the wakeup-agi, it tells me the time 14 hours in
the future:
$agi->exec('SayUnixTime', sprintf("%s||IMp", UnixDate($time, "%s")));
Where is the difference? I...
2004 Aug 12
2
Interruptable SayUnixTime
I'd like to announce the time when people call and hit my voice-menu
context, but the complaint is that the time announcement isn't
interruptable. Is there any way to make SayUnixTime interruptable?
-- PhoneBoy
2005 May 25
0
May Twenty Fifth SayUnixTime
I'm trying to get SayUnixTime to parse the date correctly and say 'May
Twenty Fifth', however it refuses to do so and keeps using the phrase 'May
Twenty Five'. I've read all the syntax, tried using both 'd' and 'e', and in
the doc it says:
d or enumeric day of monthfirst, second, ..., th...
2004 Jun 12
1
'background' problem
I have a 'day' and a 'night' mode. In the day mode, I play a
'background' message which is interruptable by the pushing of a DTMF key
- ie - all is normal.
In night mode - I decided to get smarter...
I play two backgrounds with a 'sayunixtime' in between and now DTMF does
nothing - the menu times out to my 'lets get the operator then'...
If I change the three commands to a single 'playback' - everything works
as expected.
Is this because 'sayunixtime' breaks things?
Should I use something else instead of th...
2015 Jun 14
4
German sounds on Asterisk
...uot;-commands...
I installed the sounds-files and I tried them with
"Playback(de/demo-echodone)" and it works.
Now I tried to add an extension to say the current time:
exten => 24,1,Verbose(2,Time asked by ${CALLERID(num)})
Exten => 24,n,Set(CHANNEL(language)=de)
Exten => 24,n,SayUnixTime()
Exten => 24,n,Hangup
But if I call the "24", it says the time in English...
On the CLI I see:
-- Executing [24 at default:2] Set("SIP/00493511111111-00000003", "CHANNEL(language)=de") in new stack
-- Executing [24 at default:3] SayUnixTime("SIP/0049...
2004 Jun 24
0
-- Serious issues with current CVS?
...LINUX_VERSION_CODE <= KERNEL_VERSION(2,4,20)
#define CONFIG_OLD_HDLC_API
#else
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,3)
#define HDLC_MAINTAINERS_ARE_MORE_STUPID_THAN_I_THOUGHT
#endif
#endif
#endif
#ifdef CONFIG_PPP
#define CONFIG_ZAPATA_PPP
#endif
*/
They also seem to have broken the SayUnixTime app - it can't cope with a
'digits/at' bit in the middle of the string any more.
I have had to change
exten => 123,1,SayUnixTime(||AdBY 'digits/at' IM)
to
exten => 123,1,SayUnixTime(||AdBY)
exten => 123,2,Playback(digits/at)
exten => 123,3,SayUnixTime(||IM)
Peter...
2004 Jun 20
7
Date Time Stamp with Caller ID
Where does the date/time stamp from Caller ID come from? On my extensions
ATA188 and IAX2 soft phone the caller id date / time is 12/30 12:00AM. The
Linux time is correct. SayUnixTime return the correct time.
Any Ideas? Does this work?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040620/8bd5bdb7/attachment.htm
2005 Jul 11
2
h323 and asterisk
We come into this section of the dialplan:
exten => 88670333333,1,Wait(1)
exten => 88670333333,n,SayUnixTime
exten => 88670333333,n,NoOp(If you know the extension ...)
exten => 88670333333,n,Dial(${PHONE_6003})
The caller from the GK hears only ringing, not the time.
The extension 6003 rings and I can pick up, but without any voice nor video.
athome*CLI>
-- Executing Wait("H323/GVSC87...
2007 Dec 05
5
New feature: calling all bug marshals
...into the documentation or extensions.conf is:
[popcorn]
exten => s,1,Answer()
; the amount of delay is set for English; you may need to adjust this time
; for other languages is there's no pause before the synchronizing beep.
exten => s,n,Set(FUTURETIME=$[${EPOCH} + 11])
exten => s,n,SayUnixTime(${FUTURETIME},Zulu,HNS)
exten => s,n,SayPhonetic(z)
exten => s,n,SayUnixTime(${FUTURETIME},,HNS)
exten => s,n,Playback(local)
exten => s,n,WaitUntil(${FUTURETIME})
exten => s,n,Playback(beep)
exten => s,n,Return()
I invoke it as:
exten => 712,1,Gosub(popcorn,s,1)
exten =>...
2015 Jun 14
0
German sounds on Asterisk
...sounds-files and I tried them with
> "Playback(de/demo-echodone)" and it works.
>
> Now I tried to add an extension to say the current time:
>
> exten => 24,1,Verbose(2,Time asked by ${CALLERID(num)})
> Exten => 24,n,Set(CHANNEL(language)=de)
> Exten => 24,n,SayUnixTime()
> Exten => 24,n,Hangup
>
> But if I call the "24", it says the time in English...
> On the CLI I see:
>
> -- Executing [24 at default:2] Set("SIP/00493511111111-00000003", "CHANNEL(language)=de") in new stack
> -- Executing [24 at de...
2005 Jul 28
0
H323 problem
...(an voice sip phone)
The caller hears only ringing.
The called party hears the ring.
Called party picks up, caller hears still the ring tone.
Called party hears nothing.
Called party hangs up, caller hears the busy tone.
extensions.conf:
exten => 88670333333,1,Wait(1)
exten => 88670333333,n,SayUnixTime
exten => 88670333333,n,NoOp(If you know the extension ...)
exten => 88670333333,n,Dial(${PHONE_6002})
sip.conf for phone 6002 has: ulaw;alaw
[Jul 29 14:40:24] -- Executing Wait("H323/GVSC8770-533f", "1") in
new stack
[Jul 29 14:40:25] -- Executing SayUnix...
2006 Jan 25
0
include from database
...100,1,VoicemailMain()
exten => 600,1,Playback(demo-echotest)
exten => 600,2,Echo()
exten => 600,3,Playback(beep)
exten => 600,4,Playback(demo-echodone)
exten => 600,5,Playback(vm-goodbye)
exten => 600,6,Hangup()
exten => 297,1,AGI(wakeup.agi)
exten => 030,1,SayUnixTime(,Mexico/General,ABd \'digits/at\' IMp)
exten => 030,2,Background(vm-goodbye)
exten => 030,3,Hangup()
exten => 031,1,SayUnixTime(,Canada/Eastern,ABd \'digits/at\' IMp)
exten => 031,2,Background(vm-goodbye)
exten => 031,3,Hangup()
[localpstn]
exten => *1...
2007 Nov 29
1
Adding new recorded phrases to the release
...Now if I could just figure out how to grab time current time as UNIX
seconds... add a small delay to it (like 5, the time it takes to
sound out the time), and then wait for that time... then play a
sychronizing tone... then I'll be all done:
[popcorn]
exten => s,1,Answer()
exten => s,n,SayUnixTime(,Zulu,HNS)
exten => s,n,SayPhonetic(z)
exten => s,n,SayUnixTime(,,HNS)
exten => s,n,Playback(vm-localtime)
exten => s,n,Return()
2010 Jan 11
0
Custom date formats with new mode say.conf?
I have Asterisk 1.6.2 running on CentOS 5.4. I would like to use
mode=new in say.conf but when I do, SayUnixTime doesn't play any sounds.
i.e., SayUnixTime(,CST,ABd 'digits/at' IMp) says the date / time as
expected with mode=old, but changing to mode=new causes that to do
nothing at all.
Is there something else I need to change to make date formats other than
the default work properly?
--
Mu...
2007 Dec 05
2
New feature: calling all bug marshals
...ons.conf is:
>
> [popcorn]
> exten => s,1,Answer()
> ; the amount of delay is set for English; you may need to adjust this time
> ; for other languages is there's no pause before the synchronizing beep.
> exten => s,n,Set(FUTURETIME=$[${EPOCH} + 11])
> exten => s,n,SayUnixTime(${FUTURETIME},Zulu,HNS)
> exten => s,n,SayPhonetic(z)
> exten => s,n,SayUnixTime(${FUTURETIME},,HNS)
> exten => s,n,Playback(local)
> exten => s,n,WaitUntil(${FUTURETIME})
> exten => s,n,Playback(beep)
> exten => s,n,Return()
>
>
> I invoke it as:
>
&...
2008 Nov 27
2
Wellgate & Asterisk
...= no
registeriax = no
hassip = yes
registersip = yes
trunkstyle = voip
hasexten = no
host = dynamic
disallow = all
allow = ulaw,alaw,gsm,g726,g729
extensions.conf
1002 = SIP/1002
...
[DID_1002]
exten => _88621002,1,NoOp(${CALLERID(num)})
exten => _88621002,n,Wait(1)
exten => _88621002,n,SayUnixTime
include = DID_1001_timeinterval_working day|${timeinterval_working day}
include = DID_1001_default
[DID_1001_default]
exten => s,1,NoOp,${CALLERID(num)}-${CALLERID(name)}
exten => s,n,Answer
exten => s,n,zapateller(nocallerid) ; torture telemarketers
exten => s,n,DigitTimeout,5...
2011 May 30
1
ControlPlayback's options
Hi List,
Asterisk 's *ControlPlayback* will used for play any recorded file as an
audio player. Is it possible that we can use it for multiple forward and
rewind ?
ex:-
original: ControlPlayback(filename,skipms,ff,rew,stop,pause)
expected
ControlPlayback(filename,skip1,skip2,skip3,forward1,rewind1,forward2,rewind2,forward3,rewind3,stop,pause)
:
-----
Thanks and regards
Virendra Bhati
2015 Jul 29
3
Windows Asterisk Help
...ser=16194077214
fromdomain=69.59.234.67
;dtmfmode=inband
context=from-pstn
canreinvite=no
;auth=md5disallow=allallow=ulaw ;allow=alaw ;allow=g729 ;allow=g723
Here is my extensions.conf
[from-pstn];exten => 16194077214,1,verbose(0, hello)exten => 16194077214,1,Answer;exten => 16194077214,n,SayUnixTime()exten => 16194077214,n,Hangup
I am able to connect with Asterisk on the first try after fresh load, but not on the subsequent tries.I have to re-reload sip.conf and extensions.conf to connect with Asterisk. Looking at the logs, it seems like a registration issue. So I set minexpirty and maxex...