Re: [asterisk-users] Wildcard AEX800 digium card asterisk configuration

2016-10-18 Thread Tzafrir Cohen
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

[asterisk-users] Configuration management and update deployment - what do you use?

2016-10-18 Thread Duncan
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

Re: [asterisk-users] Multiple readfile oddities, newlines etc

2016-10-18 Thread Jonathan H
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)

Re: [asterisk-users] Configuration management and update deployment - what do you use?

2016-10-18 Thread 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 has been automate deployment updates and keep a revision history. They are mostly not publicly accessible, and external SIP access is closely firewalled , so

[asterisk-users] Say duration of alaw file?

2016-10-18 Thread Jonathan H
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

Re: [asterisk-users] Say duration of alaw file?

2016-10-18 Thread John Kiniston
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

Re: [asterisk-users] Configuration management and update deployment - what do you use?

2016-10-18 Thread Ludovic Gasc
+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

[asterisk-users] queue show - extensions in call going from (in use) to (not in use)

2016-10-18 Thread Derek Bolichowski
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

Re: [asterisk-users] Say duration of alaw file?

2016-10-18 Thread Jonathan H
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 =

Re: [asterisk-users] Say duration of alaw file?

2016-10-18 Thread John Kiniston
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)