Hello All,

I have the following kannel.conf

#---------------------------------------------
# SMSC CORE
#

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = ******************
log-file = "/var/log/kannel/bearerbox.log"
log-level = 0
access-log = "/var/log/kannel/bearerbox_access.log"
access-log-clean = true
box-allow-ip = "127.0.0.1"
sms-resend-freq = 120
store-type = file
store-location = "/var/log/kannel/storage"

#---------------------------------------------
# SMSC CONNECTIONS
#


group = smsc
smsc = smpp
smsc-id = PERSONAL
host = 10.129.2.51
port = 8089
smsc-username = ******
smsc-password = ******
my-number = 363
connect-allow-ip = 127.0.0.1
wait-ack = 240
wait-ack-expire = 0x00
system-type = Newton
address-range = ^363$
log-file = "/var/log/kannel/smsc.log"
log-level = 0
transceiver-mode = true
interface-version = 34
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
enquire-link-interval = 60
reconnect-delay = 60

#---------------------------------------------
# SMSBOX SETUP
#

group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13002
smsbox-id = PESRONALSMSBOX
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/smsbox_access.log"

#---------------------------------------------
# SEND-SMS USERS
#
group = sendsms-user
username = *****
password = *****
default-smsc = PERSONAL
max-messages = 1000
concatenation = true
#user-deny-ip = ""
#user-allow-ip = ""

#---------------------------------------------
# SERVICES
#

group = sms-service
keyword-regex = .*
catch-all = yes
get-url = 
"http://192.168.28.36/momoprod/momo-produccion/public/web/inbox/inbox.php";
accept-x-kannel-headers = true



When I send an SMS to my short number, they get delivered to Kannel,
but end up on the SMS recieved queue, and never calling the get-url
from my sms-service group.

Going to /status give me

SMS: received 2 (2 queued), sent 0 (0 queued), store size 2

And I can see the SMSs on /store-status

Why are the SMSs being queued instead of going through the sms-service ?



Following are some logs lines of the sms recieved:

Bearerbox_access log

Receive SMS [SMSC:PERSONAL] [SVC:] [ACT:] [BINF:0] [FID:]
[from:+595971707930] [to:363] [flags:-1:0:-1:0:-1] [msg:4:Test]
[udh:0:]

SMSC log

2014-12-29 14:48:38 [44885] [6] DEBUG: Optional parameter tag (0x000e)
2014-12-29 14:48:38 [44885] [6] DEBUG: Optional parameter length read as 1
2014-12-29 14:48:38 [44885] [6] WARNING: SMPP: Unknown
TLV(0x000e,0x0001,01) for PDU type (deliver_sm) received!
2014-12-29 14:48:38 [44885] [6] DEBUG: Optional parameter tag (0x001d)
2014-12-29 14:48:38 [44885] [6] DEBUG: Optional parameter length read as 14
2014-12-29 14:48:38 [44885] [6] WARNING: SMPP: Unknown
TLV(0x001d,0x000e,494d45493a333538323636303100) for PDU type
(deliver_sm) received!
2014-12-29 14:48:38 [44885] [6] DEBUG: SMPP[PERSONAL]: Got PDU:
2014-12-29 14:48:38 [44885] [6] DEBUG: SMPP PDU 0x7f1474002710 dump:
2014-12-29 14:48:38 [44885] [6] DEBUG:   type_name: deliver_sm
2014-12-29 14:48:38 [44885] [6] DEBUG:   command_id: 5 = 0x00000005
2014-12-29 14:48:38 [44885] [6] DEBUG:   command_status: 0 = 0x00000000
2014-12-29 14:48:38 [44885] [6] DEBUG:   sequence_number: 1325196071 =
0x4efce327
2014-12-29 14:48:38 [44885] [6] DEBUG:   service_type: "0"
2014-12-29 14:48:38 [44885] [6] DEBUG:   source_addr_ton: 1 = 0x00000001
2014-12-29 14:48:38 [44885] [6] DEBUG:   source_addr_npi: 1 = 0x00000001
2014-12-29 14:48:38 [44885] [6] DEBUG:   source_addr: "595971707930"
2014-12-29 14:48:38 [44885] [6] DEBUG:   dest_addr_ton: 0 = 0x00000000
2014-12-29 14:48:38 [44885] [6] DEBUG:   dest_addr_npi: 0 = 0x00000000
2014-12-29 14:48:38 [44885] [6] DEBUG:   destination_addr: "363"
2014-12-29 14:48:38 [44885] [6] DEBUG:   esm_class: 0 = 0x00000000
2014-12-29 14:48:38 [44885] [6] DEBUG:   protocol_id: 31 = 0x0000001f
2014-12-29 14:48:38 [44885] [6] DEBUG:   priority_flag: 0 = 0x00000000
2014-12-29 14:48:38 [44885] [6] DEBUG:   schedule_delivery_time: NULL
2014-12-29 14:48:38 [44885] [6] DEBUG:   validity_period: NULL
2014-12-29 14:48:38 [44885] [6] DEBUG:   registered_delivery: 0 = 0x00000000
2014-12-29 14:48:38 [44885] [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000
2014-12-29 14:48:38 [44885] [6] DEBUG:   data_coding: 0 = 0x00000000
2014-12-29 14:48:38 [44885] [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2014-12-29 14:48:38 [44885] [6] DEBUG:   sm_length: 4 = 0x00000004
2014-12-29 14:48:38 [44885] [6] DEBUG:   short_message: "Test"
2014-12-29 14:48:38 [44885] [6] DEBUG: SMPP PDU dump ends.

Salutations.

Reply via email to