Hello,
I configure successful kannel and I send sms successfull with kannel.
But if I make kannel and playsms coupling, I send sms by using imported csv file, I have followinf message “an SMS has been sent to the valid recipients in the imported file”.
So the sms is not send and by checking in report, “failed”.
Please, I need your help.
In /var/log/playsms/playsms.log I have the following message:
192.168.43.232 192.168.43.124 2019-10-22 15:57:31 PID5daf18dad78b6 admin L2 sendsms # start uid:1 sender_id:[NAVEEN] smsc:[]
192.168.43.232 192.168.43.124 2019-10-22 15:57:31 PID5daf18dad78b6 admin L2 sendsms_queue_create # saving queue_code:75825f15b9f5e45af09e6d0dd4b3882c src:NAVEEN scheduled:2019-10-22 15:57:31
192.168.43.232 192.168.43.124 2019-10-22 15:57:31 PID5daf18dad78b6 admin L2 sendsms_queue_create # saved queue_code:75825f15b9f5e45af09e6d0dd4b3882c id:27
192.168.43.232 192.168.43.124 2019-10-22 15:57:31 PID5daf18dad78b6 admin L2 sendsms # dst_count:1 sms_count:1 total_charges:10
192.168.43.232 192.168.43.124 2019-10-22 15:57:31 PID5daf18dad78b6 admin L2 sendsms_queue_push # saving queue_code:75825f15b9f5e45af09e6d0dd4b3882c dst:23672272037
192.168.43.232 192.168.43.124 2019-10-22 15:57:31 PID5daf18dad78b6 admin L2 sendsms_queue_push # saved queue_code:75825f15b9f5e45af09e6d0dd4b3882c smslog_id:21
192.168.43.232 192.168.43.124 2019-10-22 15:57:31 PID5daf18dad78b6 admin L2 sendsms # end queue_code:75825f15b9f5e45af09e6d0dd4b3882c queue_count:1 sms_count:1 failed_queue:0 failed_sms:0
-
- 2019-10-22 15:57:32 PID5daf18dc25f29 - L2 sendsmsd # start processing queue_code:75825f15b9f5e45af09e6d0dd4b3882c chunk:0 queue_count:1 sms_count:1 scheduled:2019-10-22 15:57:31 uid:1 gpid:0 sender_id:NAVEEN
-
- 2019-10-22 15:57:32 PID5daf18dc25f29 - L2 sendsmsd # sending queue_code:75825f15b9f5e45af09e6d0dd4b3882c smslog_id:21 to:23672272037 sms_count:1 counter:1
-
- 2019-10-22 15:57:32 PID5daf18dc25f29 - L2 recvsms_process # using default SMSC smsc:[smsc1]
-
- 2019-10-22 15:57:32 PID5daf18dc25f29 - L2 sendsms_process # start
-
- 2019-10-22 15:57:32 PID5daf18dc25f29 - L2 simplerate_hook_rate_cansend # allowed user uid:1 sms_to:23672272037 adhoc_credit:10000 count:1 rate:10 charge:10 adhoc_balance:9990
-
- 2019-10-22 15:57:32 PID5daf18dc25f29 - L2 sendsms # saving smslog_id:21 u:1 parent_uid:0 g:0 gw:kannel smsc:smsc1 s:NAVEEN d:23672272037 type:text unicode:0 status:0
-
- 2019-10-22 15:57:32 PID5daf18dc25f29 - L2 sendsms_process # saved smslog_id:21 id:18
-
- 2019-10-22 15:57:32 PID5daf18dc25f29 - L2 simplerate_hook_rate_deduct # enter smslog_id:21
-
- 2019-10-22 15:57:32 PID5daf18dc25f29 - L2 simplebilling_hook_billing_post # saving smslog_id:21 rate:10 count:1 charge:10
-
- 2019-10-22 15:57:32 PID5daf18dc25f29 - L2 simplebilling_hook_billing_post # saved smslog_id:21 id:18
-
- 2019-10-22 15:57:32 PID5daf18dc25f29 - L2 sendsms_process # end
-
- 2019-10-22 15:57:32 PID5daf18dc25f29 - L2 sendsmsd # result queue_code:75825f15b9f5e45af09e6d0dd4b3882c to:23672272037 flag:1 smslog_id:21
-
- 2019-10-22 15:57:32 PID5daf18dc25f29 - L2 sendsmsd # finish processing queue_code:75825f15b9f5e45af09e6d0dd4b3882c uid:1 sender_id:NAVEEN queue_count:1 sms_count:1
-
- 2019-10-22 15:57:33 PID5daefd1af1699 - L2 simplerate_hook_rate_refund # start smslog_id:21
-
- 2019-10-22 15:57:33 PID5daefd1af1699 - L2 simplebilling__rollback # checking smslog_id:21
-
- 2019-10-22 15:57:33 PID5daefd1af1699 - L2 simplebilling__rollback # saving smslog_id:21 id:18
-
- 2019-10-22 15:57:33 PID5daefd1af1699 - L2 simplebilling__rollback # saved smslog_id:21
The configuration of my kannel.conf file is:
CORE
group = core
admin-port = 13000
[password for kannel admin]
admin-password = admin
[password to get kannel status]
status-password = admin
wdp-interface-name = “*”
log-file = “/var/log/kannel/kannel.log”
log-level = 0
access-log = “/var/log/kannel/access.log”
smsbox-port = 13001
unified-prefix=“00236,+236,00”
SMSBOX SETUP
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13002
global-sender = 13002
sendsms-chars = “0123456789 ±”
log-file = “/var/log/kannel/smsbox.log”
log-level = 0
access-log = “/var/log/kannel/access.log”
SENDING SMS
group = sendsms-user
[username for sending sms]
username = playsms
[password for sending sms]
password = playsms
SMSC
group = smsc
smsc = smpp
smsc-id = smsc1
system-type = “VMA”
host = 192.168.43.124
port = 13131
smsc-username = “kannel”
smsc-password = “kannel”
USB MODEM DEFINITION
for Huawei USB/GSM model e153
group = modems
id = huawei
name = “Huawei”
enable-mms = true
init-string = “ATZ”
init-string = “ATQ0 V1 E1 S0=0 &C1 &D1 +FCLASS=0”
USB MODEM DEFINITION
group = modems
id = huawei
name = "Huawei
detect-string = “huawei”
enable-mms = true
init-string = “ATZ”
init-string = “ATQ0 V1 E1 S0=0 &C1 &D1 +FCLASS=0”
message-storage = “SM”
need-sleep = true
SMSC USING USB MODEM
group = smsc
smsc = at
smsc-id = smsc2
[SIM card]
my-number = +23672859194
[sms center number]
sms-center = +236272749
device = /dev/ttyUSB0
speed = 9600
sim-buffering = true
SENDSMS-USER
group = sendsms-user
#default-smsc = none
username = playsms
password = playsms
#max-messages = 6
#concatenation = true
SMS SERVICE
group = sms-service
keyword = default
accept-x-kannel-headers = true
#omit-empty = true
max-messages = 0
assume-plain-text = true
catch-all = true
get-url = “http://192.168.43.124/playsms/index.php?app=call&cat=gateway&plugin=kannel&access=geturl&t=%t&q=%q&a=%a&Q=%Q&smsc=%i”
Thank you very much for your help