SMS Server Tools 3
This site is hosted by Kekekasvi.com
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Mon Oct 26, 2020 07:25
SMSTools3 Community » Help and support Bottom

Making smstools work with chan_dongle (asterisk module)

Login and Post Reply

Page:  1

Author Post
Member
Registered:
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: https://www.youtube.com/watch?v=jMQfSsO1da4&list=PLnzEbgyK52Gu9fdVDHburrsG3KBIntXFK

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: https://dl.dropboxusercontent.com/u/19626172/RPi_3.jpg :P

Member
Registered:
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 : pbsys.com.br

https://www.youtube.com/watch?v=-MxRosCENFs

Member
Registered:
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!

Encrypt

Member
Registered:
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.