hello
I am buliding a gsm gateway voip with raspberry pi zero 2w and sim800 module
I connected sim800 to raspberry pi with a usb to ttl dongle
and I want to use chan_dongle to connect to sim800
Is it possible?
after all configuration I recive “not connected” when I send : `dongle show device state dongle0: in asterisk terminal.
please help me how can I build a gsm gateway voip with asterisk and sim800
chan_dongle is not part of the Asterisk project, so you should ask the authors what devices are supported and what features actually work. It looks like the project hasn’t been maintained for some time, so it might be difficult to get competent help.
I’d also note that you are trying to use it on hardware for which it was not designed (it was designed for specific HuaWei dongles), and on service that is being withdrawn or severely restricted, in most of the world (it is only retained because it is used for some technical, non-voice, applications, in the UK, and the same is probably true for the EU and the USA).
A Google search indicates that people have succeeded in using that hardware, with chan_dongle, but only for SMS, not voice, and, as already pointed out, it has been abandoned by its developer.
Most of the SIM800 modules do not have USB audio, and only some thirdparty breakout modules have it implemented. Whether it works reliably is another question.
It’s better to use SIM7600 instead. There is a thirdparty fork of chan_dongle that supports it, and some Quectel ICs as well, but this is an unofficial module.
I understand now that the chan_dongle isn’t suitable for what I’m trying to achieve.
Could you suggest any alternative methods I could use to build a GSM VoIP gateway with a SIM800 module or similarly priced ICs?
I would greatly appreciate any guidance on how to set up this mechanism with Asterisk on a Raspberry Pi. My goal is to bridge calls between the cellular network and VoIP.
asterisk-chan-quectel supports SIM7600. Unless your motivation is to prototype custom hardware, it does not make any sense. There’s not going to be any cost savings, so you might as well use a Huawei dongle (with voice unlocked) with chan_dongle (which is also an unsupported thirdparty module).
You should be aware of the security implications of using unsupported thirdparty modules and the potential for RCEs.
This is just my two-cents worth, Mohammad – if your intentions are to connect your asterisk system to the outside world using a cellular carrier, have you considered just using a good reliable cellular phone (e.g. a Motorola One Ace or G 5G; the two phones I’m using on my system for my two phone lines) & loading the ‘chan_mobile.so’ module?
I’ve used ‘chan_mobile.so’ for about five years now (pulling the hair out of my head along the way heretofore while observing its various issues/quirks), and reliably so for about the last two or three years.
It’s fairly easy to configure. (I use USB-bluetooth dongles in my systems for this purpose because they seem to work better for this purpose, versus using the built-in BT-chipsets. Also, my experiences have been that the newer BT versions seem to work more reliably – both ends, asterisk systems, and cellular phones alike.)
Hope that helps, if nothing more, just plain insight.