liox: I think the whole problem can be here what I say?
/var/log/apache2/error.log
[Sat May 11 09:33:47 2013] [error] [client 192.168.254.3] PHP Strict Standards: Non-static method DB::connect() should not be called statically in /var/www/playsms/lib/dba.php on line 22, referer: http://192.168.254.2/playsms/
[Sat May 11 09:33:47 2013] [error] [client 192.168.254.3] PHP Strict Standards: Non-static method DB::parseDSN() should not be called statically in /var/www/playsms/lib/external/pear-db/DB.php on line 521, referer: http://192.168.254.2/playsms/
[Sat May 11 09:33:47 2013] [error] [client 192.168.254.3] PHP Strict Standards: Non-static method DB::isError() should not be called statically in /var/www/playsms/lib/external/pear-db/DB.php on line 552, referer: http://192.168.254.2/playsms/
[Sat May 11 09:33:47 2013] [error] [client 192.168.254.3] PHP Strict Standards: Non-static method DB::isError() should not be called statically in /var/www/playsms/lib/external/pear-db/DB.php on line 558, referer: http://192.168.254.2/playsms/
[Sat May 11 09:33:47 2013] [error] [client 192.168.254.3] PHP Strict Standards: Non-static method DB::isError() should not be called statically in /var/www/playsms/lib/dba.php on line 24, referer: http://192.168.254.2/playsms/
[Sat May 11 09:33:47 2013] [error] [client 192.168.254.3] PHP Strict Standards: Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context in /var/www/playsms/lib/external/pear-db/DB/common.php on line 2200, referer: http://192.168.254.2/playsms/
[Sat May 11 09:33:47 2013] [error] [client 192.168.254.3] PHP Strict Standards: Non-static method DB::isError() should not be called statically in /var/www/playsms/lib/dba.php on line 35, referer: http://192.168.254.2/playsms/
|
liox: Hello I am trying to set up an SMS gateway with PlaySMS and SMS Tools 3
with Debian.
modem 3G Huawei E1552
followed all the steps of a guide but the only thing that shows when I try to send a message Your SMS has been delivered to queue. It's all going to a queue and SMS is not sent.
Note: After you have tested with another modem Olivetti and also with my phone a Mototola Defy. The Olivetti also gave the same message. Now the Motorola defy seems to have moved the messages to the /var/spool/sms/ failed
below is my logs
smsd.conf
# Global configuration
devices = GSM1
loglevel = 5
stats = /var/log/sms/stats
logfile = /var/log/sms/smsd.log
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
failed = /var/spool/sms/failed
incoming = /var/spool/sms/incoming
sent = /var/spool/sms/sent
autosplit = 0
decode_unicode_text = yes
receive_before_send = yes
incoming_utf8 = yes
# Modem configuration
[GSM1]
init = AT^CURC=0
device = /dev/ttyUSB0
incoming = yes
outgoing = yes
cs_convert = yes
report = no
#baudrate = 9600
#memory_start = 0
signal_quality_ber_ignore = yes
report_device_details = yes
smsd.log
2013-05-10 10:03:15,2, smsd: Smsd v3.1.15 started.
2013-05-10 10:03:15,2, smsd: Running as root:root.
2013-05-10 10:03:15,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2013-05-10 10:03:15,5, smsd: Outgoing file checker has started. PID: 4963.
2013-05-10 10:03:15,5, GSM1: Modem handler 0 has started. PID: 4965.
2013-05-10 10:03:15,5, GSM1: Using check_memory_method 1: CPMS is used.
2013-05-10 10:05:16,3, GSM1: Modem is not ready to answer commands (Timeouts: 0)
2013-05-10 10:05:33,2, smsd: Smsd mainprocess is awaiting the termination of all modem handlers. PID: 4963.
2013-05-10 10:05:33,2, GSM1: Modem handler 0 terminated. PID: 4965, was started 13-05-10 10:03:15.
2013-05-10 10:05:33,2, smsd: Smsd mainprocess terminated. PID 4963, was started 13-05-10 10:03:15.
2013-05-10 10:05:34,2, smsd: Smsd v3.1.15 started.
2013-05-10 10:05:34,2, smsd: Running as root:root.
2013-05-10 10:05:34,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2013-05-10 10:05:34,5, smsd: Outgoing file checker has started. PID: 5017.
2013-05-10 10:05:34,5, GSM1: Modem handler 0 has started. PID: 5019.
2013-05-10 10:05:34,5, GSM1: Using check_memory_method 1: CPMS is used.
2013-05-10 10:07:35,3, GSM1: Modem is not ready to answer commands (Timeouts: 0)
playsms.log
2013-05-10 10:00:40 # WARNING # logout # u:admin t:93eb02f480d99c1fca0a73e342f406c7 ip:192.168.1.7
2013-05-10 10:00:47 # WARNING # login # u:admin t:c1c028cc6f57feffba4897469373e962 ip:192.168.1.7
2013-05-10 10:04:06 # WARNING # sendsms_queue_create # id:37 queue_code:178df574f01bfc791938e43f6af47d8d saved
2013-05-10 10:04:06 # WARNING # sendsms_queue_push # saving:178df574f01bfc791938e43f6af47d8d,+556285159048
2013-05-10 10:04:06 # WARNING # sendsms_queue_push # id:37 queue_code:178df574f01bfc791938e43f6af47d8d dst:+556285159048 saved
2013-05-10 10:04:06 # WARNING # sendsms pv # end queue_code:178df574f01bfc791938e43f6af47d8d
2013-05-10 10:05:13 # WARNING # sendsms_queue_create # id:38 queue_code:6239787cf7402f6576d06ef979fb8ba7 saved
2013-05-10 10:05:13 # WARNING # sendsms_queue_push # saving:6239787cf7402f6576d06ef979fb8ba7,556285159048
2013-05-10 10:05:13 # WARNING # sendsms_queue_push # id:38 queue_code:6239787cf7402f6576d06ef979fb8ba7 dst:556285159048 saved
2013-05-10 10:05:13 # WARNING # sendsms pv # end queue_code:6239787cf7402f6576d06ef979fb8ba7
2013-05-10 10:07:17 # WARNING # sendsms_queue_create # id:39 queue_code:4e318357b592e38f0d21c5c55987edb6 saved
2013-05-10 10:07:17 # WARNING # sendsms_queue_push # saving:4e318357b592e38f0d21c5c55987edb6,+556285159048
2013-05-10 10:07:17 # WARNING # sendsms_queue_push # id:39 queue_code:4e318357b592e38f0d21c5c55987edb6 dst:+556285159048 saved
2013-05-10 10:07:17 # WARNING # sendsms pv # end queue_code:4e318357b592e38f0d21c5c55987edb6
2013-05-10 10:53:19 # WARNING # sendsms_queue_create # id:40 queue_code:ad7794b812a70e70758aee997aba8c9c saved
2013-05-10 10:53:19 # WARNING # sendsms_queue_push # saving:ad7794b812a70e70758aee997aba8c9c,+556285159048
2013-05-10 10:53:19 # WARNING # sendsms_queue_push # id:40 queue_code:ad7794b812a70e70758aee997aba8c9c dst:+556285159048 saved
2013-05-10 10:53:19 # WARNING # sendsms pv # end queue_code:ad7794b812a70e70758aee997aba8c9c
|