This is the most compact I can make it just by tidying up your variables
and playbacks:
same =>
n,Set(ARRAY(minSpeech,playFile)=minutes&and,/var/lib/asterisk/sounds/en/abandon-all-hope)
same => n,Gosub(setup)
same => n,set(playFile=/tmp/reno_project-system)
same => n,Gosub(setup)
Thanks - that got me on the right track. Here's a context I made to
test things out - have a play!
If anyone can think of a more compact way of doing it, I'd be
grateful, but this seems to work for now.
Thanks again, John.
exten => 9,1,Answer()
same => n,Set(minSpeech=minutes&and)
same =
Running Asterisk 11.23.0 realtime currently, I've noticed some odd queue
behavior only starting today. We are using queues in conjunction with FOP2 to
show agent status, etc. As of today, we noticed that an agent will be on a
call but show as available.
On an inbound queue call, when an agent
+10 for Ansible.
We use that on our production.
--
Ludovic Gasc (GMLudo)
http://www.gmludo.eu/
2016-10-18 14:00 GMT+02:00 marek cervenka :
> ansible.com
>
>
> Dne 18/10/2016 v 11:46 Duncan napsal(a):
>
> Hi All
>>
>> We have about 15 different asterisk boxes around the place and on my list
>> h
Alright... How about:
exten => 100,1,NoOP()
same =>
n,Set(Duration=$[CEIL(${STAT(s,/var/lib/asterisk/moh/reno_project-system.alaw)}
/ 8000)])
same => n,NoOP(Duration is $[FLOOR(${Duration} / 60)] Minutes,
$[REMAINDER(${Duration},60)] Seconds)
same => n,Hangup()
On Tue, Oct 18, 2016
I can get the size of a ulaw file using STAT.
And I can get the duration in seconds by doing filesize/8000.
Your tea-break challenge is to help me find the shortest most
Asterisk-like way of saying:
"The following file is [ minutes and] seconds long".
...without referring to external applicatio
ansible.com
Dne 18/10/2016 v 11:46 Duncan napsal(a):
Hi All
We have about 15 different asterisk boxes around the place and on my
list has been automate deployment updates and keep a revision history.
They are mostly not publicly accessible, and external SIP access is
closely firewalled , so
I'm going to go ahead and file a bug report, 'cos something definitely
ain't right here! Bug filed:
https://issues.asterisk.org/jira/browse/ASTERISK-26481
This bit of dialplan.
exten => 5,1,Verbose(Context: ${CONTEXT} Exten:${EXTEN})
same => n,Set(featurefile=/home/test/feature-1.txt)
Hi All
We have about 15 different asterisk boxes around the place and on my
list has been automate deployment updates and keep a revision history.
They are mostly not publicly accessible, and external SIP access is
closely firewalled , so updates happen straight away when its something
like h
On Thu, Oct 13, 2016 at 06:40:05PM +0200, christopher kamutumwa wrote:
> hello,
>
> i recently purchased a Wildcard AEX800 digium card. Ive installed
> asterisk 13 and all prerequistses on ubuntu serv14.04 LTS. Dahi is the
> driver am using; ive configured all but when i call from PSTN through
> f
10 matches
Mail list logo