Configuring inbound & outbound GSM (chan_dongle) connections in FreePBX

  Рет қаралды 21,774

HOTKEY404

HOTKEY404

3 жыл бұрын

In the previous video, I showed you how to install RasPBX on Raspberry Pi and turn it into a fully functional Freepbx-based GSM Gateway. Today we continue the series and we will add a custom dongle trunk, add inbound & outbound routes, and of course ..... test our setup.
Hardware: Rapberry Pi 4, Huawei E169, Huawei E173
Software: Raspberry Pi OS lite, Asterisk 16, chan_dongle
Website ► hotkey404.com/
This tutorial ► bit.ly/HOTKEY404_YT_qQa_jgoo3MQ
Also, check our new Asterisk monitoring software:
VOIPERO ► voipero.com
Enjoy the video and thanks for watching!
👍 If you found this tutorial helpful, please consider giving it a thumbs up and subscribing for more in-depth tutorials on VoIP and Raspberry!
🔔 Stay updated! Click the bell icon to receive notifications for new uploads.
📧 For business inquiries or questions, please contact info@hotkey404.com.
🌐 Connect with me:
hotkey404.com/
/ hotkey404
/ hotkey404
👇 Have questions or need further assistance? Leave a comment below, and I'll do my best to help you out!
#freepbx #dongle #raspberry pi #gsm #asterisk #voipero

Пікірлер: 83
@diranemigueh3281
@diranemigueh3281 3 жыл бұрын
Great tutorial. Exactly what i was looking for. :D .. Thank you
@zabawymatyldy6501
@zabawymatyldy6501 Жыл бұрын
OK wszystko już działa :) jeszcze raz dzięki za super poradnik
@satheeshkumarbabu7737
@satheeshkumarbabu7737 5 ай бұрын
Excellent one... Thank you
@sandeepsp4u
@sandeepsp4u 2 жыл бұрын
Really appreciate your effort thanks.
@tg100gsm-qh4kg
@tg100gsm-qh4kg Жыл бұрын
Great, this helped very much👍
@vikasvishwakarma00
@vikasvishwakarma00 Жыл бұрын
@HOTKEY404 is there a video for freepbx using usb_modeswitch to setup gsm dongle ?
@tuansahith7843
@tuansahith7843 2 жыл бұрын
hi. can i install freepbx to the desktop pc & conncet dongle as a gsm gateway? if so, do u have any video for setup & configuration? Thanks.
@balanu835
@balanu835 Жыл бұрын
can you suggest which USB dongle will support this option
@robinthompson9604
@robinthompson9604 Жыл бұрын
Can the channel mobile work with USB cable as opposed to Bluetooth. Just concerned about voice quality loss over Bluetooth and also when more then one phone connected.
@dann-emilzamora4112
@dann-emilzamora4112 2 жыл бұрын
Hi! Do you have a working Rapbx with a SMS System?
@JanD-sn8mf
@JanD-sn8mf 10 ай бұрын
Hey! I'm new to FreePBX. I've set up Raspbx on a Raspberry Pi 4 and would like to make calls using a 4G SIM router (TP Link - TL-MR6500v/ VoLTE, VoIP, VoiceMail). The router works fine on the RJ11 port with a standard phone. I previously attempted to use the chan_dongle module, but it appears that the 4G SIM doesn't work with it. I don't believe the mobile carrier provides any SIP settings for 4G SIMs. Is it possible to connect the VoIP router with Raspbx over Ethernet?
@zabawymatyldy6501
@zabawymatyldy6501 Жыл бұрын
czy jest mozliwosc przeprowadzenia analogicznej konfiguracji na CentOS?
@Subgunman
@Subgunman 2 жыл бұрын
Will this work on a standard sized computer with FreePBX running? Is there a specific dongle I should ask for from my provider to use with this setup or will a data only USB device work?
@HOTKEY404
@HOTKEY404 2 жыл бұрын
chan_dongle can be compiled with any Asterisk-based software. List of compatible dongles can be found here: wiki.e1550.mobi/doku.php?id=requirements
@jodywaldrop9558
@jodywaldrop9558 Жыл бұрын
I have a question, do I need to have a SIM card for it to work?
@dhaine17
@dhaine17 2 жыл бұрын
How to fix recurring long beep while engage on a call?
@RafalBielawski
@RafalBielawski 3 жыл бұрын
Sprawdź czy bo reboot malinki dongle będą nadal przypisane tak samo? U mnie co reboot zamieniały się porty miejscami co powodowało zamianę numerów przez co wychodzące i SMS odwrotnie funkcjonowały. Pomogła konfiguracja po imei zamiast po portach USB
@HOTKEY404
@HOTKEY404 3 жыл бұрын
To prawda, że ustawienia po IMEI mogę rozwiązać problem - o ile system poprawnie wykryje modem (spotkanie się z modemami, gdzie po IMEI nie działało). U siebie go nie zauważyłem, dopóki nie wypinałem modemów. Przy założeniu, że się korzysta z jednego modemu, to nie będzie problemem 😜 Ale słuszna sugestia!
@lionelnkurunziza2733
@lionelnkurunziza2733 2 жыл бұрын
thanks a lot! Running on Asterisk 16.26.1, chan dongle driver comes by default or it has to be installed after!
@HOTKEY404
@HOTKEY404 2 жыл бұрын
Hi. In many systems you can just use install-dongle. Others might require usb_modeswitch packages
@ArunKumar-ue3jn
@ArunKumar-ue3jn 3 жыл бұрын
Great
@rubinathbksys9535
@rubinathbksys9535 3 ай бұрын
i need a incoming calls configuration, can you upload ?
@salmanbadr7352
@salmanbadr7352 Жыл бұрын
hey , Thanks alot for the tutorial , how can i contact you ? i have a serious problem
@davinderbrar641
@davinderbrar641 2 жыл бұрын
All works normally , but when using IVR it doesn't recognise DTMF inputs.
@mohamedsamiabdelrazik2290
@mohamedsamiabdelrazik2290 9 ай бұрын
How to configure dongle with 3cx
@fkp7867
@fkp7867 6 ай бұрын
before any dongle to use you must check voice supported
@HOTKEY404
@HOTKEY404 6 ай бұрын
Right 👍 We provided the list in one of the comments
@richmadrid9563
@richmadrid9563 3 ай бұрын
is there an Android/iPhone version of the Softphone app, so you could make/receive calls or send/receive SMS from your home country on your mobile phone, when you're abroad? Coz as you know you need to do bank transactions, you'll need your home country mobile number to receive SMS or calls for 2-factor authentication.
@HOTKEY404
@HOTKEY404 3 ай бұрын
You can send/reveice SMS and they will appear in Asterisk. Then you can create eg. AGI or ODBC functions to forward them to your phone/email/sql/etc....
@mrraulpeedeejay6166
@mrraulpeedeejay6166 2 жыл бұрын
I would like to know if there is a utility that allows both to send and read the sms received using a web page. Thank You
@HOTKEY404
@HOTKEY404 2 жыл бұрын
There is an incoming video on how to create such web page yourself. It will consist of simple PHP script and AMI connection. So stay tuned 😉 Unless you need this immediately, then contacts us via email.
@juniorst
@juniorst 2 жыл бұрын
​@@HOTKEY404 Hi! Please, I will be very grateful if you make this video. I'm having some challenge to send incoming sms to e-maill
@michaeln8171
@michaeln8171 2 жыл бұрын
What does mean mode and submode of modem? is it important?
@michaeln8171
@michaeln8171 2 жыл бұрын
is it bad, if i have mode 0 (no service), submode 0 (no service)
@handsomepappi
@handsomepappi 3 жыл бұрын
I have few questions as I'm way to understanding the whole setup and no complete info is available online for a GSM setup. My questions are: 1- Can I register one of the extensions of this pbx on a SIP application on mobile and use it remotely to make calls via GSM dongke? By remotely I mean out of my local network. 2- Similarly, if I receive call on gsm dongke can I route those calls to a SIP extension registered on a SIP application on a mobile? Purpose of this is to make and receive calls over a mobile SIP application when I'm travelling. Thank you very much in advance.
@HOTKEY404
@HOTKEY404 3 жыл бұрын
Of course you can do all of that. You just need to create and extensions and 1) do a port forwarding to PBX - remember about security issues eg. do NOT open UDP 5060 to the world or 2) use a VPN to connect your mobile phone to your PBX These are the most common scenarios
@dededobre
@dededobre 2 жыл бұрын
@@HOTKEY404 Hi, nice tutorial about using cell dongle with Raspberry Pi for incoming and outgoing calls. I have a similar question as Michael X. I wonder if this GSM gateway would work with no extra connection to the Internet other than this dongle. Would I be able to connect (register) my VoIP client to this machine and use it as a regular VoIP line? Ignore the security hardening (changing all the default passwords and ports 5060 for ex), blocking attacks with fail2ban and configuring a FQDN of the system (using maybe no-ip service) or using a VPN. The question I have is: can this ONE dongle serve as VoIP trunk AND Internet connection for calls and management (ssh + https) in the same time?
@HOTKEY404
@HOTKEY404 2 жыл бұрын
@@dededobre I did a quick test and I established a ppp 3G connection and I made an outgoing connetion so it should be possible. Especially since they use a different ports: /dev/ttyUSB0 - internet, wvdial /dev/ttyUSB1 - asterisk, audio /dev/ttyUSB2 - asterisk, data
@dededobre
@dededobre 2 жыл бұрын
@@HOTKEY404 Thank you Thomas!
@zabawymatyldy6501
@zabawymatyldy6501 Жыл бұрын
Uzupełnienie do poprzedniego wpisu: BTW - konfiguracja Outbound Routes jest raczej OK: Dial Patterns that will use this Route ZXXXXXXXX bo gdy w Route settings przelacze "Optional Destination on Congestion" z "Normal congestion" na Extensions i tu nr np. 15 to reguła działa. problem jest chyba w konfiguracji dongla. Dodam ze polaczenia przychodzace dzialaja poprawnie.
@lmisiura
@lmisiura 2 жыл бұрын
witma niestety mam problem z usb okazuje sięże moje e173s-1 nie obsługuje Voice ??? czy jest jakaś możliwość włączenia tego
@HOTKEY404
@HOTKEY404 2 жыл бұрын
Da się to odblokować. Proponuję przejrzeć: asteriskfaqs.org/2016/06/01/asterisk-users/chan-dongle-atddsetex-failed.html
@lmisiura
@lmisiura Жыл бұрын
@@HOTKEY404 dzięki
@user-yo6kx4vz2n
@user-yo6kx4vz2n 3 жыл бұрын
Dzien dobry! Thank you for your video. Your video is so helpful to me. I'm living in Poland. And I'm using Play network right now. It seems that you are using Virgin mobile in this video. And Virgin mobile is using play and you are connected to play gsm. I know that the transmitting mode depends on the modem, but have your modem connected to the 3G network? I want to use Play in 3G network on the chan_dongle. I will waiting for your answer. Miłego dnia!
@HOTKEY404
@HOTKEY404 3 жыл бұрын
Hi. RasPBX uses automated process of switching the mode of your dongle (with usb_modeswitch). Are you using RasPBX or sth else? You should be able to find details of your modem with lsusb and you can search for it on the list asterisk-service.com/en_US/page/chan-dongle-modems to check compatibility - usually: the older = the better. And yes .... modems that I'm using are 3G only.
@user-yo6kx4vz2n
@user-yo6kx4vz2n 3 жыл бұрын
@@HOTKEY404 Good morning Sir, I will check it ! And you mean Plus is better than Play right ?
@HOTKEY404
@HOTKEY404 3 жыл бұрын
@@user-yo6kx4vz2n Really depends on your location. I managed to run a whole PBX on one dongle (Dual 3G for internet, not calls) from basement .... and it worked. But about chan_dongle sometimes I struggled on newer modems. Let me know what modem do you use and if it worked 😉
@user-yo6kx4vz2n
@user-yo6kx4vz2n 3 жыл бұрын
@@HOTKEY404 I used e1750 modem with Orange and It works well. But Voip to modem voice was loud cleared but modem to voip was low so I couldn't hear that. I'm trying to find gain the voice. (the settings was possible in dongle.conf) by the way may I know which modem that you struggle with?
@HOTKEY404
@HOTKEY404 3 жыл бұрын
@@user-yo6kx4vz2n From the docs (github.com/jstasiak/asterisk-chan-dongle/blob/master/etc/dongle.conf): rxgain=0 ; increase the incoming volume; may be negative txgain=0 ; increase the outgoing volume; may be negative Maybe this will help.
@SiwyMisio
@SiwyMisio 3 жыл бұрын
Dzięki za tutka. Jeżeli potrzebujesz pomysłu na następnego tutka, to proponuje "Bramka GSM (raspbx) jako trunk".
@HOTKEY404
@HOTKEY404 3 жыл бұрын
Dobry pomysł. Osobiście najczęściej łączę się z bramami poprzez SIP lub jakieś zdalne polecenia przez Asterisk managera. Więc jest plan na następny miesiąc 👍
@SiwyMisio
@SiwyMisio 3 жыл бұрын
Pytanie poza konkursem - ile udało Ci się uzyskać jednoczesnych (stabilnych) połączeń na raspbx (3b+ lub 4) ? bez dekodowania i z dekodowaniem ? mi na 3b+ bez dekodowania (ulaw-ulaw) 20 z kodowaniem (ulaw-opus) 4.
@kszere
@kszere Жыл бұрын
How install chan_dongle/dongle on FreePBX without Raspbx?
@HOTKEY404
@HOTKEY404 Жыл бұрын
Video on vanilla CentOS with usb_modeswitch is under construction
@kszere
@kszere Жыл бұрын
​@@HOTKEY404 Thanks, I wait it.
@norsim1
@norsim1 Жыл бұрын
outgoing is ok, but when inbound, pbx says me goodbye ))
@MrRaulPeeDeeJay
@MrRaulPeeDeeJay 3 жыл бұрын
Can't login with Zoiper on Android. How to configure correctly?
@HOTKEY404
@HOTKEY404 3 жыл бұрын
You can start with the simpliest setup: regular SIP account, same local network, disabled firewall, correct name/pass/server/port/etc.... and check logs what is wrong.
@MrRaulPeeDeeJay
@MrRaulPeeDeeJay 3 жыл бұрын
@@HOTKEY404 i solved, wrong port number, but now there is a new issue: when I make a call a voice tell me that all circuits are busy. If I call mobile number inserted into the dongle, I have a busy tone
@HOTKEY404
@HOTKEY404 3 жыл бұрын
@@MrRaulPeeDeeJay I would suggest debugging the problem in Asterisk Dialplan.
@MrRaulPeeDeeJay
@MrRaulPeeDeeJay 3 жыл бұрын
@@HOTKEY404 raspbx*CLI> dongle show device state dongle0 -------------- Status ------------- Device : dongle0 State : Free Audio : /dev/ttyUSB1 Data : /dev/ttyUSB2 Voice : No SMS : Yes Manufacturer : ZTE CORPORATION Model : MF190 Firmware : BD_MF190V1.0.0B15 I found that voice is not initialized, so this is the cause. In fact, if I call the number of the SIM card, I got busy signal, when if I make an outgoing call by sip, the voice tell me that the circuit is busy. This model of dongle is not listed in the list of compatibility
@HOTKEY404
@HOTKEY404 3 жыл бұрын
I wouldn't worry about the compatibility list. I would suggest "channel originate dongle/dongle0/12342134 application MusicOnHold" to check if the modem works. Then verify inbound and outbound routes. Of course you a real number in the command above
@rafixx89
@rafixx89 2 жыл бұрын
Witam zrobiłem jak u Ciebie na filmie dongla widac ale nie działa mi połączenie jest ale odrzuca zaraz Channel 'Dongle/dongle0-0100000003' sent to invalid extension but no invalid handler: context,exten,priority=default,+48797691XXX,1
@HOTKEY404
@HOTKEY404 2 жыл бұрын
Połączenie przychodzące czy wychodzące? I co jest w CLI?
@rafixx89
@rafixx89 2 жыл бұрын
@@HOTKEY404 przychodzące wychodzace tez nie działają ale na dzis sobie odpuściłem jutro pokobinuje lub w sobote moge dac zdalny dostep jak będziesz mial chwile pomoc
@HOTKEY404
@HOTKEY404 2 жыл бұрын
Oczywiście … ale po urlopie 😝 wracamy po weekendzie
@rafixx89
@rafixx89 2 жыл бұрын
@@HOTKEY404 Udało mi sie odpalić na virtualbox. Dzwoni ivr muzyka na czekanie, zastanawiam sie jeszcze czy smsy dało by rade wysłac z klienta sip ?
@HOTKEY404
@HOTKEY404 2 жыл бұрын
Super, że udało się uruchomić. Do smsow jest osobny protokół i nigdy tego nie testowałem. Ale jak wrócę z urlopu to kuknę
@siuthomas5936
@siuthomas5936 2 жыл бұрын
Outbound no problem but inbound not work
@HOTKEY404
@HOTKEY404 2 жыл бұрын
Hi. What exactly is the problem? Maybe with some debug info we will be able to help you
@slcyberking
@slcyberking 2 жыл бұрын
TFS
@alessandroperigo6731
@alessandroperigo6731 Жыл бұрын
For incoming call: dongle.conf -> context=from-trunk-dongle and extensions.conf -> [from-trunk-dongle] exten => _+55XXXXXXXXXXX,1,Set(CALLERID(name)=${CALLERID(num)}) exten => _+55XXXXXXXXXXX,n,Goto(from-trunk,${EXTEN},1) ; +55 country code.
Connect your phone to RasPBX via Bluetooth (with chan_mobile)
12:01
1🥺🎉 #thankyou
00:29
はじめしゃちょー(hajime)
Рет қаралды 78 МЛН
Did you find it?! 🤔✨✍️ #funnyart
00:11
Artistomg
Рет қаралды 125 МЛН
ХОТЯ БЫ КИНОДА 2 - официальный фильм
1:35:34
ХОТЯ БЫ В КИНО
Рет қаралды 2,7 МЛН
How to turn Raspberry Pi into FreePBX-based GSM gateway
6:12
HOTKEY404
Рет қаралды 46 М.
the Raspberry Pi PHONE SYSTEM! (3CX PBX at home)
14:49
NetworkChuck
Рет қаралды 726 М.
Replace /dev/ttyUSB with IMEI/IMSI using "dongle discovery"
8:26
28 - IVRs - FreePBX 101 v15
15:50
Crosstalk Solutions
Рет қаралды 10 М.
Yeastar tg200 - настройка и подключение к Asterisk
11:57
Александр Linux
Рет қаралды 7 М.
I Bought the TEMU Edition PS5...
11:57
Jacob R
Рет қаралды 541 М.
Asterisk Usb chan dongle
10:00
YSN Technology
Рет қаралды 7 М.
Apple, как вас уделал Тюменский бренд CaseGuru? Конец удивил #caseguru #кейсгуру #наушники
0:54
CaseGuru / Наушники / Пылесосы / Смарт-часы /
Рет қаралды 4,6 МЛН
Pratik Cat6 kablo soyma
0:15
Elektrik-Elektronik
Рет қаралды 8 МЛН
ПК с Авито за 3000р
0:58
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,7 МЛН
Which Phone Unlock Code Will You Choose? 🤔️
0:14
Game9bit
Рет қаралды 13 МЛН
5 НЕЛЕГАЛЬНЫХ гаджетов, за которые вас посадят
0:59
Кибер Андерсон
Рет қаралды 1,2 МЛН
How To Unlock Your iphone With Your Voice
0:34
요루퐁 yorupong
Рет қаралды 17 МЛН
Не обзор DJI Osmo Pocket 3 Creator Combo
1:00
superfirsthero
Рет қаралды 1,3 МЛН