playSMS Forum

SMPP to GoIP Gateway

Hello,
am new here, I installed playSMS+kannel and all is running fine, i want to send SMS via GoIP Gateway which is hosted at the same network, I can ping it and my smpp port as well…

I setup Gateway Kannel in playSMS GUI like this :

this is kernal status :

Kannel bearerbox version 1.4.4'. Build Apr 5 2016 13:30:36’, compiler `5.3.1 20160330’.
System Linux, release 4.4.0-142-generic, version #168-Ubuntu SMP Wed Jan 16 21:01:15 UTC 2019, machine i686.
Hostname ubuntu, 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.29.
Compiled with PostgreSQL 9.5.2.
Using SQLite 3.11.0.
Using hiredis API 0.13.3
Using native malloc.

Status: going down, uptime 0d 1h 37m 30s

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

No boxes connected

SMSC connections:
smpp1[smpp1] SMPP:192.168.1.33:0/0:goip1: (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)
gsm1[gsm1] AT2[gsm1] (dead, 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

here is my /var/log/kannel/smsc-smpp1.log

2020-04-25 00:56:00 [9368] [5] DEBUG: Connecting to <192.168.1.33>
2020-04-25 00:56:58 [9380] [5] DEBUG: Connecting to <192.168.1.33>
2020-04-25 00:56:58 [9380] [5] DEBUG: SMPP[smpp1]: Sending PDU:
2020-04-25 00:56:58 [9380] [5] DEBUG: SMPP PDU 0xb3d00518 dump:
2020-04-25 00:56:58 [9380] [5] DEBUG: type_name: bind_transceiver
2020-04-25 00:56:58 [9380] [5] DEBUG: command_id: 9 = 0x00000009
2020-04-25 00:56:58 [9380] [5] DEBUG: command_status: 0 = 0x00000000
2020-04-25 00:56:58 [9380] [5] DEBUG: sequence_number: 1 = 0x00000001
2020-04-25 00:56:58 [9380] [5] DEBUG: system_id: “goip1”
2020-04-25 00:56:58 [9380] [5] DEBUG: password: “1234321”
2020-04-25 00:56:58 [9380] [5] DEBUG: system_type: “VMA”
2020-04-25 00:56:58 [9380] [5] DEBUG: interface_version: 52 = 0x00000034
2020-04-25 00:56:58 [9380] [5] DEBUG: addr_ton: 0 = 0x00000000
2020-04-25 00:56:58 [9380] [5] DEBUG: addr_npi: 0 = 0x00000000
2020-04-25 00:56:58 [9380] [5] DEBUG: address_range: NULL
2020-04-25 00:56:58 [9380] [5] DEBUG: SMPP PDU dump ends.
2020-04-25 00:57:00 [9387] [5] DEBUG: Connecting to <192.168.1.33>
2020-04-25 00:57:50 [9427] [5] DEBUG: Connecting to <192.168.1.33>
2020-04-25 00:58:50 [9480] [5] DEBUG: Connecting to <192.168.1.33>
2020-04-25 00:58:50 [9488] [5] DEBUG: Connecting to <192.168.1.33>

here is

root@ubuntu:~# cat /etc/kannel/kannel.conf

CORE

group = core
admin-port = 13000
admin-password = enternet
status-password = enternet
log-file = /var/log/kannel/kannel.log
log-level = 0
access-log = /var/log/kannel/access.log
smsbox-port = 13001
store-type = spool
store-location = /var/spool/kannel/store
smsbox-max-pending = 100

SMSBOX

group = smsbox
bearerbox-host = localhost
bearerbox-port = 13001
sendsms-port = 13131
sendsms-chars = "0123456789+ "
log-file = /var/log/kannel/smsbox.log
log-level = 0
access-log = /var/log/kannel/access.log
mo-recode = true

SMSC smpp1

group = smsc
smsc = smpp
smsc-id = smpp1
allowed-smsc-id = smpp1
preferred-smsc-id = smpp1
host = 192.168.1.33
#receive-port = 13131
port = 13131
transceiver-mode = yes
smsc-username = 06
smsc-password = 1234321
system-type = “VMA”
log-file = /var/log/kannel/smsc-smpp1.log
log-level = 1

SMSC gsm1

group = smsc
smsc = at
smsc-id = gsm1
allowed-smsc-id = gsm1
preferred-smsc-id = gsm1
my-number = 101
#allowed-prefix = “+62;62;0”
unified-prefix = “+62,62,0;+,00”
modemtype = wavecom
device = /dev/ttyUSB0
speed = 115200
#validityperiod = 143
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 = wavecom
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”

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 = playsms
password = KANNELSENDSMS_CHANGE_THIS
max-messages = 6
concatenation = true

SMS SERVICE

group = sms-service
keyword = default
omit-empty = true
max-messages = 0
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

here is my SMSC screenshot :

The SMS show in failed in sent message

Please help me

Regards,

please post related playsms.log

anton

here is it

queue_code:c14fb6e0e9a028069f6d130d4e26c4bb smslog_id:30
192.168.1.4 192.168.1.5 2020-04-24 23:59:24 PID5ea3613bb658f admin L2 sendsms # end queue_code:c14fb6e0e9a028069f6d130d4e26c4bb queue_count:1 sms_count:1 failed_queue:0 failed_sms:0
192.168.1.4 192.168.1.5 2020-04-25 00:01:28 PID5ea361b896348 admin L2 sendsms # start uid:1 sender_id:[1234] smsc:[]
192.168.1.4 192.168.1.5 2020-04-25 00:01:28 PID5ea361b896348 admin L2 sendsms_queue_create # saving queue_code:e3acc8eedad7abb526e24f6b4ed7aa11 src:1234 scheduled:2020-04-25 00:01:28
192.168.1.4 192.168.1.5 2020-04-25 00:01:28 PID5ea361b896348 admin L2 sendsms_queue_create # saved queue_code:e3acc8eedad7abb526e24f6b4ed7aa11 id:31
192.168.1.4 192.168.1.5 2020-04-25 00:01:28 PID5ea361b896348 admin L2 sendsms # dst_count:1 sms_count:1 total_charges:0
192.168.1.4 192.168.1.5 2020-04-25 00:01:28 PID5ea361b896348 admin L2 sendsms_queue_push # saving queue_code:e3acc8eedad7abb526e24f6b4ed7aa11 dst:249121508215
192.168.1.4 192.168.1.5 2020-04-25 00:01:28 PID5ea361b896348 admin L2 sendsms_queue_push # saved queue_code:e3acc8eedad7abb526e24f6b4ed7aa11 smslog_id:31
192.168.1.4 192.168.1.5 2020-04-25 00:01:28 PID5ea361b896348 admin L2 sendsms # end queue_code:e3acc8eedad7abb526e24f6b4ed7aa11 queue_count:1 sms_count:1 failed_queue:0 failed_sms:0
192.168.1.4 192.168.1.5 2020-04-25 00:06:20 PID5ea362dcc3b33 admin L2 sendsms # start uid:1 sender_id:[1234] smsc:[]
192.168.1.4 192.168.1.5 2020-04-25 00:06:20 PID5ea362dcc3b33 admin L2 sendsms_queue_create # saving queue_code:2312cf134368efde8b255a6077b10498 src:1234 scheduled:2020-04-25 00:06:20
192.168.1.4 192.168.1.5 2020-04-25 00:06:20 PID5ea362dcc3b33 admin L2 sendsms_queue_create # saved queue_code:2312cf134368efde8b255a6077b10498 id:32
192.168.1.4 192.168.1.5 2020-04-25 00:06:20 PID5ea362dcc3b33 admin L2 sendsms # dst_count:1 sms_count:1 total_charges:0
192.168.1.4 192.168.1.5 2020-04-25 00:06:20 PID5ea362dcc3b33 admin L2 sendsms_queue_push # saving queue_code:2312cf134368efde8b255a6077b10498 dst:249121508215
192.168.1.4 192.168.1.5 2020-04-25 00:06:20 PID5ea362dcc3b33 admin L2 sendsms_queue_push # saved queue_code:2312cf134368efde8b255a6077b10498 smslog_id:32
192.168.1.4 192.168.1.5 2020-04-25 00:06:20 PID5ea362dcc3b33 admin L2 sendsms # end queue_code:2312cf134368efde8b255a6077b10498 queue_count:1 sms_count:1 failed_queue:0 failed_sms:0
192.168.1.4 192.168.1.5 2020-04-25 00:09:53 PID5ea363b1314cf admin L2 sendsms # start uid:1 sender_id:[1234] smsc:[]
192.168.1.4 192.168.1.5 2020-04-25 00:09:53 PID5ea363b1314cf admin L2 sendsms_queue_create # saving queue_code:d1a335ac960e0371d1e30dfd3223bc47 src:1234 scheduled:2020-04-25 00:09:53
192.168.1.4 192.168.1.5 2020-04-25 00:09:53 PID5ea363b1314cf admin L2 sendsms_queue_create # saved queue_code:d1a335ac960e0371d1e30dfd3223bc47 id:33
192.168.1.4 192.168.1.5 2020-04-25 00:09:53 PID5ea363b1314cf admin L2 sendsms # dst_count:1 sms_count:1 total_charges:0
192.168.1.4 192.168.1.5 2020-04-25 00:09:53 PID5ea363b1314cf admin L2 sendsms_queue_push # saving queue_code:d1a335ac960e0371d1e30dfd3223bc47 dst:249121508215
192.168.1.4 192.168.1.5 2020-04-25 00:09:53 PID5ea363b1314cf admin L2 sendsms_queue_push # saved queue_code:d1a335ac960e0371d1e30dfd3223bc47 smslog_id:33
192.168.1.4 192.168.1.5 2020-04-25 00:09:53 PID5ea363b1314cf admin L2 sendsms # end queue_code:d1a335ac960e0371d1e30dfd3223bc47 queue_count:1 sms_count:1 failed_queue:0 failed_sms:0
192.168.1.4 192.168.1.5 2020-04-25 00:11:04 PID5ea363f83b6a0 admin L2 sendsms # start uid:1 sender_id:[1234] smsc:[]
192.168.1.4 192.168.1.5 2020-04-25 00:11:04 PID5ea363f83b6a0 admin L2 sendsms_queue_create # saving queue_code:1df8d9d600984f8315dc1616681503ef src:1234 scheduled:2020-04-25 00:11:04
192.168.1.4 192.168.1.5 2020-04-25 00:11:04 PID5ea363f83b6a0 admin L2 sendsms_queue_create # saved queue_code:1df8d9d600984f8315dc1616681503ef id:34
192.168.1.4 192.168.1.5 2020-04-25 00:11:04 PID5ea363f83b6a0 admin L2 sendsms # dst_count:1 sms_count:1 total_charges:0
192.168.1.4 192.168.1.5 2020-04-25 00:11:04 PID5ea363f83b6a0 admin L2 sendsms_queue_push # saving queue_code:1df8d9d600984f8315dc1616681503ef dst:249121508215
192.168.1.4 192.168.1.5 2020-04-25 00:11:04 PID5ea363f83b6a0 admin L2 sendsms_queue_push # saved queue_code:1df8d9d600984f8315dc1616681503ef smslog_id:34
192.168.1.4 192.168.1.5 2020-04-25 00:11:04 PID5ea363f83b6a0 admin L2 sendsms # end queue_code:1df8d9d600984f8315dc1616681503ef queue_count:1 sms_count:1 failed_queue:0 failed_sms:0
192.168.1.4 192.168.1.5 2020-04-25 00:12:18 PID5ea364421bd4b admin L2 sendsms # start uid:1 sender_id:[1234] smsc:[]
192.168.1.4 192.168.1.5 2020-04-25 00:12:18 PID5ea364421bd4b admin L2 sendsms_queue_create # saving queue_code:c1e3d0353f1101bd9c1b68f1ad6a829b src:1234 scheduled:2020-04-25 00:12:18
192.168.1.4 192.168.1.5 2020-04-25 00:12:18 PID5ea364421bd4b admin L2 sendsms_queue_create # saved queue_code:c1e3d0353f1101bd9c1b68f1ad6a829b id:35
192.168.1.4 192.168.1.5 2020-04-25 00:12:18 PID5ea364421bd4b admin L2 sendsms # dst_count:1 sms_count:1 total_charges:0
192.168.1.4 192.168.1.5 2020-04-25 00:12:18 PID5ea364421bd4b admin L2 sendsms_queue_push # saving queue_code:c1e3d0353f1101bd9c1b68f1ad6a829b dst:249121508215
192.168.1.4 192.168.1.5 2020-04-25 00:12:18 PID5ea364421bd4b admin L2 sendsms_queue_push # saved queue_code:c1e3d0353f1101bd9c1b68f1ad6a829b smslog_id:35
192.168.1.4 192.168.1.5 2020-04-25 00:12:18 PID5ea364421bd4b admin L2 sendsms # end queue_code:c1e3d0353f1101bd9c1b68f1ad6a829b queue_count:1 sms_count:1 failed_queue:0 failed_sms:0
192.168.1.4 192.168.1.5 2020-04-25 00:44:34 PID5ea36bd298ddc admin L2 sendsms # start uid:1 sender_id:[1234] smsc:[]
192.168.1.4 192.168.1.5 2020-04-25 00:44:34 PID5ea36bd298ddc admin L2 sendsms_queue_create # saving queue_code:688366816fb5ab09efa7497d5e1b55bc src:1234 scheduled:2020-04-25 00:44:34
192.168.1.4 192.168.1.5 2020-04-25 00:44:34 PID5ea36bd298ddc admin L2 sendsms_queue_create # saved queue_code:688366816fb5ab09efa7497d5e1b55bc id:36
192.168.1.4 192.168.1.5 2020-04-25 00:44:34 PID5ea36bd298ddc admin L2 sendsms # dst_count:1 sms_count:1 total_charges:0
192.168.1.4 192.168.1.5 2020-04-25 00:44:34 PID5ea36bd298ddc admin L2 sendsms_queue_push # saving queue_code:688366816fb5ab09efa7497d5e1b55bc dst:249121508215
192.168.1.4 192.168.1.5 2020-04-25 00:44:34 PID5ea36bd298ddc admin L2 sendsms_queue_push # saved queue_code:688366816fb5ab09efa7497d5e1b55bc smslog_id:36
192.168.1.4 192.168.1.5 2020-04-25 00:44:34 PID5ea36bd298ddc admin L2 sendsms # end queue_code:688366816fb5ab09efa7497d5e1b55bc queue_count:1 sms_count:1 failed_queue:0 failed_sms:0
192.168.1.4 192.168.1.5 2020-04-25 00:58:28 PID5ea36f144490d admin L2 sendsms # start uid:1 sender_id:[1234] smsc:[]
192.168.1.4 192.168.1.5 2020-04-25 00:58:28 PID5ea36f144490d admin L2 sendsms_queue_create # saving queue_code:17be6275ebba9f5101150564ea721870 src:1234 scheduled:2020-04-25 00:58:28
192.168.1.4 192.168.1.5 2020-04-25 00:58:28 PID5ea36f144490d admin L2 sendsms_queue_create # saved queue_code:17be6275ebba9f5101150564ea721870 id:37
192.168.1.4 192.168.1.5 2020-04-25 00:58:28 PID5ea36f144490d admin L2 sendsms # dst_count:1 sms_count:1 total_charges:0
192.168.1.4 192.168.1.5 2020-04-25 00:58:28 PID5ea36f144490d admin L2 sendsms_queue_push # saving queue_code:17be6275ebba9f5101150564ea721870 dst:249905951031
192.168.1.4 192.168.1.5 2020-04-25 00:58:28 PID5ea36f144490d admin L2 sendsms_queue_push # saved queue_code:17be6275ebba9f5101150564ea721870 smslog_id:37
192.168.1.4 192.168.1.5 2020-04-25 00:58:28 PID5ea36f144490d admin L2 sendsms # end queue_code:17be6275ebba9f5101150564ea721870 queue_count:1 sms_count:1 failed_queue:0 failed_sms:0

please set logstate to 3 in config.php and then restart playsmsd, and then re-test, paste the log with L3

anton

here is l3 log :

2.168.1.4 192.168.1.5 2020-04-25 00:58:28 PID5ea36f144490d admin L2 sendsms # start uid:1 sender_id:[1234] smsc:[]
192.168.1.4 192.168.1.5 2020-04-25 00:58:28 PID5ea36f144490d admin L2 sendsms_queue_create # saving queue_code:17be6275ebba9f5101150564ea721870 src:1234 scheduled:2020-04-25 00:58:28
192.168.1.4 192.168.1.5 2020-04-25 00:58:28 PID5ea36f144490d admin L2 sendsms_queue_create # saved queue_code:17be6275ebba9f5101150564ea721870 id:37
192.168.1.4 192.168.1.5 2020-04-25 00:58:28 PID5ea36f144490d admin L2 sendsms # dst_count:1 sms_count:1 total_charges:0
192.168.1.4 192.168.1.5 2020-04-25 00:58:28 PID5ea36f144490d admin L2 sendsms_queue_push # saving queue_code:17be6275ebba9f5101150564ea721870 dst:249905951031
192.168.1.4 192.168.1.5 2020-04-25 00:58:28 PID5ea36f144490d admin L2 sendsms_queue_push # saved queue_code:17be6275ebba9f5101150564ea721870 smslog_id:37
192.168.1.4 192.168.1.5 2020-04-25 00:58:28 PID5ea36f144490d admin L2 sendsms # end queue_code:17be6275ebba9f5101150564ea721870 queue_count:1 sms_count:1 failed_queue:0 failed_sms:0
192.168.1.4 192.168.1.5 2020-04-25 02:10:15 PID5ea37fe6df1c8 admin L2 sendsms # start uid:1 sender_id:[1234] smsc:[]
192.168.1.4 192.168.1.5 2020-04-25 02:10:15 PID5ea37fe6df1c8 admin L3 sendsms # maxlen:918 footerlen:7 footer:[ @admin] msglen:5 message:[.....]
192.168.1.4 192.168.1.5 2020-04-25 02:10:15 PID5ea37fe6df1c8 admin L2 sendsms_queue_create # saving queue_code:bd3cb400081dd12ac2375f7006f797aa src:1234 scheduled:2020-04-25 02:10:15
192.168.1.4 192.168.1.5 2020-04-25 02:10:15 PID5ea37fe6df1c8 admin L2 sendsms_queue_create # saved queue_code:bd3cb400081dd12ac2375f7006f797aa id:38
192.168.1.4 192.168.1.5 2020-04-25 02:10:15 PID5ea37fe6df1c8 admin L3 sendsms_manipulate_prefix # before prefix manipulation:[249121508215]
192.168.1.4 192.168.1.5 2020-04-25 02:10:15 PID5ea37fe6df1c8 admin L3 sendsms_manipulate_prefix # after prefix manipulation:[249121508215]
192.168.1.4 192.168.1.5 2020-04-25 02:10:15 PID5ea37fe6df1c8 admin L3 simplerate_hook_rate_getbyprefix # rate not found to:249121508215 default_rate:0
192.168.1.4 192.168.1.5 2020-04-25 02:10:15 PID5ea37fe6df1c8 admin L3 simplerate_hook_rate_getcharges # uid:1 u:admin len:12 unicode:0 to:249121508215 enable_credit_unicode:0 count:1 rate: charge:0
192.168.1.4 192.168.1.5 2020-04-25 02:10:15 PID5ea37fe6df1c8 admin L2 sendsms # dst_count:1 sms_count:1 total_charges:0
192.168.1.4 192.168.1.5 2020-04-25 02:10:15 PID5ea37fe6df1c8 admin L2 sendsms_queue_push # saving queue_code:bd3cb400081dd12ac2375f7006f797aa dst:249121508215
192.168.1.4 192.168.1.5 2020-04-25 02:10:15 PID5ea37fe6df1c8 admin L2 sendsms_queue_push # saved queue_code:bd3cb400081dd12ac2375f7006f797aa smslog_id:38
192.168.1.4 192.168.1.5 2020-04-25 02:10:15 PID5ea37fe6df1c8 admin L2 sendsms # end queue_code:bd3cb400081dd12ac2375f7006f797aa queue_count:1 sms_count:1 failed_queue:0 failed_sms:0
- - 2020-04-25 02:10:15 PID5ea37fe783a0c - L2 sendsmsd # start processing queue_code:bd3cb400081dd12ac2375f7006f797aa chunk:0 queue_count:1 sms_count:1 scheduled:2020-04-25 02:10:15 uid:1 gpid:0 sender_id:1234
- - 2020-04-25 02:10:15 PID5ea37fe783a0c - L2 sendsmsd # sending queue_code:bd3cb400081dd12ac2375f7006f797aa smslog_id:38 to:249121508215 sms_count:1 counter:1
- - 2020-04-25 02:10:15 PID5ea37fe783a0c - L3 sendsms_intercept # msgtemplate modified sms_sender:[1234] sms_footer:[@admin] sms_to:[249121508215] sms_msg:[.....] uid:[1] gpid:[0] sms_type:[text] unicode:[0] queue_code:[bd3cb400081dd12ac2375f7006f797aa] smsc:[]
- - 2020-04-25 02:10:15 PID5ea37fe783a0c - L3 outgoing_hook_sendsms_intercept # found SMSCs:[smpp]
- - 2020-04-25 02:10:15 PID5ea37fe783a0c - L3 outgoing_hook_sendsms_intercept # using prefix based smsc smsc:[smpp] uid:1 parent_uid:0 from:1234 to:249121508215
- - 2020-04-25 02:10:15 PID5ea37fe783a0c - L3 sendsms_intercept # outgoing modified sms_sender:[1234] sms_footer:[@admin] sms_to:[249121508215] sms_msg:[.....] uid:[1] gpid:[0] sms_type:[text] unicode:[0] queue_code:[bd3cb400081dd12ac2375f7006f797aa] smsc:[smpp]
- - 2020-04-25 02:10:15 PID5ea37fe783a0c - L2 sendsms_process # start
- - 2020-04-25 02:10:15 PID5ea37fe783a0c - L3 simplerate_hook_rate_getbyprefix # rate not found to:249121508215 default_rate:0
- - 2020-04-25 02:10:15 PID5ea37fe783a0c - L3 simplerate_hook_rate_getcharges # uid:1 u:admin len:12 unicode:0 to:249121508215 enable_credit_unicode:0 count:1 rate: charge:0
- - 2020-04-25 02:10:15 PID5ea37fe783a0c - L2 simplerate_hook_rate_cansend # allowed user uid:1 sms_to:249121508215 adhoc_credit:0 count:1 rate: charge:0 adhoc_balance:0
- - 2020-04-25 02:10:15 PID5ea37fe783a0c - L2 sendsms # saving smslog_id:38 u:1 parent_uid:0 g:0 gw:kannel smsc:smpp s:1234 d:249121508215 type:text unicode:0 status:0
- - 2020-04-25 02:10:15 PID5ea37fe783a0c - L2 sendsms_process # saved smslog_id:38 id:38
- - 2020-04-25 02:10:15 PID5ea37fe783a0c - L3 sendsms # final smslog_id:38 gw:kannel smsc:smpp message:..... @admin len:12
- - 2020-04-25 02:10:15 PID5ea37fe783a0c - L3 kannel_hook_sendsms # enter smsc:smpp smslog_id:38 uid:1 to:249121508215
- - 2020-04-25 02:10:15 PID5ea37fe783a0c - L3 kannel_hook_sendsms # URL: http://localhost:13131/cgi-bin/sendsms?username=06&password=1234321&from=1234&to=249121508215&dlr-mask=27&dlr-url=http%3A%2F%2Flocalhost%2Fplaysms%2F%2Findex.php%3Fapp%3Dcall%26cat%3Dgateway%26plugin%3Dkannel%26access%3Ddlr%26type%3D%25d%26smslog_id%3D38%26uid%3D1%26smsc%3Dsmpp&account=admin&text=.....+%40admin
- - 2020-04-25 02:10:15 PID5ea37fe783a0c - L3 dlr # isdlrd:1 smslog_id:38 p_status:2 uid:1
- - 2020-04-25 02:10:15 PID5ea37fe783a0c - L3 kannel__outgoing # end smslog_id:38 p_status:2
- - 2020-04-25 02:10:15 PID5ea37fe783a0c - L2 simplerate_hook_rate_deduct # enter smslog_id:38
- - 2020-04-25 02:10:15 PID5ea37fe783a0c - L3 simplerate_hook_rate_getbyprefix # rate not found to:249121508215 default_rate:0
- - 2020-04-25 02:10:15 PID5ea37fe783a0c - L3 simplerate_hook_rate_getcharges # uid:1 u:admin len:12 unicode:0 to:249121508215 enable_credit_unicode:0 count:1 rate: charge:0
- - 2020-04-25 02:10:15 PID5ea37fe783a0c - L2 simplebilling_hook_billing_post # saving smslog_id:38 rate:0 count:1 charge:0
- - 2020-04-25 02:10:15 PID5ea37fe783a0c - L2 simplebilling_hook_billing_post # saved smslog_id:38 id:36
- - 2020-04-25 02:10:15 PID5ea37fe783a0c - L3 simplerate_hook_rate_deduct # deduct successful uid:1 parent_uid:0 smslog_id:38
- - 2020-04-25 02:10:15 PID5ea37fe783a0c - L2 sendsms_process # end
- - 2020-04-25 02:10:15 PID5ea37fe783a0c - L2 sendsmsd # result queue_code:bd3cb400081dd12ac2375f7006f797aa to:249121508215 flag:1 smslog_id:38
- - 2020-04-25 02:10:15 PID5ea37fe783a0c - L2 sendsmsd # finish processing queue_code:bd3cb400081dd12ac2375f7006f797aa uid:1 sender_id:1234 queue_count:1 sms_count:1
- - 2020-04-25 02:10:16 PID5ea37fb759376 - L3 dlrd # id:44 smslog_id:38 p_status:2 uid:1
- - 2020-04-25 02:10:16 PID5ea37fb759376 - L2 simplerate_hook_rate_refund # start smslog_id:38
- - 2020-04-25 02:10:16 PID5ea37fb759376 - L2 simplebilling__rollback # checking smslog_id:38
- - 2020-04-25 02:10:16 PID5ea37fb759376 - L2 simplebilling__rollback # saving smslog_id:38 id:36
- - 2020-04-25 02:10:16 PID5ea37fb759376 - L2 simplebilling__rollback # saved smslog_id:38

@anton
I noticed the smpp was wrong and I fix it to 192.168.1.33 (GoIP gateway IP)

but it didn’t work also here is the latest log

192.168.1.4 192.168.1.5 2020-04-25 02:20:32 PID5ea38250676b3 admin L2 sendsms # start uid:1 sender_id:[1234] smsc:[]
192.168.1.4 192.168.1.5 2020-04-25 02:20:32 PID5ea38250676b3 admin L3 sendsms # maxlen:918 footerlen:0 footer:[] msglen:5 message:[testa]
192.168.1.4 192.168.1.5 2020-04-25 02:20:32 PID5ea38250676b3 admin L2 sendsms_queue_create # saving queue_code:48daec4e76324953b1cd3e673b65f55e src:1234 scheduled:2020-04-25 02:20:32
192.168.1.4 192.168.1.5 2020-04-25 02:20:32 PID5ea38250676b3 admin L2 sendsms_queue_create # saved queue_code:48daec4e76324953b1cd3e673b65f55e id:39
192.168.1.4 192.168.1.5 2020-04-25 02:20:32 PID5ea38250676b3 admin L3 sendsms_manipulate_prefix # before prefix manipulation:[249905951031]
192.168.1.4 192.168.1.5 2020-04-25 02:20:32 PID5ea38250676b3 admin L3 sendsms_manipulate_prefix # after prefix manipulation:[249905951031]
192.168.1.4 192.168.1.5 2020-04-25 02:20:32 PID5ea38250676b3 admin L3 simplerate_hook_rate_getbyprefix # rate not found to:249905951031 default_rate:0
192.168.1.4 192.168.1.5 2020-04-25 02:20:32 PID5ea38250676b3 admin L3 simplerate_hook_rate_getcharges # uid:1 u:admin len:5 unicode:0 to:249905951031 enable_credit_unicode:0 count:1 rate: charge:0
192.168.1.4 192.168.1.5 2020-04-25 02:20:32 PID5ea38250676b3 admin L2 sendsms # dst_count:1 sms_count:1 total_charges:0
192.168.1.4 192.168.1.5 2020-04-25 02:20:32 PID5ea38250676b3 admin L2 sendsms_queue_push # saving queue_code:48daec4e76324953b1cd3e673b65f55e dst:249905951031
192.168.1.4 192.168.1.5 2020-04-25 02:20:32 PID5ea38250676b3 admin L2 sendsms_queue_push # saved queue_code:48daec4e76324953b1cd3e673b65f55e smslog_id:39
192.168.1.4 192.168.1.5 2020-04-25 02:20:32 PID5ea38250676b3 admin L2 sendsms # end queue_code:48daec4e76324953b1cd3e673b65f55e queue_count:1 sms_count:1 failed_queue:0 failed_sms:0
- - 2020-04-25 02:20:33 PID5ea38251ade6c - L2 sendsmsd # start processing queue_code:48daec4e76324953b1cd3e673b65f55e chunk:0 queue_count:1 sms_count:1 scheduled:2020-04-25 02:20:32 uid:1 gpid:0 sender_id:1234
- - 2020-04-25 02:20:33 PID5ea38251ade6c - L2 sendsmsd # sending queue_code:48daec4e76324953b1cd3e673b65f55e smslog_id:39 to:249905951031 sms_count:1 counter:1
- - 2020-04-25 02:20:33 PID5ea38251ade6c - L3 sendsms_intercept # msgtemplate modified sms_sender:[1234] sms_footer:[] sms_to:[249905951031] sms_msg:[testa] uid:[1] gpid:[0] sms_type:[text] unicode:[0] queue_code:[48daec4e76324953b1cd3e673b65f55e] smsc:[]
- - 2020-04-25 02:20:33 PID5ea38251ade6c - L3 outgoing_hook_sendsms_intercept # found SMSCs:[smpp]
- - 2020-04-25 02:20:33 PID5ea38251ade6c - L3 outgoing_hook_sendsms_intercept # using prefix based smsc smsc:[smpp] uid:1 parent_uid:0 from:1234 to:249905951031
- - 2020-04-25 02:20:33 PID5ea38251ade6c - L3 sendsms_intercept # outgoing modified sms_sender:[1234] sms_footer:[] sms_to:[249905951031] sms_msg:[testa] uid:[1] gpid:[0] sms_type:[text] unicode:[0] queue_code:[48daec4e76324953b1cd3e673b65f55e] smsc:[smpp]
- - 2020-04-25 02:20:33 PID5ea38251ade6c - L2 sendsms_process # start
- - 2020-04-25 02:20:33 PID5ea38251ade6c - L3 simplerate_hook_rate_getbyprefix # rate not found to:249905951031 default_rate:0
- - 2020-04-25 02:20:33 PID5ea38251ade6c - L3 simplerate_hook_rate_getcharges # uid:1 u:admin len:5 unicode:0 to:249905951031 enable_credit_unicode:0 count:1 rate: charge:0
- - 2020-04-25 02:20:33 PID5ea38251ade6c - L2 simplerate_hook_rate_cansend # allowed user uid:1 sms_to:249905951031 adhoc_credit:0 count:1 rate: charge:0 adhoc_balance:0
- - 2020-04-25 02:20:33 PID5ea38251ade6c - L2 sendsms # saving smslog_id:39 u:1 parent_uid:0 g:0 gw:kannel smsc:smpp s:1234 d:249905951031 type:text unicode:0 status:0
- - 2020-04-25 02:20:33 PID5ea38251ade6c - L2 sendsms_process # saved smslog_id:39 id:39
- - 2020-04-25 02:20:33 PID5ea38251ade6c - L3 sendsms # final smslog_id:39 gw:kannel smsc:smpp message:testa len:5
- - 2020-04-25 02:20:33 PID5ea38251ade6c - L3 kannel_hook_sendsms # enter smsc:smpp smslog_id:39 uid:1 to:249905951031
- - 2020-04-25 02:20:33 PID5ea38251ade6c - L3 kannel_hook_sendsms # URL: http://192.168.1.33:13131/cgi-bin/sendsms?username=06&password=1234321&from=1234&to=249905951031&dlr-mask=27&dlr-url=http%3A%2F%2Flocalhost%2Fplaysms%2F%2Findex.php%3Fapp%3Dcall%26cat%3Dgateway%26plugin%3Dkannel%26access%3Ddlr%26type%3D%25d%26smslog_id%3D39%26uid%3D1%26smsc%3Dsmpp&account=admin&text=testa

playSMS cannot send directly to GOIP, it has to be via Kannel.

so, make sure playSMS can send to Kannel, it means you have to fully configure Kannel first, set correct username and password for playSMS

after that you have to configure Kannel to connect to GOIP using SMPP

so, definitely the username and password on GOIP and GOIP IP should not be in playSMS config

anton

Ialready installed kannel and all is running fine
please take a view to my above screenshot and logs

thank you so much :slight_smile:

@anton
Any update ?

what can I do now !?

Sorry can’t help for now, I dont have Kannel installed. Try browsing this Forum for playSMS and Kannel.

anton

Missing sendsms port and additional url parameters, like &smsc=kannelsSmsc

I do have an installation with a GoIP-8, but got it working with Jasmin instead of Kannel. Maybe try with that :smile: