Search the web
Sign In
New User? Sign Up
playsms-devel · PlaySMS
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 944 - 973 of 973   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Show Message Summaries   (Group by Topic) Sort by Date v  
#973 From: "ramziouss" <ramchi.oussama@...>
Date: Thu Nov 5, 2009 4:30 pm
Subject: Problem in storing SMS with KANNEL 1.4.3 + PLAYSMS 0.9.4
ramziouss
Offline Offline
Send Email Send Email
 
good evening

I'm newbie in kannel and I'm trying to install it with playsms, All it's OK but
I'm facing two problems in storing outgoing and incoming SMS in MySQL database
and why I receive "Fail to sent" message when I send sms from playsms although I
can find it in the log file of kannel.

you find below my config file of kannel.

Thanks for your Help
:)


#
# THIS IS A SAMPLE CONFIGURATION FOR KANNEL
#
# For any modifications to this file, see Kannel User Guide
# If that does not help, send email to users@...
#

#group = core
#admin-port = 13000
#admin-password = bar
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
#log-file = "/tmp/kannel.log"
#log-level = 0
#access-log = "access.log"
#http-proxy-host = "127.0.0.1"
#http-proxy-port = 8080
#http-proxy-exceptions = "127.0.0.1"
#http-proxy-username = "user"
#http-proxy-password = "password"
#ssl-certkey-file = "mycertandprivkeyfile.pem"

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = playsms
status-password = playsms
#admin-password = bar
log-file = "/var/log/kannel/kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1;192.168.2.*;41.229.244.*;41.229.246.*"
access-log = "/var/log/kannel/kannel-access.log"
access-log-format = "[from:%p] [to:%P] [msg:%L:%b]"
store-type = file
store-location = "/var/log/kannel/kannel-store.log"
#dlr-storage = mysql
#store-file = "/var/log/kannel/store_file.store"
#store-dump-freq = 300

# Smsbox related
#smsbox-port = 13001
#box-deny-ip = "*.*.*.*"
#box-allow-ip = "127.0.0.1"
#unified-prefix = "00358,0"
#white-list = "http://127.0.0.1/white-list.txt"
#black-list = "http://127.0.0.1/black-list.txt"
#store-file = "kannel.store"

# Wapbox related
#wapbox-port = 13002
#udp-deny-ip = "*.*.*.*"
#udp-allow-ip = "127.0.0.1"
#wdp-interface-name = "*"


# SMSC CONNECTIONS - GLOBAL FIELDS
#group = smsc
#smsc =
#smsc-id = ID
#denied-smsc-id = "X;Y"
#allowed-smsc-id = "Z"
#preferred-smsc-id = "W"
#allowed-prefix = "040;050"
#denied-prefix = "060;070"
#alt-charset =


# SMSC Nokia CIMD2
#group = smsc
#smsc = cimd2
#host =
#port =
#smsc-username =
#smsc-password =
#keepalive =
#sender-prefix =


# SMSC EMI
#group = smsc
#smsc = emi2
#smsc = emi_ip to use the old implementation
#host =
#port =
#smsc-username =
#smsc-password =
#device = /dev/
#phone =
#our-port =
#receive-port =
#connect-allow-ip =
#keepalive =
#flow-control =


# SMSC SMPP
group = smsc
smsc = smpp
host = 127.0.0.1
port = 2775
receive-port = 2775
smsc-username = smppclient1
smsc-password = password
system-type = "SMPPSim"
#address-range =
smsc-id = SMPPSim
transceiver-mode = true


# SMSC SEMA
#group = smsc
#smsc = sema
#device = /dev/tty0
#smsc_nua = (X121 smsc address)
#home_nua = (x121 radio pad address)
#wait_report = 0/1 (0 means false, 1 means true)


# SMSC OIS
#group = smsc
#smsc = ois
#host = 103.102.101.100
#port = 10000
#receive-port = 10000
#ois-debug-level = 0


# SMSC GSM
#group = smsc
#smsc = at
#modemtype = wavecom | premicell | siemens | siemens-tc35 | falcom | nokiaphone
| ericsson
#device = /dev/ttyS0
#pin = 2345
#validityperiod = 167


# SMSC Fake
#group = smsc
#smsc = fake
#host = 127.0.0.1
#port = 13130
#connect-allow-ip =


# SMSC HTTP
#group = smsc
#smsc = http
#system-type = kannel
#send-url =
#port =
#connect-allow-ip =
#username =
#password =


# SMSBOX SETUP

#group = smsbox
#bearerbox-host = localhost
#sendsms-port = 13013
#sendsms-chars = "0123456789 +-"
#global-sender = 12345
#log-file = "/tmp/smsbox.log"
#log-level = 0
#access-log = "access.log"
#white-list =
#black-list =
#reply-couldnotfetch =
#reply-couldnotrepresent =
#reply-requestfailed =
#reply-emptymessage =

group = smsbox
bearerbox-host = 127.0.0.1
#smsbox-id = uvtbox
sendsms-port = 13013
global-sender = 123123123123
log-file = "/var/log/kannel/smsbox.log"
log-level = 0


# SEND-SMS USERS

group = sendsms-user
username = root
password = uv20t09
#username = playsms
#password = playsms
#user-deny-ip = ""
#user-allow-ip = ""
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1;192.168.2.*;41.229.246.*"

# this sender is for Kannel relay testing (http_smsc)

#group = sendsms-user
#username = kannel
#password = rL4y
#user-deny-ip = "*.*.*.*"
#user-allow-ip = "127.0.0.1"
#name = service_kannel
#forced-smsc = ID
#default-smsc = ID
#faked-sended =
#max-messages = 1
#concatenation = 1
#split-chars =
#split-suffix =
#omit-empty =
#header =
#footer =
#allowed-prefix =
#denied-prefix =
#white-list =
#black-list =



# SMS SERVICES

#group = sms-service
#name = nothing
#keyword = nop
#aliases = "noppy;niente"
#text = "You asked nothing and I did it!"
#get-url = "http://"
#post-url = "http://"
#file = "/tmp/"
#accepted-smsc = ID
#allowed-prefix =
#denied-prefix =
#catch-all = false
#send-sender = false
#strip-keyword = false
#faked-sender =
#max-messages = 1
#accept-x-kannel-headers = false
#assume-plain-text = false
#concatenation = false
#split-chars =
#split-suffix = "+"
#omit-empty = true
#header =
#footer =
#prefix =
#suffix =
#white-list =
#black-list =


# SMS SERVICE GET-URL EXAMPLE
#group = sms-service
#keyword = relay
#get-url = "http://localhost/service?phone=%p&text=%r&binary=%b&smsc=$i&time=%t


# SMS SERVICE black-list
#group = sms-service
#keyword = black-list
#text = "You are not alowed to use this service, Go away!"


# SMS SERVICE Default
# there should be default always
#group = sms-service
#keyword = default
#text = "No service specified"

group = sms-service
keyword = default
#keyword-regex = .*
catch-all = yes
#max-messages = 10
#get-url = "http://localhost/sms?phone=%p&text=%a"
#get-url = "http://localhost/service?phone=%p&text=%r&binary=%b&smsc=$i&time=%t"
get-url =
"http://192.168.2.20/playsms/plugin/gateway/kannel/geturl.php?t=%t&q=%q&a=%a"
#include = "/usr/local/kannel/modems.conf"



group = mysql-connection
id = mydlr
host = localhost
username = root
password =
database = kannel
# max count of connections that will be opened for dbpool
# default is 1
max-connections = 1


group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc

#972 From: "aquila_nc" <aquila_nc@...>
Date: Wed Oct 21, 2009 9:18 pm
Subject: Re: PlaySMS and Kannel
aquila_nc
Offline Offline
Send Email Send Email
 
I succeed to progress in this issue:

First I cancel to use file_get_contains) function and I try to use fsockopen
instead, unfortunately that lead to 404 error, unknonw request, so I compare
several things between the basic sendsms.php script and PlaySMS one and I found
out that my $URL variable was incorrect:

$URL =
"http://localhost:13013/var/www/kannel/sendsms?username=".urlencode($kannel_para\
m['username'])."&password=".urlencode($kannel_param['password']);

instead of:

$URL =
"/var/www/kannel/sendsms?username=".urlencode($kannel_param['username'])."&passw\
ord=".urlencode($kannel_param['password']);

Because the host and port are already defined here in fsockopen before using
fputs($URL).

Then I was able to see this after a test:
Your SMS for `+687783548` has been delivered to queue

And the status in Outgoing message is "Pending" but stay in this status and this
is here that DLR option must play their role..

So to resume I have made the following changes on PlaySMS v0.9.4 to integrate
with Kannel:
- comment the line $dlr_url = str_replace('//', '/', $dlr_url);
- comment the file_get_contains() part and uncomment the fsockopen() part in:
~/playsms/plugin/gateway/kannel/fn.php

Now I have to focus to update the DLR status...
I tried to access it but nothing returned: what should I expect ?

[root@elodine playsms]# lynx -dump
"http://localhost/playsms/plugin/gateway/kannel/dlr.php?type=8&slid=126&uid=1&mc\
lass=1"


[root@elodine playsms]#

--- In playsms-devel@yahoogroups.com, "aquila_nc" <aquila_nc@...> wrote:
>
> Hello guys,
>
> In PlaySMS version 0.9.4 when I try to send a SMS using "Send text SMS" I am
getting this error displayed in red on the php page:
>
> Failed to send SMS to `+XXXXXXX`
>
> But the SMS is successfully sent to Kannel and fakesmsc receive it:
> 2009-10-21 11:29:19 [9778] [0] DEBUG: Got message 7: <+XXXXXX +XXXXXX text
test - playSMS>
>
> So after checking the code of PlaySMS in fn.php around line 30 below the code
that should process the return status of the delivery:
>
>     $URL =
"http://localhost:13013/var/www/kannel/sendsms?username=".urlencode($kannel_para\
m['username'])."&password=".urlencode($kannel_param['password']);
>     $URL .=
"&from=".urlencode($sms_from)."&to=".urlencode($sms_to)."&text=".urlencode($sms_\
msg);
>     $URL .= "&dlr-mask=31&dlr-url=".urlencode($dlr_url);
>     $URL .= "&mclass=".$msg_type;
>
>     if ($rv = trim(file_get_contents("$URL"))) {
>         // old kannel responsed with Sent.
>         // new kannel with the other 2
>         if (($rv == "Sent.") || ($rv == "0: Accepted for delivery") || ($rv ==
"3: Queued for later delivery")) {
>             $ok = true;
>             // set pending
>             $p_status = 0;
>             setsmsdeliverystatus($smslog_id, $uid, $p_status);
>         }
>     }
>
>
> I find that it is this function that is nok:
> $rv = trim(file_get_contents("$URL"));
> $rv does not contain anything
> but the file_get_contents is executed since the SMS is sent
> $URL I catched contains:
>
>
http://localhost:13013/var/www/kannel/sendsms?username=playsms&password=playsms&\
from=%2B687850850&to=%2B687783548&text=smstest+-+playSMS&dlr-mask=31&dlr-url=htt\
p%3A%2F%2F61.5.221.52%2Fplaysms%2Fplugin%2Fgateway%2Fkannel%2Fdlr.php%3Ftype%3D%\
25d%26slid%3D126%26uid%3D1&mclass=1
>
> but the return value of file_get_contains is 0 equal to false right?
>
> I have also errors in apache:
>
> [Wed Oct 21 10:11:03 2009] [error] [client 114.69.193.66] PHP Warning:
file_get_contents(http://localhost:13013/var/www/kannel/sendsms?username=playsms\
&amp;password=playsms&amp;from=%2B687850850&amp;to=%2B687783548&amp;text=smstest\
+-+playSMS&amp;dlr-mask=31&amp;dlr-url=http%3A%2F%2F61.5.221.52%2Fplaysms%2Fplug\
in%2Fgateway%2Fkannel%2Fdlr.php%3Ftype%3D%25d%26slid%3D132%26uid%3D1&amp;mclass=\
1) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed
to open stream: HTTP request failed! HTTP/1.0 202 Accepted\r\n in
/var/www/playsms/plugin/gateway/kannel/fn.php on line 45, referer:
http://61.5.221.52/playsms/menu.php?inc=send_sms&op=sendsmstopv&message=smstest&\
err=Failed+to+send+SMS+to+%60%2B687783548%60%3Cbr%3E
>
> Something is wrong with file_get_contains...
>
> Although this work using the same URL:
> # lynx -dump
"http://localhost:13013/var/www/kannel/sendsms?username=playsms&password=playsms\
&from=%2B687850850&to=%2B687783548&text=smstest+-+playSMS&dlr-mask=31&dlr-url=ht\
tp%3A%2F%2F61.5.221.52%2Fplaysms%2Fplugin%2Fgateway%2Fkannel%2Fdlr.php%3Ftype%3D\
%25d%26slid%3D141%26uid%3D1&mclass=1"
>    0: Accepted for delivery
>
> Also what do you think of this in the error log?
> failed to open stream: HTTP request failed! HTTP/1.0 202 Accepted\r\n
>
> Strange ?
>
> If this is solved then PlaySMS version 0.9.4 will allow to display the right
status of the SMS delivered or queued or not...
>
> Regards,
>

#971 From: "aquila_nc" <aquila_nc@...>
Date: Wed Oct 21, 2009 2:18 am
Subject: PlaySMS and Kannel
aquila_nc
Offline Offline
Send Email Send Email
 
Hello guys,

In PlaySMS version 0.9.4 when I try to send a SMS using "Send text SMS" I am
getting this error displayed in red on the php page:

Failed to send SMS to `+XXXXXXX`

But the SMS is successfully sent to Kannel and fakesmsc receive it:
2009-10-21 11:29:19 [9778] [0] DEBUG: Got message 7: <+XXXXXX +XXXXXX text test
- playSMS>

So after checking the code of PlaySMS in fn.php around line 30 below the code
that should process the return status of the delivery:

     $URL =
"http://localhost:13013/var/www/kannel/sendsms?username=".urlencode($kannel_para\
m['username'])."&password=".urlencode($kannel_param['password']);
     $URL .=
"&from=".urlencode($sms_from)."&to=".urlencode($sms_to)."&text=".urlencode($sms_\
msg);
     $URL .= "&dlr-mask=31&dlr-url=".urlencode($dlr_url);
     $URL .= "&mclass=".$msg_type;

     if ($rv = trim(file_get_contents("$URL"))) {
         // old kannel responsed with Sent.
         // new kannel with the other 2
         if (($rv == "Sent.") || ($rv == "0: Accepted for delivery") || ($rv ==
"3: Queued for later delivery")) {
             $ok = true;
             // set pending
             $p_status = 0;
             setsmsdeliverystatus($smslog_id, $uid, $p_status);
         }
     }


I find that it is this function that is nok:
$rv = trim(file_get_contents("$URL"));
$rv does not contain anything
but the file_get_contents is executed since the SMS is sent
$URL I catched contains:

http://localhost:13013/var/www/kannel/sendsms?username=playsms&password=playsms&\
from=%2B687850850&to=%2B687783548&text=smstest+-+playSMS&dlr-mask=31&dlr-url=htt\
p%3A%2F%2F61.5.221.52%2Fplaysms%2Fplugin%2Fgateway%2Fkannel%2Fdlr.php%3Ftype%3D%\
25d%26slid%3D126%26uid%3D1&mclass=1

but the return value of file_get_contains is 0 equal to false right?

I have also errors in apache:

[Wed Oct 21 10:11:03 2009] [error] [client 114.69.193.66] PHP Warning:
file_get_contents(http://localhost:13013/var/www/kannel/sendsms?username=playsms\
&amp;password=playsms&amp;from=%2B687850850&amp;to=%2B687783548&amp;text=smstest\
+-+playSMS&amp;dlr-mask=31&amp;dlr-url=http%3A%2F%2F61.5.221.52%2Fplaysms%2Fplug\
in%2Fgateway%2Fkannel%2Fdlr.php%3Ftype%3D%25d%26slid%3D132%26uid%3D1&amp;mclass=\
1) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed
to open stream: HTTP request failed! HTTP/1.0 202 Accepted\r\n in
/var/www/playsms/plugin/gateway/kannel/fn.php on line 45, referer:
http://61.5.221.52/playsms/menu.php?inc=send_sms&op=sendsmstopv&message=smstest&\
err=Failed+to+send+SMS+to+%60%2B687783548%60%3Cbr%3E

Something is wrong with file_get_contains...

Although this work using the same URL:
# lynx -dump
"http://localhost:13013/var/www/kannel/sendsms?username=playsms&password=playsms\
&from=%2B687850850&to=%2B687783548&text=smstest+-+playSMS&dlr-mask=31&dlr-url=ht\
tp%3A%2F%2F61.5.221.52%2Fplaysms%2Fplugin%2Fgateway%2Fkannel%2Fdlr.php%3Ftype%3D\
%25d%26slid%3D141%26uid%3D1&mclass=1"
    0: Accepted for delivery

Also what do you think of this in the error log?
failed to open stream: HTTP request failed! HTTP/1.0 202 Accepted\r\n

Strange ?

If this is solved then PlaySMS version 0.9.4 will allow to display the right
status of the SMS delivered or queued or not...

Regards,

#970 From: "faridxmailbox" <faridxmailbox@...>
Date: Mon Sep 28, 2009 1:21 pm
Subject: Re: Playsms for Kannel
faridxmailbox
Offline Offline
Send Email Send Email
 
--- 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?

#969 From: rungsun julpamorn <rungsun_j@...>
Date: Wed Sep 16, 2009 11:01 am
Subject: not send sms
rungsun_j
Offline Offline
Send Email Send Email
 
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

#968 From: "r_cong" <r_cong@...>
Date: Wed Sep 16, 2009 5:44 am
Subject: Playsms for Kannel
r_cong
Offline Offline
Send Email Send Email
 
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

#967 From: "fazli adha" <fazli.adha@...>
Date: Fri Jun 19, 2009 1:20 am
Subject: Broadcast keyword not working.
langsu1r
Offline Offline
Send Email Send Email
 
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

#966 From: "dbyrne0058" <dbyrne@...>
Date: Sun May 17, 2009 9:28 pm
Subject: Can't connect gnokii and playsms
dbyrne0058
Offline Offline
Send Email Send Email
 
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 ??

#965 From: "tarasasanka_c" <tarasasanka_c@...>
Date: Thu Apr 30, 2009 6:51 am
Subject: Re: SMS Website
tarasasanka_c
Offline Offline
Send Email Send Email
 
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
>

#964 From: "tariq_mth" <tariq_mth@...>
Date: Sun May 17, 2009 10:47 am
Subject: How Can I build my own gateway module with my existing C# application?
tariq_mth
Offline Offline
Send Email Send Email
 
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

#963 From: "jayreis" <jreis@...>
Date: Thu Apr 9, 2009 3:26 am
Subject: Installing on shared hosting acct possible??
jayreis
Offline Offline
Send Email Send Email
 
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.

#962 From: "jayreis" <jreis@...>
Date: Wed Apr 8, 2009 10:24 pm
Subject: Question about this script
jayreis
Offline Offline
Send Email Send Email
 
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

#961 From: "srinnl" <ramdas.suresh@...>
Date: Tue Aug 18, 2009 3:24 pm
Subject: Re: Kannel
srinnl
Offline Offline
Send Email Send Email
 
--- 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.

#960 From: "srinnl" <ramdas.suresh@...>
Date: Tue Aug 18, 2009 11:31 am
Subject: Kannel
srinnl
Offline Offline
Send Email Send Email
 
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

#959 From: "i_putu_agus_eka_pratama" <i.putu.agus.eka.pratama@...>
Date: Sat Aug 15, 2009 7:52 pm
Subject: Re: Bls: A Script to handle (Eventhandler) in server side
i_putu_agus_...
Offline Offline
Send Email Send Email
 
@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/
>

#958 From: Muhammad Farid <faridxmailbox@...>
Date: Sat Aug 15, 2009 9:38 am
Subject: Re: my playsms not connected gnokii
faridxmailbox
Offline Offline
Send Email Send Email
 
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!

#957 From: Ayah Fathimah <ayahfathimah@...>
Date: Sat Aug 15, 2009 8:00 am
Subject: Re: my playsms not connected gnokii
ayahfathimah@...
Send Email Send Email
 
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 ?

#956 From: Muhammad Farid <faridxmailbox@...>
Date: Sat Aug 15, 2009 6:10 am
Subject: my playsms not connected gnokii
faridxmailbox
Offline Offline
Send Email Send Email
 
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!

#955 From: ervan1 mardianto <vahn_burningflare@...>
Date: Mon Aug 10, 2009 1:17 pm
Subject: Bls: A Script to handle (Eventhandler) in server side
vahn_burning...
Online Now Online Now
Send Email Send Email
 
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,



Warnai pesan status dengan Emoticon.
Sekarang bisa dengan Yahoo! Messenger baru.

#954 From: Alvaro Cornejo <cornejo.alvaro@...>
Date: Mon Aug 10, 2009 12:57 pm
Subject: Re: A Script to handle (Eventhandler) in server side
ajcornejos
Offline Offline
Send Email Send Email
 
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,
>
>

#953 From: "i_putu_agus_eka_pratama" <i.putu.agus.eka.pratama@...>
Date: Sun Aug 9, 2009 7:39 pm
Subject: A Script to handle (Eventhandler) in server side
i_putu_agus_...
Offline Offline
Send Email Send Email
 
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,

#952 From: "I Gusti Putu Anom A" <gusti.anom@...>
Date: Mon Jun 29, 2009 7:57 am
Subject: Need Help about Inbox and Incoming SMS
gusti_anom
Offline Offline
Send Email Send Email
 
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

#951 From: "irfan_kid" <maz_irfan@...>
Date: Sun Jun 7, 2009 7:33 am
Subject: what should be done next after installation
maz_irfan
Offline Offline
Send Email Send Email
 
i have read the manual and installing playsms and gnokii, but what to do next?

#950 From: "irfan_kid" <maz_irfan@...>
Date: Sun Jun 7, 2009 7:04 am
Subject: help on gnokii and playsms, post instalation
maz_irfan
Offline Offline
Send Email Send Email
 
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?

#949 From: "smadup" <smadup@...>
Date: Sun Jun 7, 2009 4:31 am
Subject: REply to myself
smadup
Offline Offline
Send Email Send Email
 
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

#948 From: "smadup" <smadup@...>
Date: Sun Jun 7, 2009 4:11 am
Subject: no image on login page (wrong path)
smadup
Offline Offline
Send Email Send Email
 
Hi,

I just install playsms on my ubuntu LAMP Server for testing,

I haven't install yet any gateway module.
I am just trying to see the web interface first.
And I can't get any image.

It seems that somebody have the same problem in
http://freshmeat.net/projects/playsms/ but didn't get an answer yet.


the picture is looking for
http://playsms.mydomain.com/index.php/plugin/themes/default/images/loginn_00.gif
instead of
http://playsms.mydomain.com/plugin/themes/default/images/loginn_00.gif

it's the same for CSS file, and link.

all the path are wrong looking for DOMAIN.COM/index.php/path instead of
DOMAIN.COM/path.
what's the problem ?

I am using apache2 with rewrite rules.
is it link with that ?

Thanks.
Damien

#947 From: Nigel <nigel.evenden@...>
Date: Tue May 19, 2009 8:13 am
Subject: Re: Re: Need Help
nigel.evenden
Offline Offline
Send Email Send Email
 
I have activated kannel.



tariq_mth wrote:

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
>



#946 From: "chrisazuka80" <chrisazuka80@...>
Date: Mon May 18, 2009 7:38 pm
Subject: playSMS on WAMP
chrisazuka80
Offline Offline
Send Email Send Email
 
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.

#945 From: "tariq_mth" <tariq_mth@...>
Date: Mon May 18, 2009 4:10 pm
Subject: Re: Need Help
tariq_mth
Offline Offline
Send Email Send Email
 
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
>

#944 From: Nigel <nigel.evenden@...>
Date: Mon May 18, 2009 3:46 pm
Subject: Need Help
nigel.evenden
Offline Offline
Send Email Send Email
 
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

Messages 944 - 973 of 973   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help