Chan_dongle

Guys, I have no idea on what I’m doing wrong. I installed chan_dongle a few months ago and everything went OK but this time I’m stuck in here:

steps ok:
yum -y install tcl asterisk11-devel make automake binutils

wget http://ftp.pbone.net/mirror/apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/usb_modeswitch-1.2.3-1.el6.rf.x86_64.rpm

wget http://pkgs.repoforge.org/usb_modeswitch-data/usb_modeswitch-data-20120120-1.el6.rf.noarch.rpm

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

Here I get an error:
[root@localhost asterisk-chan-dongle-asterisk11]# aclocal
configure.in:10: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
…/…/lib/autoconf/general.m4:1795: AC_CANONICAL_TARGET is expanded from…
…/…/lib/autoconf/general.m4:1819: AC_CANONICAL_SYSTEM is expanded from…
configure.in:10: the top level

the next steps starts with errors too

What am I doing wrong?

I have FreePBX Stable-6.12.65, Release Date-2014, FreePBX 12, Linux 6.5 and
Asterisk 11 running alone on a x64 intel machine.

kind regards

I reinstalled chan_dongle and this error does not affect the compilation of the channel drive.

HMMMMM and what about upgrading the kernel?

I see the Chan_dongle docs say
"Please use a recent Linux kernel, 2.6.33+ recommended."

I installed FreePBX with shmz 6.6 today and I have 2.6.32 after all updates.

This is the second "all in one distro I have tried , all seem to have bad kernels for Chan_dongle. Not to say it wont work but way better audio on newer kernels.

Guess I’ll have to install Ubuntu and text mode asterisk, as freepbx is apparently in the stone age.

I use smoothly and works well with Asterisk FreePBX-12 and Asterisk 11/13 or FreePBX-13- and Asterisk 11/13 . Use FreePBX official distribution .

That is the “official distribution” Kernel is 2.6.32 while chan_dongle recommends 2.6.33 or higher.

I have tested and it is not nearly as good as it was on my earlier tests with newer kernels.

Not to mention that chan_dongle is not configurable from

FreePBX GUI anyway so better off with vanilla asterisk than the bloat of FreePBX

All I can say is RTFM for chan-dongle , it is there for a reason.

It is used both in the Freepbx version 12 or 13 with asterisk 11 or 13 without problems, it works great with FreePBX. Once set up the context for from-PSTN is possible to create inbound routes from the FreePBX.

yum -y install tcl asterisk11-devel make automake binutils

does this work on asterisk 13/ freepbx 14?

This question came up a couple of weeks ago, and the prevailing sense was “No”. Apparently the software hasn’t been updated in several years and has never been updated to work with anything newer than Asterisk version 11.

git clone https://github.com/wdoekes/asterisk-chan-dongle.git
aclocal && autoconf && automake -a
./configure --with-astversion=130700
make
make install
cp etc/dongle.conf /etc/asterisk/
lsusb
emerge sys-apps/usb_modeswitch
chown asterisk:asterisk /dev/ttyUSB*

thanks

does this work for multi dongle i want to install 5 dongle

git don’t work

git only works if installed and the target exists, (the target exists)

how can i install it?

[root@freepbx ~]# aclocal && autoconf && automake -a
-bash: aclocal: command not found

yum -y install tcl asterisk11-devel make automake binutils

is unlikely to work if your asterisk version is not 11, with respect, you are currently way out of your depth and need to spend a few hours with linux and asterisk and FreePBX tutorials/WIKI’s

If I where you I would contact @jersonjunior and offer him some USD’s or bitcoin.

i have finally install it but how do you create inbound route?

Did you read the wiki yet? Inbound routes are kind of FreePBX 101.

where can I find it? I have look through the pages

Search on Google “FreePBX Inbound Routes” the Wiki should be from the top results.