Jerson Jr

Try sudo find / -name if you find it under /usr/lib/asterisk/modules (for 32 bits)
/usr/lib64/asterisk/modules (for 64 bits)
then it is installed .

Change to your scenario!

I have burned the latest Raspberry ISO with freepbx 2.11 and asterisk 11.
Installed the chan_dongle and loaded it into the cli.

Please note that I also created the file /etc/udev/rules.d/92-dongle.rules and added:

KERNEL==“ttyUSB*”, MODE=“0666”, OWNER=“asterisk”, GROUP=“uucp”

I am getting the following error:
– [dongle0] Trying to connect on /dev/ttyUSB2…
[2015-02-14 00:32:10] WARNING[1427]: chan_dongle.c:218 opentty: unable to open /dev/ttyUSB2: No such file or directory

the output of my lsusb:
Bus 001 Device 004: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552/E1800/E173 (HSPA modem)
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

ls -l /dev/tty* does not show any /dev/ttyUSB
all are of the form of /dev/tty1 to 63 I can see /dev/tty9 owner is asterisk
I can see also /dev/ttyAMA0 and /dev/ttyprintk

Hope someone can help.

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



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



cd asterisk-chan-dongle-asterisk11


Here I get an error:
[[email protected] asterisk-chan-dongle-asterisk11]# aclocal 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… 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
aclocal && autoconf && automake -a
./configure --with-astversion=130700
make install
cp etc/dongle.conf /etc/asterisk/
emerge sys-apps/usb_modeswitch
chown asterisk:asterisk /dev/ttyUSB*

1 Like


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?

[[email protected] ~]# 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?