Hello Everyone,

I am getting this error when I'm connecting live SMSC connections with my
kannel.



*I/O error or other error. Re-connecting.*
This is the log:

2015-03-27 11:56:53 [11115] [6] DEBUG: Connecting to <***.***.***.****>
2015-03-27 11:56:53 [11115] [6] DEBUG: SMPP[smsc1]: Sending PDU:
2015-03-27 11:56:53 [11115] [6] DEBUG: SMPP PDU 0x7fa1e0000a10 dump:
2015-03-27 11:56:53 [11115] [6] DEBUG:   type_name: bind_transceiver
2015-03-27 11:56:53 [11115] [6] DEBUG:   command_id: 9 = 0x00000009
2015-03-27 11:56:53 [11115] [6] DEBUG:   command_status: 0 = 0x00000000
2015-03-27 11:56:53 [11115] [6] DEBUG:   sequence_number: 1 = 0x00000001
2015-03-27 11:56:53 [11115] [6] DEBUG:   system_id: "*******"
2015-03-27 11:56:53 [11115] [6] DEBUG:   password: "*******"
2015-03-27 11:56:53 [11115] [6] DEBUG:   system_type: "VMA"
2015-03-27 11:56:53 [11115] [6] DEBUG:   interface_version: 52 = 0x00000034
2015-03-27 11:56:53 [11115] [6] DEBUG:   addr_ton: 0 = 0x00000000
2015-03-27 11:56:53 [11115] [6] DEBUG:   addr_npi: 0 = 0x00000000
2015-03-27 11:56:53 [11115] [6] DEBUG:   address_range: "^$"
2015-03-27 11:56:53 [11115] [6] DEBUG: SMPP PDU dump ends.
2015-03-27 11:56:54 [11115] [6] DEBUG: SMPP[smsc1]: Got PDU:
2015-03-27 11:56:54 [11115] [6] DEBUG: SMPP PDU 0x7fa1e0000a10 dump:
2015-03-27 11:56:54 [11115] [6] DEBUG:   type_name: bind_transceiver_resp
2015-03-27 11:56:54 [11115] [6] DEBUG:   command_id: 2147483657 = 0x80000009
2015-03-27 11:56:54 [11115] [6] DEBUG:   command_status: 0 = 0x00000000
2015-03-27 11:56:54 [11115] [6] DEBUG:   sequence_number: 1 = 0x00000001
2015-03-27 11:56:54 [11115] [6] DEBUG:   system_id: "BULKTRANS"
2015-03-27 11:56:54 [11115] [6] DEBUG: SMPP PDU dump ends.
2015-03-27 11:56:54 [11115] [6] DEBUG: SMPP[smsc1]: throughput
(0.00,10000000.00)
2015-03-27 12:02:00 [11115] [6] DEBUG: SMPP[smsc1]: throughput
(0.00,10000000.00)
2015-03-27 12:02:00 [11115] [6] ERROR: SMPP[smsc1]: I/O error or other
error. Re-connecting.
2015-03-27 12:02:00 [11115] [6] ERROR: SMPP[smsc1]: Couldn't connect to SMS
center (retrying in 0 seconds).


And this is my Kannel configuration:

#-------------------------------------------------
# THIS IS A CONFIGURATION FOR KANNEL
#-------------------------------------------------
#  Single Group "CORE"
#-------------------------------------------------

group = core
admin-port = "15000"
admin-port-ssl="no"
admin-password = "******"
status-password = "******"
admin-deny-ip="*.*.*.*"
admin-allow-ip="*.*.*.*"
smsbox-interface ="127.0.0.1"
smsbox-port = "15001"
#smsbox-port-ssl="no"
log-file = "mykannel.log"
log-level = "0"
access-log = "myaccess.access"
dlr-storage = "internal"
sms-incoming-queue-limit = "-1"
sms-outgoing-queue-limit = "1000000"
smsbox-max-pending = "100"
sms-resend-freq = "60"
sms-resend-retry = "-1"

#-------------------------------------------------
#  Single Group "smsbox"
#-------------------------------------------------

group = smsbox
smsbox-id = "smsbox"
bearerbox-host = "127.0.0.1"
bearerbox-port = "15001"
sendsms-port = "15010"
log-file = "mysmsbox1.log"
log-level = "0"
access-log="smsaccess1.access"
sendsms-chars = "0123456789+ "
#max-pending-requests = "512"
#sendsms-url="/cgi-bin/sendsms"
#global-sender = "123456"
#ms-length = "140"
#http-request-retry=5
mo-recode='1'

#-------------------------------------------------
#  Multi Group "SMSC"
#-------------------------------------------------

group = smsc
smsc = "smpp"
smsc-id = "smsc1"
log-file = "mysmsc1.log"
log-level = "0"
host = "***.***.***.***"
port = "*****"
#receive-port="2776"
smsc-username = "*******"
smsc-password = "******"
denied-smsc-id = "smsc2"
allowed-smsc-id = "smsc1"
preferred-smsc-id = "smsc1"
source-addr-ton = "0"
source-addr-npi = "1"
dest-addr-ton = "1"
dest-addr-npi = "1"
service-type = "CMT"
validityperiod = "600"
system-type = "VMA"
alt-charset="us-ascii"
#alt-charset = "ASCII;windows-1252;UTF-8;ISO-8859-1;ISO-8859-7;GSM;UTF-16BE"
#alt-addr-charset = "GSM"
address-range = "^$"
bind-addr-ton = "0"
bind-addr-npi = "0"
enquire-link-interval = "200000"
reconnect-delay = "0"
transceiver-mode = "true"
interface-version = "34"
connection-timeout = "0"
throughput = "10000000.00"
max-pending-submits="10"
#reroute="true"
#reroute-smsc-id="smsc1"
reroute-dlr="true"

#-------------------------------------------

group = smsc
smsc = "smpp"
smsc-id = "smsc2"
log-file = "mysmsc2.log"
log-level = "0"
host = "***.***.***.***"
port = "****"
#receive-port="2776"
smsc-username = "*****"
smsc-password = "*****"
denied-smsc-id = "smsc1"
allowed-smsc-id = "smsc2"
preferred-smsc-id = "smsc2"
source-addr-ton = "0"
source-addr-npi = "1"
dest-addr-ton = "1"
dest-addr-npi = "1"
service-type = "CMT"
validityperiod = "600"
system-type = "VMA"
alt-charset="us-ascii"
#alt-charset = "ASCII;windows-1252;UTF-8;ISO-8859-1;ISO-8859-7;GSM;UTF-16BE"
#alt-addr-charset = "GSM"
address-range = "^$"
bind-addr-ton = "0"
bind-addr-npi = "0"
enquire-link-interval = "200000"
reconnect-delay = "0"
transceiver-mode = "true"
interface-version = "34"
connection-timeout = "0"
throughput = "10000000.00"
max-pending-submits="10"
#reroute="true"
#reroute-smsc-id="smsc2"
reroute-dlr="true"

#-------------------------------------------------
#  Multi Group "smsbox-route"
#-------------------------------------------------

group = smsbox-route
smsbox-id = "smsbox"
smsc-id = "smsc1"

group = smsbox-route
smsbox-id = "smsbox"
smsc-id = "smsc2"

#-------------------------------------------------
# Multi Group "sms-service"
# There should be always a 'default' service.
# This service is used when no other 'sms-service' is applied.
#-------------------------------------------------

group = sms-service
keyword = default
text = "No service specified"
accept-x-kannel-headers = true
#max-messages = 3
concatenation = true
catch-all = true

#-------------------------------------------------
#  Multi Group "sendsms-user"
#-------------------------------------------------

group = sendsms-user
name = "sendsmsuser1"
username = "tester1"
password = "tester1"
forced-smsc = "smsc1"
#default-smsc= "smsc1"
#user-allow-ip="*.*.*.*"
max-messages="10"

group = sendsms-user
name = "sendsmsuser2"
username = "tester2"
password = "tester2"
forced-smsc = "smsc2"
#default-smsc= "smsc2"
user-allow-ip="*.*.*.*"
max-messages="10"

#-------------------------------------------------



Thanks
Ammar Ali

Reply via email to