QUESTION How can I record system recordings in G729?

gordon

Member
Joined
Jun 7, 2013
Messages
96
Reaction score
7
So I've gotten G729 set up and working properly. I want to make use of pass through as much as possible. How can I record my system recordings in G729 so that they don't have to be transcoded for every call? I assume this is a common procedure, but I haven't been able to figure it out. Is there a toggle in the PIAF gui?
 
There is not a GUI interface way of doing it. And when you say PIAF gui, you are most likely referencing FreePBX which is not maintained by the PBX in a Flash developers, but a completely separate group.
To convert files to G.729, do the following:

Code:
Log into your PIAF server as root via SSH or on the console.
asterisk -vr
file convert <file_in> <file_out>
 
Usage: file convert <file_in> <file_out>
Convert from file_in to file_out. If an absolute path is not given, the
default Asterisk sounds directory will be used.
 
Example:
file convert tt-weasels.gsm tt-weasels.ulaw
 
Code:
Log into your PIAF server as root via SSH or on the console.
asterisk -vr
file convert <file_in> <file_out>
 
Usage: file convert <file_in> <file_out>
Convert from file_in to file_out. If an absolute path is not given, the
default Asterisk sounds directory will be used.
 
Example:
file convert tt-weasels.gsm tt-weasels.ulaw



So is there any way to make this happen automatically when a system recording is uploaded or recorded from an extension? I would like to automatically convert recordings to the different formats I accept calls in so that I don't have to transcode on the fly. Since the recordings are static it seems this would be more efficient.

-- EDIT --
I saw there was a hook to transcode voicemails being mailed with the sendmail command (got my voicemails in mp3 now), so I figured there might be other hooks for transcoding.

-- EDIT #2 --
And I just realized this is probably a FreePBX question more-so than PIAF. I am new to the realm of PBX and I've only learned about them via PIAF. Still working out all of the different groups to follow.
 

Members online

No members online now.

Forum statistics

Threads
26,688
Messages
174,412
Members
20,259
Latest member
Fadeek86
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top