How to use Gammu to capture incoming SMS? Programming Web Development by spothao I am doing a simple server to capture the incoming SMS with the Gammu, but i a beginner in PHP. After the cofiguration, how do the php page use the GSM device? How do configure the Gammu to capture the incoming SMS? Re: How to use Gammu to capture incoming SMS? Programming Web Development by c-tech Hi Spothao, Gammu has a program that scans GSM modems for received sms … [Click Here](http://wammu.eu/docs/manual/smsd/config.html#gammu-smsdrc) unable to execute external sms program from web interface Programming Web Development by c-tech … sms's from a browser window. I am using gammu ([url]http://wammu.eu/[/url]). I am able to… via web interface /*$comhandle=exec("/usr/local/bin/gammu-smsd") or die("Could not execute command&… //print system('dir'); /*$content=system('cat gammu-smsdrc'); echo $content;*/ $arg1='/usr/local/bin/gammu-smsd -c /var/www/html/gsms';… integrate a python script to the web Programming Software Development by JCsniper … i can do that? help me please! import sys import gammu import os import copy, re import commands message = ""… to send d sms") gam = 'echo \"'+message+'\"|gammu nothing --sendsms Text '+number sms = commands.getoutput(gam) url = ('/home… How to schedule task using php on windows? Programming Web Development by cvbayot … a consultant replies. specifications: windows xp, apache server, php, mysql, GAMMU (for sending sms) thanks in advance! problem calling php script from a shell script-linux newbie Programming Software Development by Keidi … to be called as the run on receive directive of gammu-smsd.My php script executes as expected when I call… Re: problem calling php script from a shell script-linux newbie Programming Software Development by ckoy … to be called as the run on receive directive of gammu-smsd.My php script executes as expected when I call… Re: problem calling php script from a shell script-linux newbie Programming Software Development by Keidi Thanks ckoy,the php script is now called without any errors But no gammu-smsd environment variables are passed as arguments!?? Any suggestions? Re: problem calling php script from a shell script-linux newbie Programming Software Development by Keidi OK so would you be kind enough to give a few ideas on how to go about exporting.By the way the .sh script is called by gammu-smsd does this change anything?? Re: problem calling php script from a shell script-linux newbie Programming Software Development by ckoy I don't know about gammu. But I google'd it and it seems the env vars are already exported in RunOnreceive directive. You just need to iterate over them in a loop, i.e. ${i} is unset in your code so you cannot get the vars. See [url]http://wammu.eu/docs/manual/smsd/run.html#passing-message-text-to-program[/url] Using ModemDriver.py Programming Software Development by AcmeUK … Broadband modem. Please don’t tell me to use Wammu/Gammu etc. I have wasted weeks trying to get then to… Re: Sms gateway api Programming Web Development by Keidi … I suggest Kannel [url]http://www.kannel.org/[/url] or gammu [url]http://wammu.eu/smsd/[/url] .The general procedure for… Re: How to Query Mysql for it Problem? Programming Databases by gacoekchip.pokher I am using [gammu](http://wammu.eu/) for project sms gateway Re: Getting my website to send SMS to my phone network provider Programming Web Development by gacoekchip.pokher I had used [Gammu](http://wammu.eu/) SMS Gateway to do so. http://wammu.eu/ Re: unable to execute external sms program from web interface Programming Web Development by c-tech Hi everyone, I've been able to crack the problem. It turns out that you have to allow the web server user, in my case it's apache, to be able to write the logs for the sms application. phew! Re: How to schedule task using php on windows? Programming Web Development by fatihpiristine the easiest way.. write an agent program to watch users's events... [url]http://www.adminscripteditor.com/forum/tm.asp?m=6375[/url] Re: problem calling php script from a shell script-linux newbie Programming Software Development by ckoy If you want env vars to be accessible in a script, you must export them. Another option is to pass them as arguments to the script but that requires some shell scripting knowledge. Re: Using ModemDriver.py Programming Software Development by slate I read the docs quickly. If I read it correcty, there is no advertised funkcionality in modemdriver.py, that allows you to use it as a library. As you said it. If all else fail you can construct the command line and the files needed in python, and run the whole thing with subprocess. To send sms you type: python ModemDriver.py -d /dev/ttyUSB0 -p … Re: Using ModemDriver.py Programming Software Development by AcmeUK Hi slate Thanks for your reply. I had come to the conclusion that I needed to work along the lines you indicated. **HOWEVER** I no longer need to use ModemDriver! I have located Python-gsmmodem and it contains python code to do what I want. I am able to get my credit balance using ussd and send a sms message. Thanks again for taking the time …