Displaying 5 results from an estimated 5 matches for "getdigit".
Did you mean:
getxdigit
2006 May 15
1
GET DATA and STREAM FILE commands, don´t work
...exten=>2100,2,Agi(scriptTest.bsh)
Now, below is my script in bash shell, scriptTest.bsh:
#!/bin/bash
#echo -e "Testing the working GET DATA and STREAM FILE\n" >&2
echo -e "STREAM FILE demo-instruct \"\"\n"
echo -e "GET DATA myprompt 4000 6\n"
read getDigits
echo -e "My Digits are: $getDigits\n" >&2
echo -e "HUNGUP\n"
I changed some times the path, put full path (/var/lib/asterisk/sounds) to the demo-instruct and mypromt files, but didn?t work. I entered all the command arguments, but it didn?t.
Regards,
Cleviton Araujo
B...
2006 May 17
0
RES: GET DATA and STREAM FILE commands, don´t work
...> Now, below is my script in bash shell, scriptTest.bsh:
>
> #!/bin/bash
> #echo -e "Testing the working GET DATA and STREAM FILE\n" >&2
> echo -e "STREAM FILE demo-instruct \"\"\n"
> echo -e "GET DATA myprompt 4000 6\n"
> read getDigits
> echo -e "My Digits are: $getDigits\n" >&2 echo -e "HUNGUP\n"
The first thing asterisk does once it starts an AGI process is to send various details about the caller to your script's STDIN. You need to read all that in before issuing any commands.
Add the follo...
2011 Sep 16
0
[LLVMdev] Build Failure
Builds using -Werror are failing again:
[off-dbg] : [llvm] cc1plus: warnings being treated as errors
[off-dbg] : [llvm] /ptmp/dag/llvm/official/llvm/lib/Support/APInt.cpp: In function 'unsigned int getDigit(char, uint8_t)':
[off-dbg] : [llvm] /ptmp/dag/llvm/official/llvm/lib/Support/APInt.cpp:57: error: comparison between signed and unsigned integer expressions
[off-dbg] : [llvm] /ptmp/dag/llvm/official/llvm/lib/Support/APInt.cpp:61: error: comparison between signed and unsigned integer expr...
2011 Sep 19
0
[LLVMdev] Still Build Errors
I am still seeing build errors with -Werror:
[off-dbg] : [llvm] /ptmp/dag/llvm/official/llvm/lib/Support/APInt.cpp: In function 'unsigned int getDigit(char, uint8_t)':
[off-dbg] : [llvm] /ptmp/dag/llvm/official/llvm/lib/Support/APInt.cpp:57: error: comparison between signed and unsigned integer expressions
[off-dbg] : [llvm] /ptmp/dag/llvm/official/llvm/lib/Support/APInt.cpp:61: error: comparison between signed and unsigned integer expr...
2012 Jul 07
5
number of decimal places in a number?
Dear R users,
I need a function that gets a number and returns its number of actual decimal places.
For example f(3.14) should return 2, f(3.142) should return 3, f(3.1400) should also return 2
and so on. Is such function already available in R? If not, could you give me a hint how to achieve that?
Many thanks in advance.
-----------------------------------------------------------------