convert to mp3 instead of GSM

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

convert to mp3 instead of GSM

Postby viciflash » Thu Mar 24, 2011 12:50 am

i noticed that all recordings are saved in WAV format and converte to and move to GSM dir.

is this the crontab entry that converts to GSM?

1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58 * * * * /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --GSM

if i change it to "--MP3" will this make it MP3 and store it in MP3 dir.?

1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58 * * * * /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --MP3


using GoAutoDial 2.0 | Asterisk 1.4.27.1-1 | Vicidial 2.2.1 | Single server | No telephony card
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby williamconley » Thu Mar 24, 2011 7:36 am

chicken. 8)

Give it a shot. You can also (if you are nervous about such things) execute the file manually with --help as a switch to find the basic commands.

Code: Select all
perl /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --help


or with --debugX to SEE what is happening 8)

Code: Select all
perl /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --MP3 --debugX

Test it out, nano the file to see the internal notes:

Code: Select all
nano /usr/share/astguiclient/AST_CRON_audio_2_compress.pl
It's linux, experiment and read :)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby viciflash » Thu Mar 24, 2011 9:00 am

sorry i dont know how to run perl script. i just learned it today after reading your post...

#perl /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --help

it requires 'perl' prior the script...

now i get it. thanks.
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby williamconley » Thu Mar 24, 2011 2:52 pm

that's why i posted it with the "chicken" comment. i didn't really believe you were 8).

if noone tells you how to do this stuff ... it can be difficult to learn. linux is NOT simple, but it is cool. i was lucky, i started in DOS2.0 ... in a universe far away.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 31 guests