playSMS-1.4-beta3 is installed on Kubuntu 16.04 and coupled with kannel-1.4.4
when doing a Test by sending a sms from playSMS (section: writing messages)
No message is received on the mobile (+22548588560)
Can you help me please ?
Below /var/log/playsms/playsms.log content:
Voici ci-dessous le contenu du /var/log/playsms/playsms.log
27.0.0.1 localhost 2016-07-04 18:49:36 PID577aafc05f335 admin L2 sendsms # start uid:1 sender_id:[0022577022714] smsc:[]
127.0.0.1 localhost 2016-07-04 18:49:36 PID577aafc05f335 admin L2 sendsms_queue_create # saving queue_code:90d521b9bdacadf373d79ec942393e4c src:0022577022714 scheduled:2016-07-04 18:49:36
127.0.0.1 localhost 2016-07-04 18:49:36 PID577aafc05f335 admin L2 sendsms_queue_create # saved queue_code:90d521b9bdacadf373d79ec942393e4c id:1
127.0.0.1 localhost 2016-07-04 18:49:36 PID577aafc05f335 admin L2 sendsms # dst_count:1 sms_count:1 total_charges:0
127.0.0.1 localhost 2016-07-04 18:49:36 PID577aafc05f335 admin L2 sendsms_queue_push # saving queue_code:90d521b9bdacadf373d79ec942393e4c dst:+22548588560
127.0.0.1 localhost 2016-07-04 18:49:36 PID577aafc05f335 admin L2 sendsms_queue_push # saved queue_code:90d521b9bdacadf373d79ec942393e4c smslog_id:1
127.0.0.1 localhost 2016-07-04 18:49:36 PID577aafc05f335 admin L2 sendsms # end queue_code:90d521b9bdacadf373d79ec942393e4c queue_count:1 sms_count:1 failed_queue:0 failed_sms:0
- - 2016-07-04 18:49:37 PID577aafc19c45c - L2 sendsmsd # start processing queue_code:90d521b9bdacadf373d79ec942393e4c chunk:0 queue_count:1 sms_count:1 scheduled:2016-07-04 18:49:36 uid:1 gpid:0 sender_id:0022577022714
- - 2016-07-04 18:49:37 PID577aafc19c45c - L2 sendsmsd # sending queue_code:90d521b9bdacadf373d79ec942393e4c smslog_id:1 to:+22548588560 sms_count:1 counter:1
- - 2016-07-04 18:49:37 PID577aafc19c45c - L2 recvsms_process # using default SMSC smsc:[kannel]
- - 2016-07-04 18:49:37 PID577aafc19c45c - L2 sendsms_process # start
- - 2016-07-04 18:49:37 PID577aafc19c45c - L2 simplerate_hook_rate_cansend # allowed user uid:1 sms_to:+22548588560 adhoc_credit:0 count:1 rate: charge:0 adhoc_balance:0
- - 2016-07-04 18:49:37 PID577aafc19c45c - L2 sendsms # saving smslog_id:1 u:1 parent_uid:0 g:0 gw:kannel smsc:kannel s:0022577022714 d:+22548588560 type:flash unicode:0 status:0
- - 2016-07-04 18:49:37 PID577aafc19c45c - L2 sendsms_process # saved smslog_id:1 id:1
- - 2016-07-04 18:49:37 PID577aafc19c45c - L2 simplerate_hook_rate_deduct # enter smslog_id:1
- - 2016-07-04 18:49:37 PID577aafc19c45c - L2 simplebilling_hook_billing_post # saving smslog_id:1 rate: count:1 charge:0
- - 2016-07-04 18:49:37 PID577aafc19c45c - L2 simplebilling_hook_billing_post # saved smslog_id:1 id:1
- - 2016-07-04 18:49:37 PID577aafc19c45c - L2 sendsms_process # end
- - 2016-07-04 18:49:37 PID577aafc19c45c - L2 sendsmsd # result queue_code:90d521b9bdacadf373d79ec942393e4c to:+22548588560 flag:1 smslog_id:1
- - 2016-07-04 18:49:37 PID577aafc19c45c - L2 sendsmsd # finish processing queue_code:90d521b9bdacadf373d79ec942393e4c uid:1 sender_id:0022577022714 queue_count:1 sms_count:1
kannel configuration:
# CORE
group = core
admin-port = 13133
admin-password = kannel
status-password = kannel
log-file = /var/log/kannel/kannel.log
log-level = 0
access-log = /var/log/kannel/access.log
smsbox-port = 13134
store-type = spool
store-location = /var/spool/kannel/store
smsbox-max-pending = 100
# SMSBOX
group = smsbox
bearerbox-host = localhost
#bearerbox-port = 13132
sendsms-port = 13131
global-sender = 13131
sendsms-chars = "0123456789+- "
log-file = /var/log/kannel/smsbox.log
log-level = 0
access-log = /var/log/kannel/access.log
mo-recode = true
sendsms-url = "/cgi-bin/sendsms"
## SMSC smpp1
#smsc = smpp
#smsc-id = smpp1
#allowed-smsc-id = smpp1
#preferred-smsc-id = smpp1
#host = SMPP_SERVER_ADDRESS_CHANGE_THIS
#port = SMPP_SERVER_PORT_NUMBER_CHANGE_THIS
#transceiver-mode = yes
#smsc-username = SMPP_USERNAME_CHANGE_THIS
#smsc-password = SMPP_PASSWORD_CHANGE_THIS
#system-type = "VMA"
#log-file = /var/log/kannel/smsc-smpp1.log
#log-level = 0
## SMSC gsm1
group = smsc
smsc = at
port = 13013
smsc-id = Huawei
allowed-smsc-id = huawei
preferred-smsc-id = Huawei
my-number = 0022577022714
sms-center = 0022507070002
#allowed-prefix = "+62;62;0"
unified-prefix = "-,+,00"
modemtype = huawei
device = /dev/ttyUSB2
speed = 9600
#validityperiod = 143
my-number = +22577022714
sim-buffering = true
max-error-count = 5
log-file = /var/log/kannel/smsc-gsm1.log
log-level = 0
## SMSC gsm2
#group = smsc
#smsc = at
#smsc-id = gsm2
#allowed-smsc-id = gsm2
#preferred-smsc-id = gsm2
#my-number = 102
##allowed-prefix = "+62;62;0"
#unified-prefix = "+62,62,0;+,00"
#modemtype = wavecom
#device = /dev/ttyUSB1
#speed = 115200
##validityperiod = 143
#sim-buffering = true
#max-error-count = 5
#log-file = /var/log/kannel/smsc-gsm2.log
#log-level = 0
group = modems
id = huawei
message-storage = "SM"
need-sleep = true
sendline-sleep = 200
detect-string = "huawei"
init-string = "ATQ0 V1 E1 S0=0"
speed = 9600
#reset-string = "AT+CFUN=1"
#group = modems
#id = huawei
#message-storage = SM
#need-sleep = true
#sendline-sleep = 200
#init-string = "AT+CNMI=2,2,0,1,0;+CMEE=1"
#reset-string = "AT+CFUN=1"
# SENDSMS-USER
group = sendsms-user
default-smsc = none
username = kannel
password = kannel
max-messages = 1000
concatenation = true
# SMS SERVICE
group = sms-service
keyword = default
assume-plain-text = true
catch-all = true
accepted-smsc = huawei
#keyword = lamb
omit-empty = true
max-messages = 99
accept-x-kannel-headers = true
#get-url = "http://localhost/kannel/receivesms.php?sender=%p&text=%b"
get-url = "http://localhost/playsms/index.php?app=call&cat=gateway&plugin=kannel&access=geturl&t=%t&q=%q&a=%a&Q=%Q&smsc=%i"
#get-url = http://localhost/kannel/testlamb.php?t=%t&q=%q&a=%a
concatenation = true
#text = "Galaxy ROBOT by Zaib"
omit-empty = true
# SMSBOX ROUTE
#group = smsbox-route
#smsbox-id = at
#smsc-id = Huawei
kannel status:
Kannel bearerbox version `1.4.4'. Build `Apr 5 2016 13:32:05', compiler `5.3.1 20160330'. System Linux, release 4.4.0-28-generic, version #47-Ubuntu SMP Fri Jun 24 10:09:13 UTC 2016, machine x86_64. Hostname tioteHP, IP 127.0.1.1. Libxml version 2.9.3. Using OpenSSL 1.0.2g 1 Mar 2016. Compiled with MySQL 5.7.11, using MySQL 5.7.12. Compiled with PostgreSQL 9.5.2. Using SQLite 3.11.0. Using hiredis API 0.13.3 Using native malloc.
Status: running, uptime 0d 0h 22m 52s
WDP: received 0 (0 queued), sent 0 (0 queued)
SMS: received 0 (0 queued), sent 0 (0 queued), store size 0
SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec
DLR: received 0, sent 0
DLR: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec
DLR: 0 queued, using internal storage
Box connections:
smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 0d 0h 21m 28s)
SMSC connections:
Huawei[Huawei] AT2[Huawei] (connecting, rcvd: sms 0 (0.00,0.00,0.00) / dlr 0 (0.00,0.00,0.00), sent: sms 0 (0.00,0.00,0.00) / dlr 0 (0.00,0.00,0.00), failed 0, queued 0 msgs)