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

Error while executing a python script to send SMS from PHP

Edit Actually, the problem can be solved using the path of the configuration file as a parameter of the function sm.ReadConfig(Filename="/home/myuser/.gammurc") I'm using the Gammu library for python. My idea was to create a python script that can…
0
votes
1 answer

Cannot sending sms with gammu

i want to send sms with sintax like this: gammu-smsd-inject TEXT 08982242410 -text "hallo" and output is success connection to database. but number 08982242410 is not receive sms. when i try smsdlog, is getting error like this: Mon 2014/11/24…
kputri
  • 63
  • 1
  • 5
  • 18
0
votes
0 answers

Permission denied for relation table outbox

i want to instal gammu-smsd but i got error Thu 2014/11/20 06:04:17 gammu-smsd[31457]: Error: ERROR: permission denied for relation outbox Thu 2014/11/20 06:04:17 gammu-smsd[31457]: SQL failure: 2 Thu 2014/11/20…
kputri
  • 63
  • 1
  • 5
  • 18
0
votes
1 answer

Gammu-smsd runonreceive returns 0 but no program output

I've written a C application that grabs some sensor data and puts it into a string. This string gets passed to gammu-smsd-inject for transmission by SMSD. For reference, my application launches gammu-smsd-inject using fork() & wait(). The program…
Ben
  • 427
  • 5
  • 17
0
votes
1 answer

error run php script in ubuntu server terminal

I'm really confuse right now..i make this php script to send sms with gammu and put it in my home directory
riyaniya
  • 21
  • 2
0
votes
0 answers

php shell_exec can't read gammu configuration file

I want to gammu to identify my modem on ubuntu 12.04 with shell_exec() command...I have read many same problem like i have in many forum that suggest its about system privillages, and its true I cannot run gammu --identify without sudo..its always…
riyaniya
  • 21
  • 2
0
votes
1 answer

Gammu how to load balance between two modems

I have two GSM USB modems connected to my server, and we use gammu send SMS. We would like to load balance between both the modems, so that if 100 messages are send in day 50 goes from first and 50 goes from second. We are using standard Python…
ramdaz
  • 1,761
  • 1
  • 20
  • 43
0
votes
1 answer

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 using ODBC GSM modem used: Wavecom Fastrack…
0
votes
1 answer

How to return Gammu Python SendSMS function Sent Status?

Hi and thanks for taking the time to help. I'm currently using the following code #!/usr/bin/env python # Sample script to show how to send SMS import gammu import sys sm = gammu.StateMachine() sm.ReadConfig() sm.Init() message = { 'Text':…
Eddwin Paz
  • 2,842
  • 4
  • 28
  • 48
0
votes
1 answer

Recieve and reply to sms on huawei modem, gammu-smsd: Process failed with exit status 2

I Have a Huawei E220 HSDPA Modem on linux xubuntu I wanted to recieve sms and reply automatically to the sender. I Use gammu and Gammu-smsd to do this. To automatically send sms back I added runOnRecieve = /path/to/bash/file into the…
Mattis Asp
  • 993
  • 3
  • 14
  • 29
0
votes
1 answer

error opening device in gammu through php

i am trying to send sms through gammu in php. when i run the code in console it works perfectly, when i execute it through exec function it shows error opening device it does not exist. Any help will be appreciated
Natto
  • 213
  • 1
  • 4
  • 17
0
votes
1 answer

gammu-smsd SQL Query Customization

I've a Problem with the gammu smsd-daemon. I wan't to customize some mysql querys to write something into my database. I found this http://wammu.eu/docs/manual/smsd/sql.html#gammu-smsd-sql So I added this line to my config: [sql] refresh_phone_state…
brokedid
  • 879
  • 2
  • 10
  • 35
-1
votes
1 answer

Database structure is from newer Gammu version

i get error when run gammu-smsd Log filename is "/var/log/gammu-smsd" gammu-smsd[11271]: Database structure is from newer Gammu version gammu-smsd[11271]: Initialisation failed, stopping Gammu smsd: Unknown error. (UNKNOWN[27]) Failed to run SMSD:…
kputri
  • 63
  • 1
  • 5
  • 18
-2
votes
1 answer

Network Modem for Gammu Device

I'd like to configure Gammu SMS Gateway to work with a network GSM modem. The modem has a LAN IP address. Is it possible? The documentation I read only mentions serial/USB connections.
alboforlizo
  • 170
  • 1
  • 6
1 2 3
8
9