--- In playsms-devel@yahoogroups.com, "r_cong" <r_cong@...> wrote:
>
> Hi,
>
> I was trying to setup playsms with Kannel, however, it seems that I can not
send anything from playsms, it prompt me Fail to sent SMS to `+16474351242".
Can someone please give me a hint?
>
> Regards,
> roger
>
can you send sms from kannel without playsms?
I am newbie and I have just installed playsms with gnokii as gateway. i have
successed send a sms with gnokii (echo "test" | gnokii --sendsms
+623177576477 -r). But when i try send with playsms, there is no send
anything. I 've check on outgoing sms but the status is pending. I've see
/var/spool/playsms there is any file like out.PV.1.xx. I've see
/var/log/playsms, but this folder is empty. i've checked menu gateway -
manage gnokii : gateway name :gnokii (Active).
I think my playsms is not connected with gnokii. what should i do
Hi,
I was trying to setup playsms with Kannel, however, it seems that I can not send
anything from playsms, it prompt me Fail to sent SMS to `+16474351242". Can
someone please give me a hint?
Regards,
roger
Guys, first thing..awesome code Playsms is.
Anyhow, i have one problem here. Seems like playsms does not recognize BC as
builtin keyword. I got the error below each time I try to broadcast my sms to a
group.
* User Time Sender Keyword Content Feature Status Action
44. 2009-06-19 01:15:52 +601XXXXXXX Bc snet test fail Reply
Phonebook Delete
Keyword field is empty. Every word goes to Content field.
Anyhelp would be appreciated.
thanks
This surely must be a FAQ but I spent all day looking for info on the web and
tracing php scripts without success.
I installed gnokii on Ubuntu 8.04, checked that I could send and receive sms
messages OK. I then installed playsms (0.9.3) and although the web interface is
up OK, any sms I send goes into the mysql playsms database but never gets sent
(message displayed is "Fail to send SMS").
Any message sent TO the machine is received and stuffed into a text file in
/var/spool/playsms/ERR.in.hsnnnn, and never makes it to the database ...
The following smsd processes are running:
# ps -aef |grep smsd
root 5179 1 0 21:21 ? 00:00:00 /bin/bash ./gnokii_smsd_checker
root 5183 1 0 21:21 ? 00:00:00 /bin/bash ./playsmsd
/data/websites/sms.angusdrive.net
root 5203 5179 0 21:21 ? 00:00:00 /usr/sbin/smsd -m file -c
xxxxxxxxxxxxxxxxxx -u xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -f
/var/log/playsms/gnokii_smsd_logs
root 5509 5494 0 21:37 pts/0 00:00:00 grep smsd
Any ideas or tips ??
Hi,
i need the proceedure for building free sms in website.
thanks,
sasanka
--- In playsms-devel@yahoogroups.com, Shawn Webey <swebey@...> wrote:
>
> Dear Friends,
>
> I am planning to launch a free SMS website for India where users can register
and send free sms to mobile. I heard PlaySMS is a great tool for building the
same.
>
> Can anyone help in advising the realities / challenges to start my dream
project?
>
> Thank you
>
> Shawn
>
I have C# application that connected to multiple GSM modems it is working fine,
presently i am using my own php script that put data into database and C#
application pull data after every 5 second.
Now, I want to use playSMS by configuring gateway in windows, please help me out
to develop this gateway.
Regards,
MTH
Hello,
I have a shared hosting account envirnment but I do have ssh access.
However I am wondering if anyone has gotten playsms to work on such a hosting
account or if a dedicated is the way to go.
Hello all,
What I am wanting to do is have a preset cell phone number and be able to have
people text a specific text message in to the cell phone number and then have it
search my mysql database for that keyword and send a text message back.
So my question is I see this script can do mobile2web so cen it enable someone
to text a message in and then search a mysql and send a text back to the
origionating cell number ? I know some modification may need to be done I know
php pretty well. Just want to know if this has the ability or if someone knows
another script that may already do this
Thanks
--- In playsms-devel@yahoogroups.com, "srinnl" <ramdas.suresh@...> wrote:
>
> Hi,
>
> Recently I have installed kannel and playsms on a centos5.3 system. Kannel is
using fakesmsc, tested and working fine. Playsms web-frontend is also working
and also the mysql database can be accessed. But when I try to send an sms with
kannel gateway I always get "Fail to sent SMS to `<number>`. There is no logfile
written by playsms so I have no clue where to look. Nothing seems to be send to
kannel, because the logs are empty. Can anyone please guide me with some
troubleshooting tips?
>
> Br,
> Roy
>
I found some Apache (httpd)logs:
192.168.1.33 - - [18/Aug/2009:15:50:34 +0200] "POST
/playsms/menu.php?inc=send_sms&op=sendsmstopv_yes HTTP/1.1" 302 4400
"http://192.168.1.59/playsms/menu.php?inc=send_sms&op=sendsmstopv&message=hi&err\
=Fail+to+sent+SMS+to+%60%2B31624096082%60%3Cbr%3E" "Mozilla/4.0 (compatible;
MSIE 6.0; Windows NT 5.1; SV1; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727;
InfoPath.1; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)"
192.168.1.33 - - [18/Aug/2009:15:50:34 +0200] "GET
/playsms/menu.php?inc=send_sms&op=sendsmstopv&message=hi&err=Fail+to+sent+SMS+to\
+%60%2B31624096082%60%3Cbr%3E HTTP/1.1" 200 7630
"http://192.168.1.59/playsms/menu.php?inc=send_sms&op=sendsmstopv&message=hi&err\
=Fail+to+sent+SMS+to+%60%2B31624096082%60%3Cbr%3E" "Mozilla/4.0 (compatible;
MSIE 6.0; Windows NT 5.1; SV1; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727;
InfoPath.1; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)"
192.168.1.33 - - [18/Aug/2009:15:50:35 +0200] "GET
/playsms/plugin/themes/default/jscss/addfield.js HTTP/1.1" 404 -
"http://192.168.1.59/playsms/menu.php?inc=send_sms&op=sendsmstopv&message=hi&err\
=Fail+to+sent+SMS+to+%60%2B31624096082%60%3Cbr%3E" "Mozilla/4.0 (compatible;
MSIE 6.0; Windows NT 5.1; SV1; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727;
InfoPath.1; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)"
And I have installed 0.94 version of playsms.
Hi,
Recently I have installed kannel and playsms on a centos5.3 system. Kannel is
using fakesmsc, tested and working fine. Playsms web-frontend is also working
and also the mysql database can be accessed. But when I try to send an sms with
kannel gateway I always get "Fail to sent SMS to `<number>`. There is no logfile
written by playsms so I have no clue where to look. Nothing seems to be send to
kannel, because the logs are empty. Can anyone please guide me with some
troubleshooting tips?
Br,
Roy
@Alvaro :
I'm use SMS servertools from http://smstools3.kekekasvi.com in Fedora 8 and
database MySQL, using Motorola C650 as modem (connected with PC using its data
cable).
My configuration (vim /etc/smsd.conf) :
==============configuration============
# Example smsd.conf. Read the manual for a description
devices = C650
logfile = /var/log/smsd.log
failed = /var/spool/sms/failed
sent = /var/spool/sms/sent
incoming = /var/spool/sms/incoming
checked = /var/spool/sms/checked
outgoing = /var/spool/sms/outgoing
loglevel = 7
eventhandler = /usr/local/bin/BUPB_handler
store_received_pdu = 3
[C650]
device = /dev/ttyACM0
check_memory_method = 3
baudrate = 460800
incoming = yes
cs_convert = yes
rtscts = yes
send_delay = 300
report = yes
pin = 1111
=======end of configuration===========
@Ervan :
Thanks for the example.
Now it run. My eventhandler can send me sms "your format is wrong. Type
REG#name" if my format is wrong (format : REG#nama).
If my format is true/valid, then it will generate ID for me (client) and also
store ID+name+telnumber to database.
here is script of my eventhandler :
===============script==========
#!/bin/sh
#script : BUPB_handler
#location : /usr/local/bin
#Script for input data client from SMS
#It will be run if a SMS received as the format
#Data of client will be insert (store) into DB 'bupbdb' if contain tag 'reg'
#if empty
if [ "$1" != "RECEIVED" ]; then
exit;
fi;
#parameter of my DB
SQL_HOST=localhost
SQL_USER=admin
SQL_PASSWORD=
SQL_DATABASE=bupbdb
SQL_TABLE=cltsms
#Ekstract data from SMS that received
FROM=`formail -zx From: < $2`
TEXT=`formail -I "" <$2 | sed -e"1d"`
#Setting parameter of SQL
if [ "$SQL_PASSWORD" != "" ]; then SQL_ARGS="-p $SQL_PASSWORD";
else
SQL_ARGS="";
fi
SQL_ARGS="-h $SQL_HOST -u $SQL_USER $SQL_ARGS -D $SQL_DATABASE -s -e"
#Check message if contain tag 'reg'
TEXTS=`echo $TEXT|sed -e's/[\t]//g'`
if echo $TEXTS|grep -qi "reg"
then
KODE=`mktemp CXXXX`
NAMA=`echo $TEXTS|cut -f2 -d#`
ISITEKS=``
#Insert into table cltsms
A=`mysql $SQL_ARGS "insert into $SQL_TABLE (ID,notel,nama,file)
values(\"$KODE\",\"$FROM\",\"$NAMA\",\"$ISITEKS\");"`
# NOTICE this: "$FROM\")",\"$NAME
#echo "A=mysql $SQL_ARGS insert into $SQL_TABLE (ID,notel,nama,file)
#values(\"$KODE\",\"$FROM\",\"$NAME\");"
#Create SMS confirmation to client if format is valid
#Include ID (generated by server) and client name
FILENAME=`mktemp /var/spool/sms/outgoing/REGBXXXXXX`
#FILENAME= `mktemp /tmp/REGBXXXXXX`
echo "To: $FROM" >$FILENAME
echo "" >> $FILENAME
echo "$NAMA, you are registered with ID $KODE" >>$FILENAME
else
#Create SMS confirmation to client if format is wrong
FILENAME=`mktemp /var/spool/sms/outgoing/REGSXXXXXX`
#FILENAME=`mktemp /tmp/REGSXXXXXX`
echo "To: $FROM" >$FILENAME
echo "" >> $FILENAME
echo "Your SMS format is wrong. Type REG#nama" >>$FILENAME
fi
==================end of script===========
And now I'm try to do as following :
=============speciffication=============
Now I'm want to add some script in BUPB_handler so that it can :
1. Check sms from client with format KRM#ID#nama
If format is wrong, then server will send client sms "Your format is wrong. Type
KRM#ID#name"
If format is valid, but ID and or name wrong, then server will send sms to
client "your ID and or name not correct. try again"
If both of them (format+ID+name) valid, server will send client a sms "Thanks."
Hint :
ID = ID that generated by server in registration phase.
Name = name client, registered by client.
Both of them (ID and name) checked on database.
2. Check sms from client with format GET#ID#nama (same like no 1)
if format is wrong, then server will send client sms "Your format is wrong. Type
GET#ID#name"
If format is valid, but ID and or name wrong, then server will send sms to
client "your ID and or name not correct. try again"
If both of them (format+ID+name) valid, server will send client a sms "Thanks."
Hint :
ID = ID that generated by server in registration phase.
Name = name client, registered by client.
Both of them (ID and name) checked on database.
==========end of specification=======
But, until now, why it still error?
Could you help me plz? :(
--- In playsms-devel@yahoogroups.com, ervan1 mardianto <vahn_burningflare@...>
wrote:
>
> in this case its seem you use smstools right?
> you can make a eventhandler script with "grep" command for filtering text
message
>
> this is a simple example:
>
> if echo $TEXT | grep -qi "^reg*"; then
> sendsms $FROM 'you've already registered in the name of '$name' '
> fi
>
> regards, :)
>
> Ervan Mardianto
> W:ervanmardianto.com
> Y:vahn_burningflare
> E : a@...
>
> --- Pada Sen, 10/8/09, i_putu_agus_eka_pratama <i.putu.agus.eka.pratama@...>
menulis:
>
> Dari: i_putu_agus_eka_pratama <i.putu.agus.eka.pratama@...>
> Judul: [playsms-devel] A Script to handle (Eventhandler) in server side
> Kepada: playsms-devel@yahoogroups.com
> Tanggal: Senin, 10 Agustus, 2009, 2:39 AM
>
>
>
>
>
>
>
>
>
>
>
>
> Hi all,
>
>
>
> I try to make a system where client can send their sms (contained contact file
in it that compressed) to server using sms gateway concept. In this case, server
must handle 3 condition : registration, request sending file to server (by
client), and request take file in server (by client, and server will be send it
to client).
>
>
>
> In this case, I separate this plan by two side : client side and server side.
>
>
>
> In client side, I'm develop an application (jar) using J2ME that can
read/write phonebook (in symbian S60), compression contact (client can select
how many contact that they want to compress), and send it to server via sms. In
this thread, I think I didn't need to tell it more, because out of topic. My
application run well in my Nokia N81 8GB when I test it.
>
>
>
> In server side, I'm use sms gateway concept to send and receive sms from and
to client (also using database mysql). Database will saving 4 things (in 4
field) : ID client (generate by server in client registration phase), name+phone
number of client (that contained in sms of registration) , and file backup phone
book (that send by client in sending file phase, in form of sms). My question
focus in server side.
>
>
>
> I want to make an script for the eventhandler (will be add on /etc/smsd.conf)
that contain with that three condition above :
>
> 1. ) In registration phase.
>
> Check incoming sms from client that register to server via SMS.
>
> If incoming sms contain "reg" (not case sensitive), server will generate an ID
for client (ie : Cxxx) and send a sms : "$name, thanks for registration. Your ID
is $id_client_that_ generated_ by_server_ after_client_ registration"
>
> If sms didn't contain "reg", server will send client a sms that contain
message "Sorry, your format is wrong. Type : REG#your_name" .
>
>
>
> 2.) Request sending file to server (by client) phase.
>
> Check incoming sms from client that contain "KRM#id_client" (KRM not case
sensitive).
>
> If incoming sms didn't contain "krm" and or wrong/not valid ID, server will
send client a sms "The format of your sms and or your ID is wrong. Type KRM#ID"
>
> If it's true, server will send a sms to client :"$name, now you may send files
to server".
>
> And after client send their file to server via sms and server received it,
server will send sms report to client : "$name, your file was saved in the
server".
>
>
>
> 3. Check incoming sms form client that contain "GET#id_client" (GET not case
sensitive).
>
> If incoming sms didn't contain "get" and or wrong/not valid ID, server will
send client a sms "your format of sms or your ID is wrong. Type GEt#ID"
>
> If it's true, server will send a sms to client :"$name, wait a minutes. We
will send your file via SMS".
>
>
>
> I've try to write the script (based on example of sms server tools and also my
friend) to solve my problem in server side above (but "reg" only, I can't for
"krm" and "get" ), in attachmnt.
>
>
>
> I've try it at SMS Server Tools (as shell script in eventhandler
/etc/smsd.conf) , but it only run well when I'm send a sms that contain wrong
format (ex : ref#jhon) and server will send me a sms that contain message "your
format is worng. Type : reg#name".
>
>
>
> But if my format valid, it can't generate ID for client (in this case is
sender, myself), store data (name, ID, telp number) in database, and also can't
send client sms that contain format "$nama, your registration is complete. your
Id is xxx".
>
>
>
> help me to solve my problem and complete my script. Thanks,
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Menambah banyak teman sangatlah mudah dan cepat. Undang teman dari
Hotmail, Gmail ke Yahoo! Messenger sekarang!
http://id.messenger.yahoo.com/invite/
>
thanks for the answer. i've try sudo chmod /var/spool/playsms, but still not working. on INSTALL documentation we was asked create user playsms and password playsms on linux system. should i login with that user? I've used telkomsel, where i must put sms-center number (+6281100000)?
regard
farid
--- On Sat, 15/8/09, Ayah Fathimah <ayahfathimah@...> wrote:
From: Ayah Fathimah <ayahfathimah@...> Subject: Re: [playsms-devel] my playsms not connected gnokii To: playsms-devel@yahoogroups.com Date: Saturday, 15 August, 2009, 3:00 PM
try this
$ sudo chmod -R 777 /var/spool/playsms
On Sat, Aug 15, 2009 at 1:10 PM, Muhammad
Farid<faridxmailbox@ yahoo.com. sg> wrote:
>
>
> hi expert,
> Iam newbie and I 've just installed playsms with gnokii as gateway. i have
> successed send a sms with gnokii (echo "test" | gnokii --sendsms
> +623177576477 -r). But when i try send with playsms, there is no send
> anything. I 've check on outgoing sms but the status is pending. I've see
> /var/spool/playsms there is any file like out.PV.1.xx. I've see
> /var/log/playsms, but this folder is empty. i've checked menu gateway -
> manage gnokii : gateway name :gnokii (Active).
> I think my playsms is not connected with gnokii. what should i do ?
New Email names for you!
Get the Email name you've always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!
try this
$ sudo chmod -R 777 /var/spool/playsms
On Sat, Aug 15, 2009 at 1:10 PM, Muhammad
Farid<faridxmailbox@...> wrote:
>
>
> hi expert,
> Iam newbie and I 've just installed playsms with gnokii as gateway. i have
> successed send a sms with gnokii (echo "test" | gnokii --sendsms
> +623177576477 -r). But when i try send with playsms, there is no send
> anything. I 've check on outgoing sms but the status is pending. I've see
> /var/spool/playsms there is any file like out.PV.1.xx. I've see
> /var/log/playsms, but this folder is empty. i've checked menu gateway -
> manage gnokii : gateway name :gnokii (Active).
> I think my playsms is not connected with gnokii. what should i do ?
hi expert, Iam newbie and I 've just installed playsms with gnokii
as gateway. i have successed send a sms with gnokii (echo "test" |
gnokii --sendsms +623177576477 -r). But when i try send with playsms,
there is no send anything. I 've check on outgoing sms but the status
is pending. I've see /var/spool/playsms there is any file like
out.PV.1.xx. I've see /var/log/playsms, but this folder is empty. i've
checked menu gateway - manage gnokii : gateway name :gnokii (Active). I think my playsms is not connected with gnokii. what should i do ?
regard
farid
New Email names for you!
Get the Email name you've always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!
in this case its seem you use smstools right? you can make a eventhandler script with "grep" command for filtering text message
this is a simple example:
if echo $TEXT | grep -qi "^reg*"; then sendsms $FROM 'you've already registered in the name of '$name' ' fi
regards, :)
Ervan Mardianto W:ervanmardianto.com Y:vahn_burningflare E : a@...
--- Pada Sen, 10/8/09, i_putu_agus_eka_pratama <i.putu.agus.eka.pratama@...> menulis:
Dari: i_putu_agus_eka_pratama <i.putu.agus.eka.pratama@...> Judul: [playsms-devel] A Script to handle (Eventhandler) in server side Kepada: playsms-devel@yahoogroups.com Tanggal: Senin, 10 Agustus, 2009, 2:39
AM
Hi all,
I try to make a system where client can send their sms (contained contact file in it that compressed) to server using sms gateway concept. In this case, server must handle 3 condition : registration, request sending file to server (by client), and request take file in server (by client, and server will be send it to client).
In this case, I separate this plan by two side : client side and server side.
In client side, I'm develop an application (jar) using J2ME that can read/write phonebook (in symbian S60), compression contact (client can select how many contact that they want to compress), and send it to server via sms. In this thread, I think I didn't need to tell it more, because out of topic. My application run well in my Nokia N81 8GB when I test it.
In server side, I'm use sms gateway concept to send and receive sms from and to client (also using database mysql). Database will saving 4 things (in 4 field) : ID client (generate by server in client registration phase), name+phone number of client (that contained in sms of registration) , and file backup phone book (that send by client in sending file phase, in form of sms). My question focus in server side.
I want to make an script for the eventhandler (will be add on /etc/smsd.conf) that contain with that three condition above :
1. ) In registration phase.
Check incoming sms from client that register to server via SMS.
If incoming sms contain "reg" (not case sensitive), server will generate an ID for client (ie : Cxxx) and send a sms : "$name, thanks for registration. Your ID is $id_client_that_ generated_ by_server_ after_client_ registration"
If sms didn't contain "reg", server will send client a sms that contain message "Sorry, your format is wrong. Type : REG#your_name" .
2.) Request sending file to server (by client) phase.
Check incoming sms from client that contain "KRM#id_client" (KRM not case sensitive).
If incoming sms didn't contain "krm" and or wrong/not valid ID, server will send client a sms "The format of your sms and or your ID is wrong. Type KRM#ID"
If it's true, server will send a sms to client :"$name, now you may send files to server".
And after client send their file to server via sms and server received it, server will send sms report to client : "$name, your file was saved in the server".
3. Check incoming sms form client that contain "GET#id_client" (GET not case sensitive).
If incoming sms didn't contain "get" and or wrong/not valid ID, server will send client a sms "your format of sms or your ID is wrong. Type GEt#ID"
If it's true, server will send a sms to client :"$name, wait a minutes. We will send your file via SMS".
I've try to write the script (based on example of sms server tools and also my friend) to solve my problem in server side above (but "reg" only, I can't for "krm" and "get" ), in attachmnt.
I've try it at SMS Server Tools (as shell script in eventhandler /etc/smsd.conf) , but it only run well when I'm send a sms that contain wrong format (ex : ref#jhon) and server will send me a sms that contain message "your format is worng. Type : reg#name".
But if my format valid, it can't generate ID for client (in this case is sender, myself), store data (name, ID, telp number) in database, and also can't send client sms that contain format "$nama, your registration is complete. your Id is xxx".
help me to solve my problem and complete my script. Thanks,
Hi
I assume you are using kannel... what is its config?
Regards
Alvaro
|-------------------------------------------------------------------------------\
----------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com
On Sun, Aug 9, 2009 at 2:39 PM,
i_putu_agus_eka_pratama<i.putu.agus.eka.pratama@...> wrote:
>
>
> Hi all,
>
> I try to make a system where client can send their sms (contained contact
> file in it that compressed) to server using sms gateway concept. In this
> case, server must handle 3 condition : registration, request sending file to
> server (by client), and request take file in server (by client, and server
> will be send it to client).
>
> In this case, I separate this plan by two side : client side and server
> side.
>
> In client side, I'm develop an application (jar) using J2ME that can
> read/write phonebook (in symbian S60), compression contact (client can
> select how many contact that they want to compress), and send it to server
> via sms. In this thread, I think I didn't need to tell it more, because out
> of topic. My application run well in my Nokia N81 8GB when I test it.
>
> In server side, I'm use sms gateway concept to send and receive sms from and
> to client (also using database mysql). Database will saving 4 things (in 4
> field) : ID client (generate by server in client registration phase),
> name+phone number of client (that contained in sms of registration), and
> file backup phone book (that send by client in sending file phase, in form
> of sms). My question focus in server side.
>
> I want to make an script for the eventhandler (will be add on
> /etc/smsd.conf) that contain with that three condition above :
> 1. ) In registration phase.
> Check incoming sms from client that register to server via SMS.
> If incoming sms contain "reg" (not case sensitive), server will generate an
> ID for client (ie : Cxxx) and send a sms : "$name, thanks for registration.
> Your ID is $id_client_that_generated_by_server_after_client_registration"
> If sms didn't contain "reg", server will send client a sms that contain
> message "Sorry, your format is wrong. Type : REG#your_name".
>
> 2.) Request sending file to server (by client) phase.
> Check incoming sms from client that contain "KRM#id_client" (KRM not case
> sensitive).
> If incoming sms didn't contain "krm" and or wrong/not valid ID, server will
> send client a sms "The format of your sms and or your ID is wrong. Type
> KRM#ID"
> If it's true, server will send a sms to client :"$name, now you may send
> files to server".
> And after client send their file to server via sms and server received it,
> server will send sms report to client : "$name, your file was saved in the
> server".
>
> 3. Check incoming sms form client that contain "GET#id_client" (GET not case
> sensitive).
> If incoming sms didn't contain "get" and or wrong/not valid ID, server will
> send client a sms "your format of sms or your ID is wrong. Type GEt#ID"
> If it's true, server will send a sms to client :"$name, wait a minutes. We
> will send your file via SMS".
>
> I've try to write the script (based on example of sms server tools and also
> my friend) to solve my problem in server side above (but "reg" only, I can't
> for "krm" and "get" ), in attachmnt.
>
> I've try it at SMS Server Tools (as shell script in eventhandler
> /etc/smsd.conf), but it only run well when I'm send a sms that contain wrong
> format (ex : ref#jhon) and server will send me a sms that contain message
> "your format is worng. Type : reg#name".
>
> But if my format valid, it can't generate ID for client (in this case is
> sender, myself), store data (name, ID, telp number) in database, and also
> can't send client sms that contain format "$nama, your registration is
> complete. your Id is xxx".
>
> help me to solve my problem and complete my script. Thanks,
>
>
Hi all,
I try to make a system where client can send their sms (contained contact file
in it that compressed) to server using sms gateway concept. In this case, server
must handle 3 condition : registration, request sending file to server (by
client), and request take file in server (by client, and server will be send it
to client).
In this case, I separate this plan by two side : client side and server side.
In client side, I'm develop an application (jar) using J2ME that can read/write
phonebook (in symbian S60), compression contact (client can select how many
contact that they want to compress), and send it to server via sms. In this
thread, I think I didn't need to tell it more, because out of topic. My
application run well in my Nokia N81 8GB when I test it.
In server side, I'm use sms gateway concept to send and receive sms from and to
client (also using database mysql). Database will saving 4 things (in 4 field) :
ID client (generate by server in client registration phase), name+phone number
of client (that contained in sms of registration), and file backup phone book
(that send by client in sending file phase, in form of sms). My question focus
in server side.
I want to make an script for the eventhandler (will be add on /etc/smsd.conf)
that contain with that three condition above :
1. ) In registration phase.
Check incoming sms from client that register to server via SMS.
If incoming sms contain "reg" (not case sensitive), server will generate an ID
for client (ie : Cxxx) and send a sms : "$name, thanks for registration. Your ID
is $id_client_that_generated_by_server_after_client_registration"
If sms didn't contain "reg", server will send client a sms that contain message
"Sorry, your format is wrong. Type : REG#your_name".
2.) Request sending file to server (by client) phase.
Check incoming sms from client that contain "KRM#id_client" (KRM not case
sensitive).
If incoming sms didn't contain "krm" and or wrong/not valid ID, server will send
client a sms "The format of your sms and or your ID is wrong. Type KRM#ID"
If it's true, server will send a sms to client :"$name, now you may send files
to server".
And after client send their file to server via sms and server received it,
server will send sms report to client : "$name, your file was saved in the
server".
3. Check incoming sms form client that contain "GET#id_client" (GET not case
sensitive).
If incoming sms didn't contain "get" and or wrong/not valid ID, server will send
client a sms "your format of sms or your ID is wrong. Type GEt#ID"
If it's true, server will send a sms to client :"$name, wait a minutes. We will
send your file via SMS".
I've try to write the script (based on example of sms server tools and also my
friend) to solve my problem in server side above (but "reg" only, I can't for
"krm" and "get" ), in attachmnt.
I've try it at SMS Server Tools (as shell script in eventhandler
/etc/smsd.conf), but it only run well when I'm send a sms that contain wrong
format (ex : ref#jhon) and server will send me a sms that contain message "your
format is worng. Type : reg#name".
But if my format valid, it can't generate ID for client (in this case is sender,
myself), store data (name, ID, telp number) in database, and also can't send
client sms that contain format "$nama, your registration is complete. your Id is
xxx".
help me to solve my problem and complete my script. Thanks,
Dear all,
recently PlaySMS which I Installed, already available to display all incoming
sms message (only on administrator menu)
I use Kannel and Wavecom fasttract supreme 10,
My Question :
1. What is the meaning on inbox and incoming sms menu? Because since today, the
Inbox is always empty, and SMS message only available on Incoming SMS menu
2. When I have several user, all of them can't display incoming sms message, all
of sms message only available to display on administrator menu (as I already
mention above)
is there any setup for playsms to solve above problem?
thanks in advance,
anom
i have installed playsms and able to login to the web interface,
i also have installed gnokii and gnokii able to identify my phone,
but it seem playsms doesn't detect my phone, i cannot do nothing,
i've tried to change the number and click activate gnokii at sms gateway,
what might be the mistake?
Sorry to start a new post but my old one is not publish yet and can't have
access.
I posted to quickly,
don't know if it's the good way, but I resolve my problem.
I change in init.php the default path
// base application http path
//$http_path[base] = ( $core_config['ishttps'] ? "https://" : "http://"
).$c_http_host.( dirname($c_php_self)=='/' ? $c_php_self :
dirname($c_php_self));
// TO
$http_path[base] = ( $core_config['ishttps'] ? "https://" : "http://"
).$c_http_host;
and it's ok, so let's start to play now. :-)
Thanks
SmaD
Hello Nigel,
Could you please explain your scenario, have you setup any gateway like
kannel or smstools,etc.
--- In playsms-devel@yahoogroups.com,
Nigel <nigel.evenden@...> wrote:
>
> Hi,
>
> I have set up playsms on localhost, but I keep getting a 'failed
to send
> to' when attempting to send to a mobile number. Am I missing
> something? Thanks.
>
> Nigel
>
Hello,
I am using a windows system with WAMP5 installed for my local testing of PHP +
MySQL application before uploading. Can anyone explain to me how to install
playSMS on WAMP5 server.
Hello Nigel,
Could you please explain your scenario, have you setup any gateway like kannel
or smstools,etc.
--- In playsms-devel@yahoogroups.com, Nigel <nigel.evenden@...> wrote:
>
> Hi,
>
> I have set up playsms on localhost, but I keep getting a 'failed to send
> to' when attempting to send to a mobile number. Am I missing
> something? Thanks.
>
> Nigel
>
Hi,
I have set up playsms on localhost, but I keep getting a 'failed to send
to' when attempting to send to a mobile number. Am I missing
something? Thanks.
Nigel