how-to asterisk 13 armv7l e codec g729

Di recente ho installato asterisk 13 su un pcb con cpu armv7l, e ho provato ad installare anche il codec g729.

L’idea mi è venuta dopo aver letto questo post di Don Disperato su Voce, anche perchè era tanto che non “giocavo” con asterisk, e mi è sembrata un’ottima occasione per ricominciare 😀

Dando per scontato che abbiate già asterisk 13 installato, riassumo i passaggi che ho fatto:

sudo apt-get install dh-autoreconf
wget http://decandia.it/voip/files/bcg729-1.0.0.tar.gz
tar xzf bcg729-1.0.0.tar.gz
cd bcg729-1.0.0
./configure –libdir=/lib
make
sudo make install

wget https://bitbucket.org/arkadi/asterisk-g … e62f29.zip

unzip e2cc82e62f29.zip

cd arkadi-asterisk-g72x-e2cc82e62f29

editiamo il file configure.ac

nano configure.ac

modifichiamolo da:

# tested on raspberry Pi, may be not valid for other ARM devices
case “${host}” in
armv6l-*-linux-gnueabihf*)
cflags=”-mcpu=arm1176jzf-s -mfloat-abi=hard -mfpu=vfp -O3 -Wall”
march=“armv6zk”
;;

a:

# tested on raspberry Pi, may be not valid for other ARM devices
case “${host}” in
armv7l-*-linux-gnueabihf*)
cflags=”-mcpu=arm1176jzf-s -mfloat-abi=hard -mfpu=vfp -O3 -Wall”
march=“armv7-a”
;;

e terminiamo la compilazione e installazione con:

./autogen.sh
./configure –with-bcg729 –with-asterisk130
make
sudo make install

Fatto!!

A questo punto abbiamo asterisk 13 con il codec g729 sul nostro pcb armv7l, sia esso un raspberry-pi2, un cubieboard, ecc

VN:F [1.9.22_1171]
Rating: 10.0/10 (2 votes cast)
VN:F [1.9.22_1171]
Rating: +3 (from 3 votes)
how-to asterisk 13 armv7l e codec g729, 10.0 out of 10 based on 2 ratings

2 Risposte a “how-to asterisk 13 armv7l e codec g729”

  1. Ciao,
    per caso hai provato anche con asterisk 15?

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  2. Ciao 🙂
    onestamente le mie prove con asterisk sono ferme, vedo se nei prossimi giorni riesco a fare qualcosa, ma non a breve.

    VN:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.22_1171]
    Rating: 0 (from 0 votes)

Lascia un commento

Il tuo indirizzo email non sarà pubblicato.

Questo sito usa Akismet per ridurre lo spam. Scopri come i tuoi dati vengono elaborati.