Questions tagged [gammu]

Gammu is an abstraction layer to work with different cell phones from different vendors (including Nokia, Sony-Ericsson, Motorola, Samsung, Siemens, Huawei and others).

Wammu is built on Gammu library, which provides abstraction layer to work with different cell phones from different vendors (including Nokia, Sony-Ericsson, Motorola, Samsung, Siemens, Huawei and others).

Useful Links

134 questions
0
votes
1 answer

Sending MMI codes from bash script

I am trying to make a little bash script that will activate call forwarding to some number on some condition using mobile broadband dongle connected to the usb port. I can easily send sms messages, call USSD codes using either mmcli (ubuntu) or…
krasinski
  • 69
  • 2
0
votes
1 answer

Gammu and PostgreSQL send 8bit sms

I'm working with Gammu and PostgreSQL to send sms from my computer. I have success sending a normal text sms. But i have some problem now when trying to send 8bit (Binary) message to my devices. Here's my simple query to inject message to gammu…
Anton
  • 75
  • 7
0
votes
1 answer

gammu-smsd sends sms only on startup

I run gammu-smsd: # gammu-smsd Log filename is "/var/log/gammu-smsd.log" next I send sms via gammu-smsd-inject: # echo sms bla bla bla | gammu-smsd-inject TEXT 123456789 gammu-smsd-inject[2050]: Warning: No PIN code in /etc/gammu-smsdrc…
Krzysztof Szewczyk
  • 1,752
  • 1
  • 21
  • 25
0
votes
0 answers

Gammu incoming messages not stored in "Inbox" table

I make an sms-gateway app using Windows 7, XAMPP/PHP/MySQL, Gammu 1.33, Modem Wavecom 1306B. My problem is why incoming messages not stored in Inbox table?? Even try getallsms via CLI there's nothing. All configuration are set, modem identified,…
0
votes
1 answer

How to establish M2M communication with gammu?

How can I establish a session-based M2M connection with gammu? I'm using hardware module SIM800L and a 4G SIM card. I can do USSD and SMS with gammu, but USSD can only be used to communicate with the operator network, not other SIM card, and SMS is…
João M. S. Silva
  • 1,078
  • 2
  • 11
  • 24
0
votes
1 answer

Gammu and a Raspberry Pi

I installed gammu-smsd. After a whole lot of grappling with permissions and tearing hair I finally got the RunOnReceive script to run without exiting on an error. In its current truncated form it says message=$SMS_1_TEXT echo message is {$message}…
Ian Boag
  • 2,462
  • 2
  • 10
  • 6
0
votes
1 answer

Gammu cannot contact device after sending first sms

I have installed gammu 1.33.0-3 and gammu-smsd 1.33.0-3. When starting gammu and injecting some message into the SQL-Queue, the message is being sent. However, after the first sms nothing works anymore and I need to kill -9 gammu in order to be able…
Leon Kramer
  • 486
  • 3
  • 13
0
votes
1 answer

Getting LONG_BIT error when installing gammu in Mac OS X using GCC 4

I'm trying to install Python-Gammu on a mac running Snow Leopard. I successfully configured gammu with cmake and GCC 4, but am getting this error on install. It seems to indicate an improperly configured gcc, but i'm not sure what can be done…
Jeremy Gordon
  • 551
  • 4
  • 15
0
votes
1 answer

Gammu - Can receive SMS but can't dialvoice

With my gammu configuration, on a Huawei E220 modem, I can receive SMS, but I cant dialvoice. Here is my gammu config file (used by both gammu-smsd and gammu) : # Configuration file for Gammu SMS Daemon # Gammu library configuration, see…
griffin
  • 25
  • 1
  • 6
0
votes
1 answer

Undefined offset: 0 in yii2

I just have that code in my model, and as a result of that, I got Undefined offset: 0 what should I do to solve that? I've tried declare new variable, but still nothing change. Thank you public function sendSMS() { $model2 =…
0
votes
2 answers

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 as the service is on Is there is another way, to…
Iman Tumorang
  • 131
  • 2
  • 9
  • 25
0
votes
2 answers

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 TEXT '.$phone.' -text "test msg"'); Error opening…
Roberto
  • 5
  • 4
0
votes
1 answer

gammu receive sms message python fails

I have found a script on this website http://wammu.eu/docs/manual/smsd/run.html #!/usr/bin/python import os import sys numparts = int(os.environ['DECODED_PARTS']) # Are there any decoded parts? if numparts == 0: print('No decoded parts!') …
Mensur
  • 457
  • 9
  • 28
0
votes
0 answers

Gammu Timeout on identifying modem

I setup gammu on OSX and has a configuration as below: [gammu] port = /dev/tty.usbmodem24127 model = connection = at115200 synchronizetime = yes logfile = logformat = nothing use_locking = gammuloc = I got this error "No response in…
June Leow
  • 102
  • 1
  • 16
0
votes
1 answer

Python exception handling within module

Stackoverflow posts helped me a lot with Python, however I stuck on this one. I cannot figure out how to simply skip module if it has exceptions within it. Also, if it happens I like to alter one variable so rest of code would know to skip…
Nerijus
  • 1
  • 1
1 2 3
8
9