SMS Server Tools 3
This site is hosted by
Basic information:
Additional information:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

Custom Search

 Visitor locations
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Mon Jun 24, 2024 13:55
SMSTools3 Community » Help and support Bottom

Making smstools work with chan_dongle (asterisk module)

Login and Post Reply

Page:  1

Author Post
Jan 2016
Location: France
Hello guys o/

I am relatively new in the VoIP / GSM world since I have set an asterisk server on my Raspberry Pi about 4 months ago thanks to awesome videos from the VoIP guys:

I am now studying in England and to avoid paying roaming fees when using my mobile phone number, I have installed the SIM card in a 3G USB Dongle, connected to my Raspberry Pi and to asterisk.

It works like a charm, I am able to call and be called using a softphone on my computer.
However, sending and receiving SMS doesn't work quite well with chan_dongle, so I decided to install smstools to do this job.

As you probably imagine, there is quite a conflict between the two pieces of software: it seems that smstools is trying to initialize the modem (or I don't know what), when chan_dongle has already done so.

So, when smstools is runnng, I get a lot of these messages in the log file of asterisk:

Also, having a look at the logs of smstools, I have:

As you probably imagine, smstools fails to send SMS messages / receive SMS since it looks that it doesn't consider the modem as initialized.

Here is the basic (relevant) configuration that I had set for smstools:

Note that I am sure of the value of the "device" parameter.

So, my question is the following: has anyone already managed to make smstools work with chan_dongle, at the same time?
Or are there any option that I haven't seen to do so?

Operating system name and version: Debian Wheezy
Version of smsd: 3.1.14
Smsd installed from: package repository
Name and model of a modem / phone: Huawei E160
Interface: USB

A pic of my Pi with the modem, for the fun: :P

Feb 2016
Location: Senador Canedo, Brazil
Hello there recently hum plug-in that makes an interface between the chan_dongle and playsms .
Follow link below may have more information on skype :

Jan 2016
Location: France
Topic owner
Hello and thank you for your answer.

I managed to make smsools and chan_dongle work together correctly finally something like two months ago.
I had forgotten that I had posted a question here in fact! x)

To make both (smstools & chan_dongle) work at the same time it is simple in fact.
I have 3 interfaces on my modem: /dev/ttyUSB0, /dev/ttyUSB1 and /dev/ttyUSB2.
- On the one hand, I configured chan_dongle to use /dev/ttyUSB1 and /dev/ttyUSB2, corresponding respectively to the voice and data channels.
- On the other hand, I configured smstools to use /dev/ttyUSB0 which was therefore free interface.

As a result, since smstools & chan_dongle are using different interfaces, there is no conflict between them!


Feb 2016
Location: Senador Canedo, Brazil
Excellent idea of ​​the integration of both. Thus the connection of ttyUSB doors are fixed travez setting the IMEI , but just do not make shipments of SMS are sent by the contest 's chan_dongle am I right?

Login and Post Reply

Page:  1

SMSTools3 Community » Help and support Top

Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.