Im not mathematically gifted, but shouldnt 957%60 be 15 remainder 57?Google and my desktop calculator certainly think so.So where am I going wrong here? The following code exten => 7,1,Verbose(Context: ${CONTEXT} Exten:${EXTEN})same => n..
Author : 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….with..
Lots of little bits in one email to save polluting the list too much today, time for me to try and give a little back, too!Someone posted about sngrep a couple of days ago. What a great tool!Is there a list of useful stuff like this that isnt hopeles..
Has anyone attempted making the web phone accessible? I can only find one company which operated between 1996 and 2000.I was thinking, install Chrome with Chromevox, headless, on a server, and use something like an AGI to send basic keyboard comma..
I have a plain text file, ASCII, unix line breaks. 1 single line, and all that is in it is the word radio.Heres some test dialplan:exten => 5,1,Verbose(Context: ${CONTEXT} Exten:${EXTEN})same => n,Set(feature=${FILE(/home/test/feature-1.txt,0,1,l,u)})s..
Back to basics here. I want to match on one OR two digits. The following two both work, but ONLY for more than one digit, which is not as expected from the docs (see below). exten => _X.,1,SayNumber(${EXTEN}) exten => _[0-9].,1,SayNumber(${EXTEN}) T..
For reasons best known to myself, I call a python agi (PYST2 – love it!) which streams a series of very short files in quick succession.Like this:escape_digits = str(0)agi.stream_file(promptFile,escape_digits)and this is what I see on the AGI debug:..
Ive got an agi that recognises speech (via Google) and another that turns text into speech (tts) (via Microsoft Translate).Both are web APIs, both called via seperate python AGIs.Ive googled and Im probably missing something pretty newbie 101 here, ..
Heres a weirdness – I got a call from someone who couldnt get to my info line earlier, I tried it and it was busy tone.Being on a layby beside a road on a mobile on a long journey, my only real option was a remote server reboot so I couldnt diagn..
Id like multiple people to be able to dial in and listen to various live radio streams.I was told that the correct resource-friendly way would be to setup a MoH class, and then select that from the dialplan.This works well, but how do I switch betw..