Giter Site home page Giter Site logo

garronej / chan-dongle-extended Goto Github PK

View Code? Open in Web Editor NEW
22.0 22.0 6.0 1.07 MB

An extention for chan_dongle: PIN codes, multipart SMS, contacts.

Home Page: https://garronej.github.io/chan-dongle-extended-pages/

TypeScript 92.31% JavaScript 7.69%

chan-dongle-extended's Introduction

garronej's github stats

committers.top badge

Opensource work highlight


onyxia.mp4

Readme Card Readme Card Readme Card Readme Card

chan-dongle-extended's People

Contributors

garronej avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

chan-dongle-extended's Issues

when install on issabel

[root@PBX ~]# [root@PBX ~]# wget -nc -q -O - garronej.github.io/chan-dongle-extended-pages/install.sh | sudo bash
-bash: [root@PBX: command not found
[root@PBX ~]# wget -nc -q -O - garronej.github.io/chan-dongle-extended-pages/install.sh | sudo bash
Directory /usr/share/dongle already exsist, uninstalling previous install
wget: unrecognized option '--show-progress'
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
Extractingtar (child): /tmp/dongle.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
rm: cannot remove โ€˜/tmp/dongle.tar.gzโ€™: No such file or directory
bash: line 39: ./node: No such file or directory
[root@PBX ~]#

roaming problem

Hi guys, I have a very old kirkwood device running openwrt 15.05 with Asterisk 11.22.0 and chan_dongle: Huawei 3G Dongle Channel Driver, Version 1.1, Revision 35. Everything works fine, but openwrt a while ago stop supporting this device. So I decided to move my config to a modern platform. I have installed chan-dongle-extended in Debian 11 with FreePBX 16 and asterisk 16. Everything seems working and dongle is recognized, but as far as I'm using it in roaming I'm having a problem of registering dongle in a network. This problem does not appear in openwrt box thou.
a dongle looks like this:

root@FreePBX-debian:~# dongle list
[
  {
    "imei": "XXXXXXXXXXXXXXX",
    "manufacturer": "huawei",
    "model": "E1550",
    "firmwareVersion": "11.609.18.00.00",
    "isVoiceEnabled": true,
    "sim": {
      "iccid": "89357018150702209355",
      "imsi": "280019132035935",
      "country": {
        "iso": "cy",
        "code": 357,
        "name": "Cyprus"
      },
      "serviceProvider": {
        "fromImsi": "Vodafone/CyTa",
        "fromNetwork": "CytaVoda"
      },
      "storage": {
        "infos": {
          "contactNameMaxLength": 14,
          "numberMaxLength": 24,
          "storageLeft": 249
        },
        "contacts": [],
        "digest": "e16723f48e0cca3d701d24b930b8fed8"
      }
    },
    "cellSignalStrength": "GOOD",
    "isGsmConnectivityOk": false
  }
]

root@FreePBX-debian:~# asterisk -rvvv
Asterisk 16.28.0~dfsg-0+deb11u1, Copyright (C) 1999 - 2021, Sangoma Technologies Corporation and others.
Created by Mark Spencer <[email protected]>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 16.28.0~dfsg-0+deb11u1 currently running on FreePBX-debian (pid = 826)
    -- Remote UNIX connection
FreePBX-debian*CLI> dongle show devices
ID           Group State      RSSI Mode Submode Provider Name  Model      Firmware          IMEI             IMSI             Number        
Dongle1      0     GSM not re 16   0    0       CytaVoda       E1550      11.609.18.00.00   XXXXXXXXXXXXXXX  280019132035935  Unknown       
FreePBX-debian*CLI> dongle show version 

chan_dongle: Huawei 3G Dongle Channel Driver, Version 1.1, Revision 43gh=47cg
Project Home: https://github.com/bg111/asterisk-chan-dongle/
Bug Reporting: https://github.com/bg111/asterisk-chan-dongle/issues

in my openwrt box I see something different. While the dongle is initialized I see this:

Asterisk-OpenWrt*CLI> dongle show devices
ID           Group State      RSSI Mode Submode Provider Name  Model      Firmware          IMEI             IMSI             Number        
dongle0      1     GSM not re 99   0    0       NONE           E1550      11.609.18.00.00   XXXXXXXXXXXXXXX  280019132035935  Unknown       

When it's ready, I see this:

Asterisk-OpenWrt*CLI> dongle show devices
ID           Group State      RSSI Mode Submode Provider Name  Model      Firmware          IMEI             IMSI             Number        
dongle0      1     Free       20   3    3       GR COSMOTE     E1550      11.609.18.00.00   XXXXXXXXXXXXXXX  280019132035935  Unknown       

I think that the problem is that dongle network provider is fixed by chan_dongle service to the one listed in "fromNetwork" field of dongle list command, while originally dongle chooses the best provider by itself.
The question is how to either let dongle to choose provider or (which is better IMHO) to let the user to specify the desired provider in the config?

Thank you, Dmitry

chan-dongle-extended on RasPBX?

Hi, I "accidentaly" found your project, but I think is is just something I have been looking for a long time.

A little background. Almost a year ago I wrote a pretty extensive guide how to install RasPBX. It is published here:
https://github.com/MatejKovacic/RasPBX-install

Now the problem is, that calls are going just fine, but I have a problems receiving SMS messages. Some messages are sent in several e-mail messages, I do not receive MMS messages and I am (still) unable to get SMS messages to my Signal number.

Signal app is a secure messenger, but there is Signal API script, which lets you send Signal messages through REST API. Basically, I can write this (from terminal):

echo "{\"message\": \"On $(date '+%m. %d. %Y at %H:%M:%S') you have received SMS message.\", \"number\": \"+XXXXXXXXXXX\", \"recipients\": [\"+YYYYYYYYYYY\"]}" | /usr/bin/curl --user 'user:password' -X POST -H "Content-Type: application/json" -d @- 'https://signalapi.myserver.net/v2/send'

And I will receive a Signal message.

Of course I tried to put this command to into the /etc/asterisk/extensions_custom.conf, but I do not receive any Signal message.

Anyway, I think it would be really great if there will be detailed guide for setting up your application to RasPBX, but I think I would need a little help.

RasPBX is actually Raspbian GNU/Linux 10 (buster) with kernel: Linux 5.10.103-v7l+. Debian_version says it is 10.12.

How to install chan-dongle-extended to this system?

Also, please note that my working installation is more than 1000 km from me, so I can not afford any mistake...

k3765 dongle working call in, out, but no sound

Hello!

My install you script.
My server: debian 11 64 bit
5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64

My dongle: K3765

The call starts, I can pick up with the other person, I can make outgoing and incoming calls. But when I pick it up, there is no sound on either side, no matter how much I talk into either side.

With the dongle, if I put the call on hold with the virtual one, the call hold tone doesn't sound either. However, the system says that it has been started. It's all completely deaf. No idea what the problem could be?

Thanks!

User issue once installed

My install completes successfully on Debian 11 with Asterisk 16 & Freepbx 16.

But once opening freepbx it says it can't connect to asterisk and my log also fills with "manager.c: 127.0.0.1 tried to authenticate with nonexistent user 'admin'" & "manager.c: 127.0.0.1 failed to authenticate as 'admin'"

The dongle is connected and working however. As soon as I run the uninstall script Freepbx/asterisk works fine again.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.