[AsteriskBrasil] INSTALANDO CHAN_DONGLE NO FREEPBX COM ASTERISK 11

Leomar Soares leomarsa em gmail.com
Terça Março 7 09:13:04 BRT 2017


INSTALANDO CHAN_DONGLE NO FREEPBX

+++++++++++++++++++++Preparando Ambiente+++++++++++++++++++++++++
yum -y install tcl asterisk11-devel make automake binutils

++++++++++++++++++++++++++++++++32bit++++++++++++++++++++++++++
usb_modeswitch-1.2.3-1.el6.rf.x86_64.rpm and
usb_modeswitch-data-20120120-1.el6.rf.noarch.rpm

++++++++++++++++++++++++++++++++64bit++++++++++++++++++++++++++
rpm -ivh usb_modeswitch-1.2.3-1.el6.rf.x86_64.rpm
usb_modeswitch-data-20120120-1.el6.rf.noarch.rpm

cd /usr/src
wget https://github.com/jstasiak/asterisk-chan-dongle/archive/asterisk11.zip

unzip asterisk11.zip
cd asterisk-chan-dongle-asterisk11
aclocal && autoconf && automake -a
./configure
make
make install

++++++++++++++++++++++++++++++++32bit++++++++++++++++++++++++++
cp etc/dongle.conf /etc/asterisk/

++++++++++++++++++++++++++++++++64bit++++++++++++++++++++++++++
cp chan_dongle.so /usr/lib64/asterisk/modules/

cp etc/dongle.conf /etc/asterisk

vim /etc/udev/rules.d/92-dongle.rules

KERNEL=="ttyUSB*", MODE="0666", OWNER="asterisk", GROUP="uucp"

vim /etc/asterisk/asterisk.conf
rungroup = dialout

asterisk -vvvvvvvvr

CLI: module load chan_dongle.so


+++++++++++++++++++++++modificações+++++++++++++++++++++++++++

vim /et/asterisk/dongle.conf

de context=default
para context=from-trunk

de exten=+123456789
para exten=s



+++++++++++++++++++++++criando trunks custom+++++++++++++++++++++++++++
Custom Dial String: dongle/dongle0/$OUTNUM$

Obs; Só criar as rotas e os ramais
-- 

-- 


*__________________________________________________LEOMAR SOARES DE ALMEIDA*
INFORMÁTICA - TELECOM - AUTOMAÇÃO
Fixo:  (65) 3661-3960
Whats. (65) 9 9676-0062
E-mail: leomarsa at gmail.com
** Só imprima se existir necessidade. Preserve o meio ambiente.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20170307/b868bca6/attachment.html>


Mais detalhes sobre a lista de discussão AsteriskBrasil