Hi there,

I just noticed that too, thanks for pointing it out.  Also is it possible to 
remove “more_messages_to_send: 1 = 0x00000001” parameter for long message? 
Since my telco mentioned that I have to remove that parameter or else the 
concatenated msg will fail.


2015-12-14 18:10:39 [15925] [6] DEBUG: SMPP PDU 0x7f4fbc0019c0 dump:
2015-12-14 18:10:39 [15925] [6] DEBUG:   type_name: submit_sm
2015-12-14 18:10:39 [15925] [6] DEBUG:   command_id: 4 = 0x00000004
2015-12-14 18:10:39 [15925] [6] DEBUG:   command_status: 0 = 0x00000000
2015-12-14 18:10:39 [15925] [6] DEBUG:   sequence_number: 120 = 0x00000078
2015-12-14 18:10:39 [15925] [6] DEBUG:   service_type: NULL
2015-12-14 18:10:39 [15925] [6] DEBUG:   source_addr_ton: 0 = 0x00000000
2015-12-14 18:10:39 [15925] [6] DEBUG:   source_addr_npi: 1 = 0x00000001
2015-12-14 18:10:39 [15925] [6] DEBUG:   source_addr: "xxxx"
2015-12-14 18:10:39 [15925] [6] DEBUG:   dest_addr_ton: 1 = 0x00000001
2015-12-14 18:10:39 [15925] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2015-12-14 18:10:39 [15925] [6] DEBUG:   destination_addr: "xxxxxxx"
2015-12-14 18:10:39 [15925] [6] DEBUG:   esm_class: 64 = 0x00000040
2015-12-14 18:10:39 [15925] [6] DEBUG:   protocol_id: 0 = 0x00000000
2015-12-14 18:10:39 [15925] [6] DEBUG:   priority_flag: 0 = 0x00000000
2015-12-14 18:10:39 [15925] [6] DEBUG:   schedule_delivery_time: NULL
2015-12-14 18:10:39 [15925] [6] DEBUG:   validity_period: NULL
2015-12-14 18:10:39 [15925] [6] DEBUG:   registered_delivery: 1 = 0x00000001
2015-12-14 18:10:39 [15925] [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000
2015-12-14 18:10:39 [15925] [6] DEBUG:   data_coding: 0 = 0x00000000
2015-12-14 18:10:39 [15925] [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2015-12-14 18:10:39 [15925] [6] DEBUG:   sm_length: 159 = 0x0000009f
2015-12-14 18:10:39 [15925] [6] DEBUG:   short_message:
2015-12-14 18:10:39 [15925] [6] DEBUG:    Octet string at 0x7f4fbc002620:
2015-12-14 18:10:39 [15925] [6] DEBUG:      len:  159
2015-12-14 18:10:39 [15925] [6] DEBUG:      size: 1024
2015-12-14 18:10:39 [15925] [6] DEBUG:      immutable: 0
2015-12-14 18:10:39 [15925] [6] DEBUG:      data: 05 00 03 04 02 01 54 45 53 54 
49 4e 47 20 61 61   ......TESTING aa
2015-12-14 18:10:39 [15925] [6] DEBUG:      data: 61 61 61 61 61 61 61 61 61 61 
61 61 61 61 61 61   aaaaaaaaaaaaaaaa
2015-12-14 18:10:39 [15925] [6] DEBUG:      data: 61 61 61 61 61 61 61 61 61 61 
61 61 61 61 61 61   aaaaaaaaaaaaaaaa
2015-12-14 18:10:39 [15925] [6] DEBUG:      data: 61 61 61 61 61 61 61 61 61 61 
61 61 61 61 61 61   aaaaaaaaaaaaaaaa
2015-12-14 18:10:39 [15925] [6] DEBUG:      data: 61 61 61 61 61 61 61 61 61 61 
61 61 61 61 61 61   aaaaaaaaaaaaaaaa
2015-12-14 18:10:39 [15925] [6] DEBUG:      data: 61 61 61 61 61 61 61 61 61 61 
61 61 61 61 61 61   aaaaaaaaaaaaaaaa
2015-12-14 18:10:39 [15925] [6] DEBUG:      data: 61 61 61 61 61 61 61 61 61 61 
61 61 61 61 61 61   aaaaaaaaaaaaaaaa
2015-12-14 18:10:39 [15925] [6] DEBUG:      data: 61 61 61 61 61 61 61 61 61 61 
61 61 61 61 61 61   aaaaaaaaaaaaaaaa
2015-12-14 18:10:39 [15925] [6] DEBUG:      data: 61 61 61 61 61 61 61 61 61 61 
61 61 61 61 61 61   aaaaaaaaaaaaaaaa
2015-12-14 18:10:39 [15925] [6] DEBUG:      data: 61 61 61 61 61 61 61 61 61 61 
61 61 61 61 61      aaaaaaaaaaaaaaa
2015-12-14 18:10:39 [15925] [6] DEBUG:    Octet string dump ends.
2015-12-14 18:10:39 [15925] [6] DEBUG:   more_messages_to_send: 1 = 0x00000001
2015-12-14 18:10:39 [15925] [6] DEBUG: SMPP PDU dump ends.

2015-12-14 18:10:49 [15925] [6] DEBUG: SMPP[smppConnection1]: Sending PDU:
2015-12-14 18:10:49 [15925] [6] DEBUG: SMPP PDU 0x7f4fbc0019c0 dump:
2015-12-14 18:10:49 [15925] [6] DEBUG:   type_name: submit_sm
2015-12-14 18:10:49 [15925] [6] DEBUG:   command_id: 4 = 0x00000004
2015-12-14 18:10:49 [15925] [6] DEBUG:   command_status: 0 = 0x00000000
2015-12-14 18:10:49 [15925] [14] DEBUG: sms_router: handling message 
(0x7f4f84003090 vs 0x7f4f84003090)
2015-12-14 18:10:49 [15925] [6] DEBUG:   sequence_number: 122 = 0x0000007a
2015-12-14 18:10:49 [15925] [6] DEBUG:   service_type: NULL
2015-12-14 18:10:49 [15925] [6] DEBUG:   source_addr_ton: 0 = 0x00000000
2015-12-14 18:10:49 [15925] [6] DEBUG:   source_addr_npi: 1 = 0x00000001
2015-12-14 18:10:49 [15925] [6] DEBUG:   source_addr: "xxxxx"
2015-12-14 18:10:49 [15925] [6] DEBUG:   dest_addr_ton: 1 = 0x00000001
2015-12-14 18:10:49 [15925] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2015-12-14 18:10:49 [15925] [14] DEBUG: Message routed successfully.
2015-12-14 18:10:49 [15925] [6] DEBUG:   destination_addr: "xxxxx"
2015-12-14 18:10:49 [15925] [6] DEBUG:   esm_class: 64 = 0x00000040
2015-12-14 18:10:49 [15925] [6] DEBUG:   protocol_id: 0 = 0x00000000
2015-12-14 18:10:49 [15925] [6] DEBUG:   priority_flag: 0 = 0x00000000
2015-12-14 18:10:49 [15925] [6] DEBUG:   schedule_delivery_time: NULL
2015-12-14 18:10:49 [15925] [6] DEBUG:   validity_period: NULL
2015-12-14 18:10:49 [15925] [6] DEBUG:   registered_delivery: 1 = 0x00000001
2015-12-14 18:10:49 [15925] [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000
2015-12-14 18:10:49 [15925] [6] DEBUG:   data_coding: 0 = 0x00000000
2015-12-14 18:10:49 [15925] [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2015-12-14 18:10:49 [15925] [6] DEBUG:   sm_length: 159 = 0x0000009f
2015-12-14 18:10:49 [15925] [6] DEBUG:   short_message:
2015-12-14 18:10:49 [15925] [6] DEBUG:    Octet string at 0x7f4fbc0023b0:
2015-12-14 18:10:49 [15925] [6] DEBUG:      len:  159
2015-12-14 18:10:49 [15925] [6] DEBUG:      size: 1024
2015-12-14 18:10:49 [15925] [6] DEBUG:      immutable: 0
2015-12-14 18:10:49 [15925] [6] DEBUG:      data: 05 00 03 07 02 01 61 61 61 61 
61 61 61 61 61 61   ......aaaaaaaaaa
2015-12-14 18:10:49 [15925] [6] DEBUG:      data: 61 61 61 61 61 61 61 61 61 61 
61 61 61 61 61 61   aaaaaaaaaaaaaaaa
2015-12-14 18:10:49 [15925] [6] DEBUG:      data: 61 61 61 61 61 61 61 61 61 61 
61 61 61 61 61 61   aaaaaaaaaaaaaaaa
2015-12-14 18:10:49 [15925] [6] DEBUG:      data: 61 61 61 61 61 61 61 61 61 61 
61 61 61 61 61 61   aaaaaaaaaaaaaaaa
2015-12-14 18:10:49 [15925] [6] DEBUG:      data: 61 61 61 61 61 61 61 61 61 61 
61 61 61 61 61 61   aaaaaaaaaaaaaaaa
2015-12-14 18:10:49 [15925] [6] DEBUG:      data: 61 61 61 61 61 61 61 61 61 61 
61 61 61 61 61 61   aaaaaaaaaaaaaaaa
2015-12-14 18:10:49 [15925] [6] DEBUG:      data: 61 61 61 61 61 61 61 61 61 61 
61 61 61 61 61 61   aaaaaaaaaaaaaaaa
2015-12-14 18:10:49 [15925] [6] DEBUG:      data: 61 61 61 61 61 61 61 61 61 61 
61 61 61 61 61 61   aaaaaaaaaaaaaaaa
2015-12-14 18:10:49 [15925] [6] DEBUG:      data: 61 61 61 61 61 61 61 61 61 61 
61 61 61 61 61 61   aaaaaaaaaaaaaaaa
2015-12-14 18:10:49 [15925] [6] DEBUG:      data: 61 61 61 61 61 61 61 61 61 61 
61 61 61 61 61      aaaaaaaaaaaaaaa
2015-12-14 18:10:49 [15925] [6] DEBUG:    Octet string dump ends.
2015-12-14 18:10:49 [15925] [6] DEBUG:   more_messages_to_send: 1 = 0x00000001
2015-12-14 18:10:49 [15925] [6] DEBUG: SMPP PDU dump ends.
2015-12-14 18:10:49 [15925] [6] DEBUG: SMPP[smppConnection1]: throughput 
(1.00,7.00)
2015-12-14 18:10:49 [15925] [6] DEBUG: SMPP[smppConnection1]: Manually forced 
source addr ton = 0, source add npi = 1
2015-12-14 18:10:49 [15925] [6] DEBUG: SMPP[smppConnection1]: Manually forced 
dest addr ton = 1, dest add npi = 1
2015-12-14 18:10:49 [15925] [6] DEBUG: SMPP[smppConnection1]: Sending PDU:
2015-12-14 18:10:49 [15925] [6] DEBUG: SMPP PDU 0x7f4fbc0019c0 dump:
2015-12-14 18:10:49 [15925] [6] DEBUG:   type_name: submit_sm
2015-12-14 18:10:49 [15925] [6] DEBUG:   command_id: 4 = 0x00000004
2015-12-14 18:10:49 [15925] [6] DEBUG:   command_status: 0 = 0x00000000
2015-12-14 18:10:49 [15925] [6] DEBUG:   sequence_number: 123 = 0x0000007b
2015-12-14 18:10:49 [15925] [6] DEBUG:   service_type: NULL
2015-12-14 18:10:49 [15925] [6] DEBUG:   source_addr_ton: 0 = 0x00000000
2015-12-14 18:10:49 [15925] [6] DEBUG:   source_addr_npi: 1 = 0x00000001
2015-12-14 18:10:49 [15925] [6] DEBUG:   source_addr: "xxxxx"
2015-12-14 18:10:49 [15925] [6] DEBUG:   dest_addr_ton: 1 = 0x00000001
2015-12-14 18:10:49 [15925] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2015-12-14 18:10:49 [15925] [6] DEBUG:   destination_addr: "xxxxx"
2015-12-14 18:10:49 [15925] [6] DEBUG:   esm_class: 64 = 0x00000040
2015-12-14 18:10:49 [15925] [6] DEBUG:   protocol_id: 0 = 0x00000000
2015-12-14 18:10:49 [15925] [6] DEBUG:   priority_flag: 0 = 0x00000000
2015-12-14 18:10:49 [15925] [6] DEBUG:   schedule_delivery_time: NULL
2015-12-14 18:10:49 [15925] [6] DEBUG:   validity_period: NULL
2015-12-14 18:10:49 [15925] [6] DEBUG:   registered_delivery: 0 = 0x00000000
2015-12-14 18:10:49 [15925] [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000
2015-12-14 18:10:49 [15925] [6] DEBUG:   data_coding: 0 = 0x00000000
2015-12-14 18:10:49 [15925] [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2015-12-14 18:10:49 [15925] [6] DEBUG:   sm_length: 14 = 0x0000000e
2015-12-14 18:10:49 [15925] [6] DEBUG:   short_message:
2015-12-14 18:10:49 [15925] [6] DEBUG:    Octet string at 0x7f4fbc0030e0:
2015-12-14 18:10:49 [15925] [6] DEBUG:      len:  14
2015-12-14 18:10:49 [15925] [6] DEBUG:      size: 1024
2015-12-14 18:10:49 [15925] [6] DEBUG:      immutable: 0
2015-12-14 18:10:49 [15925] [6] DEBUG:      data: 05 00 03 07 02 02 61 61 61 61 
61 61 61 2e         ......aaaaaaa.
2015-12-14 18:10:49 [15925] [6] DEBUG:    Octet string dump ends.
2015-12-14 18:10:49 [15925] [6] DEBUG: SMPP PDU dump ends.


Regards.

From: Jesus Irausquin [mailto:jdirausq...@gmail.com]
Sent: Monday, December 14, 2015 5:56 PM
To: Arif Noor
Cc: users@kannel.org
Subject: Re: SMSBOX Denied from Host

Hi,
The next line you have in your configuration is denying all smsbox connections 
attempts:

box-deny-ip = "*.*.*.*"

Just delete it...

Regards,
Dan

On 14/12/2015, at 0:57, Arif Noor 
<md.a...@forest-interactive.com<mailto:md.a...@forest-interactive.com>> wrote:
Greeting Kannel users,

I’m having this issue where smsbox was not able to create a box like below, 
kindly advise how can I fix this.

2015-12-14 13:14:26 [2765] [0] INFO: Kannel bearerbox II version svn-r5154 
starting
2015-12-14 13:14:26 [2765] [0] INFO: Loading store file 
`/opt/kannel/kannel_dump/smpp.store'
2015-12-14 13:14:26 [2765] [0] INFO: Store-file size 0, starting to unpack
2015-12-14 13:14:26 [2765] [0] INFO: Retrieved 0 messages, non-acknowledged 
messages: 0
2015-12-14 13:14:26 [2765] [0] DEBUG: Started thread 8 
(gw/bb_store_file.c:store_dumper)
2015-12-14 13:14:26 [2765] [0] INFO: MAIN: Start-up done, entering mainloop
2015-12-14 13:14:26 [2765] [8] DEBUG: Thread 8 
(gw/bb_store_file.c:store_dumper) maps to pid 2765.
2015-12-14 13:14:26 [2765] [8] DEBUG: Dumping 0 messages to store
2015-12-14 13:14:28 [2765] [5] INFO: Box connection tried from denied host 
<127.0.0.1>, disconnected
2015-12-14 13:14:28 [2765] [5] ERROR: Failed to create new boxc connection.
2015-12-14 13:14:39 [2765] [5] INFO: Box connection tried from denied host 
<127.0.0.1>, disconnected
2015-12-14 13:14:39 [2765] [5] ERROR: Failed to create new boxc connection.
2015-12-14 13:14:50 [2765] [5] INFO: Box connection tried from denied host 
<127.0.0.1>, disconnected
2015-12-14 13:14:50 [2765] [5] ERROR: Failed to create new boxc connection.
2015-12-14 13:15:01 [2765] [5] INFO: Box connection tried from denied host 
<127.0.0.1>, disconnected
2015-12-14 13:15:01 [2765] [5] ERROR: Failed to create new boxc connection.


Configuration

group = core
admin-port = 13005
smsbox-port = 13007
sms-resend-retry = 10
admin-password = xxxxx
box-deny-ip = "*.*.*.*"
#box-allow-ip = "xxxxx"
#unified-prefix="-,+"
access-log = /opt/kannel/kannel_dump/smpp_access.log
access-log-format = "[SMSC:%i] [from:%p] [to:%P] [msg:%L:%b]"
store-file = "/opt/kannel/kannel_dump/smpp.store"
store-dump-freq = 200
sms-resend-freq = 10


group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13017
http-request-retry = 0
reply-couldnotfetch = "Please wait"

include = "include/smpp_sms.conf"


group = smsc
smsc = smpp
smsc-id = smppConnection1
allowed-smsc-id = "smppConnection1"
host = xxx
port = xxx
system-type = ""
address-range = ""
smsc-username = "xxxx"
smsc-password = "xxxx"
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
interface-version = 34
throughput = 7
alt-charset = "utf-8"
connection-timeout = 700
max-pending-submits = 15
enquire-link-interval = 30
transceiver-mode = 1
esm-class = 0

group = sendsms-user
username = smsSMPP1
password = smsPass
max-messages  = 2
concatenation = true
default-smsc = smppConnection1

group = sms-service
keyword = default
accepted-smsc = smppConnection1
get-url = "http://localhost/api/xxx";
max-messages = 0
concatenation = true

Reply via email to