Asterisk g729 codec for the OpenWRT

866 views
Skip to first unread message

Samorukov,Alexey

unread,
Sep 24, 2014, 6:39:31 AM9/24/14
to asteri...@googlegroups.com
Hi,

I added makefiles to build asterisk g729 codec and bcg729 library on the OpenWRT based devices. Patch is available in the OpenWRT ticket [1] and hopefully will be added to the official “telephony” feed soon.

[1] https://dev.openwrt.org/ticket/17962

Arkadi Shishlov

unread,
Sep 24, 2014, 6:41:43 AM9/24/14
to asteri...@googlegroups.com
Great! Nice work!

voip...@gmail.com

unread,
Nov 4, 2015, 1:43:38 PM11/4/15
to Asterisk G.729

Hi,

I am trying to get this patch and apply into my openwrt. 

But i am very new and do not know how to get this.

Can you help me to get this codec for my router ? I am using TP-LINK MR3420 V2.

Thank you in advance.
Thanh

Samorukov,Alexey

unread,
Nov 4, 2015, 4:14:06 PM11/4/15
to asteri...@googlegroups.com
>
> I am trying to get this patch and apply into my openwrt.
>
> But i am very new and do not know how to get this.
>
> Can you help me to get this codec for my router ? I am using TP-LINK MR3420 V2.
>
Hi, patch is already in the OpenWRT telephony feed, so just use it.

voip...@gmail.com

unread,
Nov 4, 2015, 8:43:41 PM11/4/15
to Asterisk G.729
Hi Alex,

Thank you for your information. I have tried with telephony feed but i cant find the codec_g729 for asterisk 11 or asterisk 1.8.

This is attach when i access to telephony menu:


Can you suggest ?

Thanks,
Thanhtruong

vtec...@gmail.com

unread,
Feb 17, 2016, 6:25:27 PM2/17/16
to Asterisk G.729
hi
 i am newbie in openwrt. i want to add support for g729 codec in asterisk11 or asterisk18. i have searched through internet. do get MAKEFILE but i dont know what to do with that. i did check out the attach files bcg729 etc but i dont know how to make them or compile them

make bcg729
env: can't execute 'bash': No such file or directory
env: can't execute 'bash': No such file or directory
env: can't execute 'bash': No such file or directory
env: can't execute 'bash': No such file or directory
env: can't execute 'bash': No such file or directory
env: can't execute 'bash': No such file or directory
env: can't execute 'bash': No such file or directory
env: can't execute 'bash': No such file or directory
make: *** [prepare-package-install] Error 127

above is the output of make bcg729

 If anyone can get me step by step instruction that will be great.

Thanks

vtec...@gmail.com

unread,
Feb 17, 2016, 6:25:36 PM2/17/16
to Asterisk G.729
hi
 i am newbie in openwrt. i want to add support for g729 codec in asterisk11 or asterisk18. i have searched through internet. do get MAKEFILE but i dont know what to do with that. i did check out the attach files bcg729 etc but i dont know how to make them or compile them

make bcg729
env: can't execute 'bash': No such file or directory
env: can't execute 'bash': No such file or directory
env: can't execute 'bash': No such file or directory
env: can't execute 'bash': No such file or directory
env: can't execute 'bash': No such file or directory
env: can't execute 'bash': No such file or directory
env: can't execute 'bash': No such file or directory
env: can't execute 'bash': No such file or directory
make: *** [prepare-package-install] Error 127

above is the output of make bcg729

 If anyone can get me step by step instruction that will be great.

Thanks

On Wednesday, September 24, 2014 at 3:39:31 PM UTC+5, Alex Samorukov wrote:

Voipmanvn

unread,
Feb 17, 2016, 8:31:26 PM2/17/16
to asteri...@googlegroups.com
You need to build that lib from openwrt source code.

Thanks,
Thanh Truong
402 HVB, PND, HCMC, VN






--
You received this message because you are subscribed to a topic in the Google Groups "Asterisk G.729" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/asterisk-g729/46S2BMuP490/unsubscribe.
To unsubscribe from this group and all its topics, send an email to asterisk-g72...@googlegroups.com.
To post to this group, send email to asteri...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/asterisk-g729/ee9c5013-81ef-4317-a43a-ae6bfc17ae63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

vtec comm

unread,
Feb 17, 2016, 8:39:44 PM2/17/16
to asteri...@googlegroups.com
hi 
 how to build that lib from openwrt-code
thanks
 

Voipmanvn

unread,
Feb 17, 2016, 8:43:10 PM2/17/16
to asteri...@googlegroups.com
You get the source code of openwrt(version 15 or dev version).

do the following step to build

in make menuconfig, select asterisk 11 or asterisk18, select that lib. After that, you will have that lib.ipk. you can install that lib with your openwrt firmware.
 

vtec support

unread,
Feb 17, 2016, 8:45:37 PM2/17/16
to asteri...@googlegroups.com
hi 

 can u plz send me your Skype id if u don’t mind .

thanks

Voipmanvn

unread,
Feb 17, 2016, 8:46:19 PM2/17/16
to asteri...@googlegroups.com
okay,

voipmanvn

vtec...@gmail.com

unread,
May 7, 2016, 5:18:56 AM5/7/16
to Asterisk G.729, voip...@gmail.com

i am looking for some help. i have been stuck from few weeks. i am trying to install asterisk any version with codec_g729 support. 


TL-WR1043ND v1
OpenWrt Chaos Calmer 15.05.1 / LuCI 15.05-149-g0d8bbd2 Release (git-15.363.78009-956be55)


root@OpenWrt:~# opkg install asterisk18


root@OpenWrt:~# asterisk -r

Asterisk 1.8.32.3, Copyright (C) 1999 - 2013 Digium, Inc. and others.

Created by Mark Spencer <mark...@digium.com>

Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.

This is free software, with components licensed under the GNU General Public

License version 2 and other licenses; you are welcome to redistribute it under

certain conditions. Type 'core show license' for details.

=========================================================================

Connected to Asterisk 1.8.32.3 currently running on OpenWrt (pid = 5185)

OpenWrt*CLI>



Now i am gona install g729.


root@OpenWrt:~# opkg install asterisk18-codec-g729

Installing asterisk18-codec-g729 (1.3-1) to root...

Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/telephony/asterisk18-codec-g729_1.3-1_ar71xx.ipk.

Installing bcg729 (1.0.0-1) to root...

Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/telephony/bcg729_1.0.0-1_ar71xx.ipk.

Configuring bcg729.

Configuring asterisk18-codec-g729.


root@OpenWrt:~# /etc/init.d/asterisk restart

Privilege escalation protection disabled!

See https://wiki.asterisk.org/wiki/x/1gKfAQ for more details.

root@OpenWrt:~# asterisk -r

Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)

root@OpenWrt:~# asterisk -&

root@OpenWrt:~# Privilege escalation protection disabled!

See https://wiki.asterisk.org/wiki/x/1gKfAQ for more details.


[1]+  Done                       asterisk -

root@OpenWrt:~# asterisk -r

Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)

root@OpenWrt:~# 


opkg list_installed | grep asterisk

asterisk18 - 1.8.32.3-4

asterisk18-codec-g729 - 1.3-1

root@OpenWrt:~# /etc/init.d/asterisk enable

root@OpenWrt:~# /etc/init.d/asterisk restart

Privilege escalation protection disabled!

See https://wiki.asterisk.org/wiki/x/1gKfAQ for more details.

root@OpenWrt:~# asterisk -cccv

Privilege escalation protection disabled!

See https://wiki.asterisk.org/wiki/x/1gKfAQ for more details.

Asterisk 1.8.32.3, Copyright (C) 1999 - 2013 Digium, Inc. and others.

Created by Mark Spencer <mark...@digium.com>

Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.

This is free software, with components licensed under the GNU General Public

License version 2 and other licenses; you are welcome to redistribute it under

certain conditions. Type 'core show license' for details.

=========================================================================

 Asterisk Dynamic Loader Starting:

 Asterisk PBX Core Initializing

 Registering builtin applications:

 [Answer]

 [BackGround]

 [Busy]

 [Congestion]

 [ExecIfTime]

 [Goto]

 [GotoIf]

 [GotoIfTime]

 [ImportVar]

 [Hangup]

 [Incomplete]

 [NoOp]

 [Proceeding]

 [Progress]

 [RaiseException]

 [ResetCDR]

 [Ringing]

 [SayAlpha]

 [SayDigits]

 [SayNumber]

 [SayPhonetic]

 [Set]

 [MSet]

 [SetAMAFlags]

 [Wait]

 [WaitExten]

 Asterisk Dynamic Loader Starting:

[May  6 01:08:31] NOTICE[5449]: loader.c:1194 load_modules: 20 modules will be loaded.

[May  6 01:08:31] WARNING[5449]: loader.c:434 load_dynamic_module: Error loading module 'res_musiconhold.so': File not found

[May  6 01:08:31] WARNING[5449]: loader.c:434 load_dynamic_module: Error loading module 'res_musiconhold.so': File not found

[May  6 01:08:31] WARNING[5449]: loader.c:910 load_resource: Module 'res_musiconhold.so' could not be loaded.

[May  6 01:08:31] WARNING[5449]: loader.c:434 load_dynamic_module: Error loading module 'res_crypto': File not found

[May  6 01:08:31] WARNING[5449]: loader.c:910 load_resource: Module 'res_crypto' could not be loaded.

[May  6 01:08:31] WARNING[5449]: loader.c:434 load_dynamic_module: Error loading module 'chan_local': File not found

[May  6 01:08:31] WARNING[5449]: loader.c:910 load_resource: Module 'chan_local' could not be loaded.

 res_rtp_asterisk.so => (Asterisk RTP Stack)

 res_rtp_multicast.so => (Multicast RTP Engine)

SIP channel loading...

 chan_sip.so => (Session Initiation Protocol (SIP))

 format_wav.so => (Microsoft WAV/WAV16 format (8kHz/16kHz Signed Linear))

 format_pcm.so => (Raw/Sun uLaw/ALaw 8KHz (PCM,PCMA,AU), G.722 16Khz)

 format_wav_gsm.so => (Microsoft WAV format (Proprietary GSM))

 format_gsm.so => (Raw GSM data)

 func_callerid.so => (Party ID related dialplan functions (Caller-ID, Connected-line, Redirecting))

 pbx_config.so => (Text Extension Configuration)

Segmentation fault

root@OpenWrt:~# 

vtec...@gmail.com

unread,
May 7, 2016, 5:19:17 AM5/7/16
to Asterisk G.729, sa...@os2.kiev.ua
Reply all
Reply to author
Forward
0 new messages