How to add new line character in sms using gammu/wammu

I have made a custom script in PHP and I am using gammu/wammu to send sms, but I am unable to figure out how to add new line character in SMS. I have tried \n \r \t 0x0a 0x0d &10; but none of...

Gammu SMS gateway service shows "Error 27"

This is my first experience using Gammu as SMS gateway, and I have a problem with the setup. This is my system: Windows 8.1 x64 Gammu 1.33.0 Windows x64 XAMPP 1.8.1 Database connection to MySQL...

Gammu stops receiving sms aftar a while.

I have a problem that's been bugging me for a while now. I'w been searching for solutions for 2 weeks now without any result. This guys have the same problem as me but no answers there.. Im...

Error trying to send sms by php

I installed gammu in linux and I can send sms using the shell command. But when I add the command in a php page I get the following error: $phone = 3588459717; echo shell_exec ('gammu sendSms...

Error, Start Gammu Service

I got error when i trying to start gammu service in Windows Local Services. The service can work if only i open in command prompt with only this command, and the command prompt must alive as long...

Error in generating documentation in Gammu with Visual Studio

Can someone help me in generating documentation from Gammu with the latest version? What I did is: Download source code Generate build files using Cmake for the manuals click on the .sln file for...

Error( Failed to get SMSC number from phone) in python-gammu when sending sms

I got this error in sending sms: gammu.ERR_GETTING_SMSC: {'Text': u'Failed to get SMSC number from phone.', 'Code': 69, 'Where': 'SendSMS'} Here is the code I use import gammu sm =...

Cannot send a SMS with gammu (error 500, message reference=-1)

I've been playing with gammu and Huawei USB modem: lsusb | grep Huawei Bus 001 Device 006: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem The modem is capable of...

send sms with variable in gammu [python]

Im trying to send a variable in an sms using gammu. Im using the gammu smsd runonreceive to run a python script when I send a message to my raspberry pi from my phone. This is what the script...

Gammu can not receive sms

I have a USB-Modem Manufacturer:Huawei Model:E3531. On the computer, the Gammu version 1.38.3 and Gammu-smsd version 1.38.3. installed. lsusb: Bus 001 Device 011: ID 12d1:1001 Huawei Technologies...

python-gammu not working with sudo

I'm trying to make run a SMS sending python script from PHP. SendSMS.py: #!/usr/bin/env python import gammu sm=gammu.StateMachine() sm.ReadConfig() sm.Init() message={ ...

gammu - No response in specified timeout. Probably phone not connected

What do I do wrong? $ gammu-detect ; Configuration file generated by gammu-detect. ; Please check The Gammu Manual for more information. [gammu] device = /dev/ttyACM0 name = samsung...

Gammu error insert to inbox

This MySQL query error happens when inserting into my inbox table. Error in SenderNumber column because value 'WENDY'S'. How to edit the MySQL syntax for inserting into the inbox in Gammu? I...

Gammu on raspberry Zero

I am trying to setup a raspberry zero to collect the temperature from a DS18B20 probe connected to a -20°C fridge of my lab. If a temperature above a certain value is detected, the raspberry...

Gammu SMS in Arabic using PHP does not be delivered

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...

Error opening device, you don't have permissions (after gammu install)

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. gammu...

How to configure gammu-smsd with mysql

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...

Receiving a binary MMS

When I receive MMS via gammu it comes over with binary hex code: Location 100010, folder "Inbox", phone memory, Inbox folder SMS message SMSC number : "+12063130055" Sent ...

How do i set up gammu-smsd.service on my RaspberryPi

I'm trying to configure Gammu-smsd.services with mysql on my Rasberry Pi. For information, gammu is working without smsd service. smsd service is working when on defaut (not with mysql) i got this...

Remove SMS from gammu outbox on send fail

I use gammu-smsd to send SMS from my rpi. Sometimes the SMSC returns an unknown error for an SMS and this SMS blocks all other SMS ... Example: my failed SMS in the outbox is...

gammu not sending special characters via PHP commandline

I'm trying to send and SMS string over a PHP laravel controller on a raspberry 2 (Raspian Linux) and i have the following function for that: public function processCmd($smsmodel) { ...

Bash "unexpected EOF while looking for matching" error - Improperly terminated c# string?

I am trying to send some data via SMS with a .net core 2.2 app, running on a Linux system. To do this I am using Gammu, an external program that I can call and supply with my text data in an...

Failed to Sending SMS with gammu (Error 500)

Problem: [email protected]:~ $ echo "Test" | sudo gammu sendsms TEXT +937******** If you want break, press Ctrl+C... Sending SMS 1/1....waiting for network answer..error 500, message...

gammu getallsms : Can not access SIM card

Problem [email protected]:~ $ gammu getallsms Can not access SIM card. I tried to get list of sms from my sim card that is inserted into my Huawai usb dongle lsusb [email protected]:~...

SIM900 - Send SMS over 160 characters using Gammu

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...

Huawei E3331 is not detected as modem (to send sms)

$ lsusb Bus 001 Device 014: ID 12d1:14fe Huawei Technologies Co., Ltd. Modem (Mass Storage Mode) $ gammu-detect ; Configuration file generated by gammu-detect. ; Please check The Gammu Manual...

Gammu - Entry is empty, cannot set SMSC

Short description: when I try to send a SMS I receive the error: "Failed to get SMSC number from phone." so I try to set the SMSC number and I receive the error: "Entry is empty." Commnads...

python subprocess.run() returns AttributeError: 'module' object has no attribute 'run'

I'm trying to execute a shell command from a python script. I'm using python 3.7.3, so the run() function should work properly, but it always throws the AttributeError: 'module' object has no...

Gammu: Error getting SMS status: Security error. Maybe no PIN?

I runnng gammu-smsd v. 1.40.0.0-1 on Raspbian 10. I am able to send messages with both sendsms and through gammu-smsd. However, gammu-smsd does not receive messages. When I check my log file...

gammu-smsd not sending SMS's

I compiled gammu-1.42 on Ubuntu and I can succesfully send SMS's using the command: echo "test" | /opt/gammu/bin/gammu --sendsms TEXT "0740...29" But I need to use the gammu-smsd to send SMS's...