Moh in G729 without transcoding

Status
Not open for further replies.

Daniele

Member
Feb 1, 2017
45
0
6
43
Hi,
I'm using G729 passthrough in my FusionPBX. I've a hardware gateway supporting G729, hardware phone supporting G729.
It works but I'm in trouble with MOH. Infact now music is not in G729 format and I can't upload g729 files using the interface.

I should load g729 music so I would be able to use G729 codec for everything without any transcoding.

Is it possible in FusionPbx? Thanks
 

jsteel

New Member
Feb 9, 2017
28
3
3
54
G729 is a codec not an audio file format; an audio codec converts analog audio signals into digital signals for transmission. MOH normally exists as a .wav file on your system.
 

Daniele

Member
Feb 1, 2017
45
0
6
43
Sorry but I know in Asterisk you can provide different audio format (wav, gsm, g729). I guessed I could do that also in Fusiopbx in order to avoid FS has to transcode that. Is there a way to do that? Thanks
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,068
576
113
I don't think any method is going to help here. If you are using passthrough, thats exactly whats happening, passthrough. The PBX can play no part, at least, I think that's the case anyway.
 

Daniele

Member
Feb 1, 2017
45
0
6
43
I already did that. I used this service online (http://g711.org/) to convert the audio file, enabled the mod_native_file but when I arrive to the moh fs says

Code:
60dad983-3f1d-460e-a35e-a6fb7d4c40be 2017-06-30 19:43:38.622832 [ERR] switch_core_io.c:859 Codec G.729 encoder error!
2017-06-30 19:43:38.622832 [ERR] mod_g729.c:102 This codec is only usable in passthrough mode!
60dad983-3f1d-460e-a35e-a6fb7d4c40be 2017-06-30 19:43:38.602831 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@8000hz 1 channels 20ms
2017-06-30 19:43:38.602831 [DEBUG] mod_local_stream.c:871 Opening Stream [192.168.185.123/edilpitture/8000] 8000hz

I guess @DigitalDaz is right.
 
Status
Not open for further replies.