How to enable G729 transcoding

1,667 views
Skip to first unread message

David Morris

unread,
Jun 29, 2018, 9:35:46 AM6/29/18
to as...@googlegroups.com
I recently needed to enable G729 transcoding.

I used the opensource implementation and these are the steps on a new install of ASTPP 3.6:

cd /usr/src
git clone https://github.com/xadhoom/mod_bcg729.git
cd mod_bcg729
sed 's\^FS_INCLUDES.*\FS_INCLUDES=/usr/local/freeswitch/include/freeswitch\' Makefile -i
sed 's\^FS_MODULES.*\FS_MODULES=/usr/local/freeswitch/mod\' Makefile -i
make
make install

Now you should have mod_bcg729 compiled and installed in the freeswitch modules directory at /usr/local/freeswitch/mod

You can test it by running fs_cli and:
1. unload the existing G729 codec:
unload mod_g729
2. load the new codec which you just installed:
load mod_bcg729

Freeswitch should confirm with:
+OK Reloading XML
+OK

Note: Although the module is installed and you have manually started it in freeswitch, the next time freeswitch restarts then the module will not be automatically loaded.
To add the module to automatic loading:
edit /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml and change mod_g729 to mod_bcg729

Intel Networks

unread,
Jun 29, 2018, 9:42:43 AM6/29/18
to as...@googlegroups.com
I'll try this on my other ASTPP server to see how it goes. 
I only use passtru codec.

Kamilio is a very robust back end engine - i am trying to make it work with astpp.

Virus-free. www.avg.com

On Fri, Jun 29, 2018 at 9:35 AM, David Morris <da...@david-morris.co.uk> wrote:
I recently needed to enable G729 transcoding.

I used the opensource implementation and these are the steps on a new install of ASTPP 3.6:

cd mod_bcg_729
sed 's\^FS_INCLUDES.*\FS_INCLUDES=/usr/local/freeswitch/include/freeswitch\' Makefile -i
sed 's\^FS_MODULES.*\FS_MODULES=/usr/local/freeswitch/mod\' Makefile -i
make
make install

Now you should have mod_bcg729 compiled and installed in the freeswitch modules directory at /usr/local/freeswitch/mod

You can test it by running fs_cli and:
1. unload the existing G729 codec:
unload mod_g729
2. load the new codec which you just installed:
load mod_bcg729

Freeswitch should confirm with:
+OK Reloading XML
+OK

Note: Although the module is installed and you have manually started it in freeswitch, the next time freeswitch restarts then the module will not be automatically loaded.
To add the module to automatic loading:
edit /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml and change mod_g729 to mod_bcg729

--
=====================================================================
Documentation : https://astpp.readthedocs.io/
Please contact at sa...@inextrix.com for commercial support.
---
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+unsubscribe@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
Visit this group at https://groups.google.com/group/astpp.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/a0c7190e-f4fd-44cd-900e-6d1ed3a5f2b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

rgazetta

unread,
Jun 29, 2018, 10:05:03 AM6/29/18
to ASTPP
I have executed the commands, but when I make a call between accounts where one of them is configured only in G729, I get this;

INCOMPATIBLE_DESTINATION [88]
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+un...@googlegroups.com.
Message has been deleted

Devang Nathwani

unread,
Jul 2, 2018, 3:36:30 AM7/2/18
to as...@googlegroups.com
Hello,

Add mod_bcg729 in /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml
That will load the module with freeswitch.

To unsubscribe from this group and stop receiving emails from it, send an email to astpp+unsubscribe@googlegroups.com.

To post to this group, send email to as...@googlegroups.com.
Visit this group at https://groups.google.com/group/astpp.

For more options, visit https://groups.google.com/d/optout.



--
Thanks,
Devang Nathwani

Disclaimer:
The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking action in reliance of the contents of this information is strictly prohibited and may be unlawful. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.

max

unread,
Dec 2, 2019, 5:15:33 AM12/2/19
to ASTPP
Hi David
Please how would one achieve same on ASTPP v4.0 ?

Seems like the FS_INCLUDES and FS_MODULES directories have changed.

Vahag

unread,
May 1, 2020, 2:06:50 AM5/1/20
to ASTPP
Dear All,

Ive instal ASTPP and have issue with G729 codec. trying all your suggestions but when i made call with G729 codec its failed only passing G711 codec can you help me to fix that?

Kavin Chauhan

unread,
May 1, 2020, 2:16:57 AM5/1/20
to ASTPP
Please share your fs log.

Thanks & Regards,
Kavin Chauhan
Sr. Network and VoIP Engineer.


--
=====================================================================
Documentation: https://docs.astppbilling.org/display/itplmars/ASTPP

Please contact at sa...@inextrix.com for commercial support.
---
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+un...@googlegroups.com.

Vahag

unread,
May 1, 2020, 2:39:10 AM5/1/20
to ASTPP

log.png



On Friday, May 1, 2020 at 10:16:57 AM UTC+4, Kavin Chauhan wrote:
Please share your fs log.

Thanks & Regards,
Kavin Chauhan
Sr. Network and VoIP Engineer.


To unsubscribe from this group and stop receiving emails from it, send an email to as...@googlegroups.com.

Vahag

unread,
May 5, 2020, 3:50:43 AM5/5/20
to ASTPP
Anyone can assist me?

Laszlo

unread,
May 5, 2020, 3:57:33 AM5/5/20
to ASTPP

ASTPP

unread,
Oct 19, 2020, 11:28:43 AM10/19/20
to ASTPP
did you find new location of folders?
FS_INCLUDES
FS_MODULES

понедельник, 2 декабря 2019 г. в 12:15:33 UTC+2, max:

Reagan Kizanga

unread,
Oct 23, 2020, 7:16:27 AM10/23/20
to ASTPP
Good afternoon Community Group.
I am just following to find  How to enable G729 transcoding on ASTTP 4.0.1.

I think this question was once asked by Max but I see no reply. 

Kind regards
Reagan 

Евгений Жевак

unread,
Oct 23, 2020, 7:29:45 AM10/23/20
to as...@googlegroups.com
I am also interested in this question!

23 окт. 2020 г., в 14:16, Reagan Kizanga <rkiz...@gmail.com> написал(а):


--
=====================================================================
Documentation: https://docs.astppbilling.org/display/itplmars/ASTPP
Please contact at sa...@inextrix.com for commercial support.
---
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/CALLnczE-Y0BfwRcbnrdq1Xrkq6WdwhnCyET-X%2BUFQ80u0m%2B5_w%40mail.gmail.com.

itadebayo

unread,
Oct 23, 2020, 8:07:59 AM10/23/20
to as...@googlegroups.com
1. The default g729 is passthrough. Just enable it in the module config. 

2. If you want transcoding you need to buy the g729 license from freeswitch. It comes with installation instruction. 

3. You can use the bcg729. Install the binary in the module folder and enable in the module config. 

Thanks 



Sent from my Samsung Galaxy smartphone.

Ashok

unread,
Oct 23, 2020, 8:58:10 AM10/23/20
to as...@googlegroups.com
cd /usr/src
git clone https://github.com/xadhoom/mod_bcg729.git
cd mod_bcg729
sed 's\^FS_INCLUDES.*\FS_INCLUDES=/usr/local/freeswitch/include/freeswitch\' Makefile -i
sed 's\^FS_MODULES.*\FS_MODULES=/usr/local/freeswitch/mod\' Makefile -i
make
make install

Now you should have mod_bcg729 compiled and installed in the freeswitch modules directory at /usr/local/freeswitch/mod

You can test it by running fs_cli and:
1. unload the existing G729 codec:
unload mod_g729
2. load the new codec which you just installed:
load mod_bcg729

Freeswitch should confirm with:
+OK Reloading XML
+OK

Note: Although the module is installed and you have manually started it in freeswitch, the next time freeswitch restarts then the module will not be automatically loaded.
To add the module to automatic loading:
edit /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml and change mod_g729 to mod_bcg729

based on this g729 cannot working ,
calls failing and sound issue, calls droping using g729

Thanks & Regards
Ashok

--

ASHOK

unread,
Oct 23, 2020, 8:58:10 AM10/23/20
to as...@googlegroups.com
cd /usr/src
git clone https://github.com/xadhoom/mod_bcg729.git
cd mod_bcg729
sed 's\^FS_INCLUDES.*\FS_INCLUDES=/usr/local/freeswitch/include/freeswitch\' Makefile -i
sed 's\^FS_MODULES.*\FS_MODULES=/usr/local/freeswitch/mod\' Makefile -i
make
make install

Now you should have mod_bcg729 compiled and installed in the freeswitch modules directory at /usr/local/freeswitch/mod

You can test it by running fs_cli and:
1. unload the existing G729 codec:
unload mod_g729
2. load the new codec which you just installed:
load mod_bcg729

Freeswitch should confirm with:
+OK Reloading XML
+OK

Note: Although the module is installed and you have manually started it in freeswitch, the next time freeswitch restarts then the module will not be automatically loaded.
To add the module to automatic loading:
edit /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml and change mod_g729 to mod_bcg729

based on this g729 cannot working ,
calls failing and sound issue, calls droping using g729

Thanks & Regards
Ashok

On Fri, Oct 23, 2020, 4:46 PM Reagan Kizanga <rkiz...@gmail.com> wrote:
--

ASTPP

unread,
Oct 23, 2020, 9:53:35 AM10/23/20
to ASTPP
Maybe you have instructions on how to install and configure the bcg729?

пятница, 23 октября 2020 г. в 15:07:59 UTC+3, Akeko:

ASTPP

unread,
Oct 23, 2020, 10:07:45 AM10/23/20
to ASTPP
please follow the link can work all.


please follow this above link, u can include below codec as per above link.

<!-- Codec Interfaces -->
<load module="mod_spandsp"/>
<load module=:mod_g723_1"/>
<load module="mod_bcg729"/>
<load module="mod_amr"/>
<!--<load module="mod_ilbc"/>-->
<!--<load module="mod_h26x"/>-->
<load module="mod_b64"/>
<!--<load module="mod_siren"/>-->
<!--<load module="mod_isac"/>-->
<load module=:mod_opus"/>


after complete above all, then go to ur astpp switch 3.6 or 4.1 ,login you can find trunks u can G729 mandotry like shared image.

every time you can add with different suppliers. so it will work, otherwise cannt work.
i faced many times , i followed this way without issue can work all .

codec.PNG

ASTPP

unread,
Oct 28, 2020, 5:06:27 PM10/28/20
to ASTPP
 hello  how are you all group member iam mannan from bangladesh iam no understand projets iam new man this platform please you help me and compose 1 projet only for me used and anstalling astpp free billing for life time me try this 13days but not understand and  too much agry please help me any group member give 1projets and confegaration astpp all fuicecr me only installion ceontos7 please help me please help me thanks for you all group member me watting reply any body 


PLEASE HELP ME PLEASE HELP ME 
Reply all
Reply to author
Forward
0 new messages