gammu | Gammu SMS notifications channel for Laravel | SMS library

 by   laravel-notification-channels PHP Version: 0.0.8 License: MIT

kandi X-RAY | gammu Summary

kandi X-RAY | gammu Summary

gammu is a PHP library typically used in Messaging, SMS, Laravel applications. gammu has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

~This package makes it easy to send SMS notifications using Gammu SMSD with Laravel 5.3.~.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              gammu has a low active ecosystem.
              It has 12 star(s) with 9 fork(s). There are 4 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 1 open issues and 2 have been closed. On average issues are closed in 587 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of gammu is 0.0.8

            kandi-Quality Quality

              gammu has no bugs reported.

            kandi-Security Security

              gammu has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              gammu is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              gammu releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed gammu and discovered the below as its top functions. This is intended to give you an instant insight into gammu implemented functionality, and help decide if they suit your requirements.
            • Parse long message
            • Send a notification .
            • Generate a UUID
            • Set the user agent
            • Get the default url
            • Get method .
            • Convert to array .
            • Set the callback
            • Set content .
            • Set the channel .
            Get all kandi verified functions for this library.

            gammu Key Features

            No Key Features are available at this moment for gammu.

            gammu Examples and Code Snippets

            No Code Snippets are available at this moment for gammu.

            Community Discussions

            QUESTION

            gammu-smsd not sending SMS's
            Asked 2021-Apr-29 at 13:34

            I compiled gammu-1.42 on Ubuntu and I can succesfully send SMS's using the command:

            ...

            ANSWER

            Answered 2021-Apr-29 at 13:34

            I solved this problem, the issue was not gammu-ssmd related but postgresql related.

            The timezone was wrong in the postgresql.conf, it was different by the server's timezone.

            If I runned "SELECT NOW();" in a postgres client on a distant computer the time was wrong but if I runned "SELECT NOW();" on the server than the time was fine. I'm not sure why this happened, I was hoping posgres NOW() will always give the same timezone.

            Anyway, this resulted in weird behaviour from gammu-ssmd as wrong dates were inserted in the columns SendingDateTime, SendingTimeOut... from outbox table of gammu.

            So I corrected the timezone, restarted postgresql and now everything is fine.

            Source https://stackoverflow.com/questions/67305278

            QUESTION

            SIM900 - Send SMS over 160 characters using Gammu
            Asked 2020-Feb-18 at 12:51

            I am using raspberry Pi 3 for sending SMS using SIM900A. I configured Gammu to send SMS via SIM900A and it worked fine. But I was able to send only 156 characters(Max). I need to send more than 200 characters.

            Command I used : " echo 'MESSAGE' | sudo gammu sendsms TEXT +91XXXXXXXXXX"

            Is there any way to do that? I am open for both AT commands and Gammu way.

            Thanks in advance...

            P.S : I would prefer TEXT format than PDU

            ...

            ANSWER

            Answered 2020-Feb-18 at 12:51

            This works for me.

            Please try this.

            Source https://stackoverflow.com/questions/59947134

            QUESTION

            gammu getallsms : Can not access SIM card
            Asked 2020-Jan-11 at 16:34

            Problem

            ...

            ANSWER

            Answered 2020-Jan-11 at 16:34

            This error happens when device cannot communicate with a SIM card.

            Perform the following steps to resolve the issue:

            1. Make sure your SIM card is properly inserted into SIM tray.
            2. Make sure the SIM card is activated. Test if you can send and receive messages in normal phone.
            3. Powercycle your device. Please remember that you must insert a SIM card when the device is SWITCHED OFF.

            For me the 3rd step worked. I removed the dongle and reconnected and it worked

            Source https://stackoverflow.com/questions/59696353

            QUESTION

            Reading property from object in exception
            Asked 2019-Dec-16 at 05:20

            I'm trying to read property from error object whilst I catch the exception. Error comes from Celery worker.

            Below I show the console with error from Celery:

            ...

            ANSWER

            Answered 2019-Dec-16 at 05:20

            QUESTION

            Error opening device, you don't have permissions (after gammu install)
            Asked 2019-May-18 at 00:59

            Just after installing the gammu and configuring the .gammrc in my home directory (/home/rafael/.gammurc), I get this error and I do not know what file I have to give "sufficient permissions.

            ...

            ANSWER

            Answered 2019-May-18 at 00:59

            You have to give goods permissions to gammu:

            Source https://stackoverflow.com/questions/51758164

            QUESTION

            Receiving a binary MMS
            Asked 2018-Dec-14 at 17:08

            When I receive MMS via gammu it comes over with binary hex code:

            ...

            ANSWER

            Answered 2018-Dec-14 at 17:08

            The response from the resulting URL returns a Response Code 308 Unknown, which redirects to the secure https version of the url; upon getting redirected I received a 400 Bad Request:

            Source https://stackoverflow.com/questions/53783799

            QUESTION

            How to configure gammu-smsd with mysql
            Asked 2018-Oct-11 at 07:44

            I'm trying to start the gammu sms service, when I run it with simple archives, it runs fine, but when I try to run it with the mysql database, it shows this error:

            Error code: 2002, Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

            The restart gammu-sms, show this message:

            ...

            ANSWER

            Answered 2018-Oct-11 at 07:44

            Your user has no permission, you started as user2@Lubuntu18.

            Try to start gammu-smsd as root, or add permission dialout to user2.

            Source https://stackoverflow.com/questions/51914008

            QUESTION

            Gammu SMS in Arabic using PHP does not be delivered
            Asked 2018-Jun-28 at 09:01

            I'm trying to have my own SMS gateway on my server using PHP. I have installed Gammu and I configured the permissions and settings well. Now it send SMS fine using the following prototype script:

            ...

            ANSWER

            Answered 2018-Jun-28 at 09:01

            Finally after many reading of this section of documentation and many tries, I have found the correct command's options to be like the following:

            Source https://stackoverflow.com/questions/51048762

            QUESTION

            ImportError: No module named 'gammu'
            Asked 2018-Mar-26 at 11:03

            I work on Ubuntu Xenial (16.04) with python3, I also installed anaconda.

            I installed python3-gammu (with apt install python3-gammu or/and pip install python3-gammu) to test send SMS.

            Just run python3 console and

            ...

            ANSWER

            Answered 2018-Mar-22 at 09:26

            When you are trying to import any package it will check sys.path, which contains all paths of packages. If it find the package you want to import it will import it.

            sorry for bad english...

            Why use sys.path.append(path) instead of sys.path.insert(1, path)?

            You may get clarity after seeing this ?

            Source https://stackoverflow.com/questions/49424554

            QUESTION

            How do I set up and test Gammu RunOnFailure script
            Asked 2018-Feb-01 at 19:53

            Gammu documentation related to gammu-smsdrc config says

            RunOnFailure New in version 1.28.93.

            Executes a program on failure.

            This can be used to proactively react on some failures or to interactively detect failure of sending message.

            The program will receive optional parameter, which can currently be either INIT (meaning failure during phone initialization)

            I have added the following to my /etc/gammu-smsdrc config file:

            RunOnFailure = /home/pi/fail.sh

            How do I access and use the parameter INIT? I want to setup SMS notificaion on failure of phone initialization.

            ...

            ANSWER

            Answered 2018-Feb-01 at 19:53

            I figured it out. There are two scenarios of failure.

            1. Problem with sending a message. In which case $1 (bash) will be an integer which is the row id of message in MySql database. I am not sure what its going to be if you have configured Gammu in file backend mode.

            2. Gammu cant access or connect to the phone or GSM modem. In this case $1 = INIT.

            I am using a PHP script to RunOnFailure so it is going to be $argv[1] for me.

            Source https://stackoverflow.com/questions/48558537

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install gammu

            You can install the package via composer:.
            There are two methods to send SMS using Gammu. First method is using native Gammu SMSD method, by inserting data directly to Gammu SMSD database. The second method is using Gammu Api. Make sure your Gammu SMSD has properly configured and able to send SMS by inserting data to outbox table. The Gammu SMSD and database can be installed in the same machine or in different machine. Add this settings in config/services.php to send SMS using native Gammu method.

            Support

            Please see CONTRIBUTING for details.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/laravel-notification-channels/gammu.git

          • CLI

            gh repo clone laravel-notification-channels/gammu

          • sshUrl

            git@github.com:laravel-notification-channels/gammu.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular SMS Libraries

            easy-sms

            by overtrue

            textbelt

            by typpo

            notifme-sdk

            by notifme

            ali-oss

            by ali-sdk

            stashboard

            by twilio

            Try Top Libraries by laravel-notification-channels

            telegram

            by laravel-notification-channelsPHP

            webpush

            by laravel-notification-channelsPHP

            fcm

            by laravel-notification-channelsPHP

            pusher-push-notifications

            by laravel-notification-channelsPHP

            onesignal

            by laravel-notification-channelsPHP