search for: hold2

Displaying 3 results from an estimated 3 matches for "hold2".

Did you mean: hold
2018 May 25
4
options other than regex
...ied making big.mark a decimal, but that fails, since it confuses 'prettyNum'. OK, so I try a 2-step approach x <- '10110111' hold <- prettyNum(as.numeric(x), big.mark = "x", big.interval = 1, ??????? format = "d", flag = "00", width = nchar(x)) hold2 <- (gsub("x",".",hold)) print(hold2) Seems to work, but...doesn't work (at least, based on what I tried) if the first character(s) in the string are 0's. [Whereas the regex approach handles this just fine...] x <- '0010110111' hold <- prettyNum(as.n...
2018 May 25
0
options other than regex
...l, but that fails, since it confuses 'prettyNum'. > OK, so I try a 2-step approach > > x <- '10110111' > hold <- prettyNum(as.numeric(x), big.mark = "x", big.interval = 1, > format = "d", flag = "00", width = nchar(x)) > hold2 <- (gsub("x",".",hold)) > print(hold2) > > Seems to work, but...doesn't work (at least, based on what I tried) if the first > character(s) in the string are 0's. [Whereas the regex approach handles this just > fine...] > > > x <- '001011...
2003 May 07
1
Music not on hold
...layer app to work out fine, but when I run the MusicOnHold all i get is siliece. I can see that Asterisk executes mpg123 properly (I think) #ps axuww|grep mp gk 4383 0.0 0.4 3736 552 pts/4 S 15:06 0:00 /usr/bin/mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 sample-hold.mp3 sample-hold2.mp3 # ls -l /proc/4382/ total 0 -r--r--r-- 1 gk gk 0 May 7 16:05 cmdline lrwxrwxrwx 1 gk gk 0 May 7 16:05 cwd -> /var/lib/asterisk/mohmp3