Re: I/O error or other error. Re-connecting

2015-04-24 Thread ha...@aeon.pk
Connection to SMSC is fluctuating. Check your VPN logs.

On Fri, Mar 27, 2015 at 11:50 AM, Ammar Ali  wrote:

> 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 [5] [6] DEBUG: Connecting to <***.***.***.>
> 2015-03-27 11:56:53 [5] [6] DEBUG: SMPP[smsc1]: Sending PDU:
> 2015-03-27 11:56:53 [5] [6] DEBUG: SMPP PDU 0x7fa1ea10 dump:
> 2015-03-27 11:56:53 [5] [6] DEBUG:   type_name: bind_transceiver
> 2015-03-27 11:56:53 [5] [6] DEBUG:   command_id: 9 = 0x0009
> 2015-03-27 11:56:53 [5] [6] DEBUG:   command_status: 0 = 0x
> 2015-03-27 11:56:53 [5] [6] DEBUG:   sequence_number: 1 = 0x0001
> 2015-03-27 11:56:53 [5] [6] DEBUG:   system_id: "***"
> 2015-03-27 11:56:53 [5] [6] DEBUG:   password: "***"
> 2015-03-27 11:56:53 [5] [6] DEBUG:   system_type: "VMA"
> 2015-03-27 11:56:53 [5] [6] DEBUG:   interface_version: 52 = 0x0034
> 2015-03-27 11:56:53 [5] [6] DEBUG:   addr_ton: 0 = 0x
> 2015-03-27 11:56:53 [5] [6] DEBUG:   addr_npi: 0 = 0x
> 2015-03-27 11:56:53 [5] [6] DEBUG:   address_range: "^$"
> 2015-03-27 11:56:53 [5] [6] DEBUG: SMPP PDU dump ends.
> 2015-03-27 11:56:54 [5] [6] DEBUG: SMPP[smsc1]: Got PDU:
> 2015-03-27 11:56:54 [5] [6] DEBUG: SMPP PDU 0x7fa1ea10 dump:
> 2015-03-27 11:56:54 [5] [6] DEBUG:   type_name: bind_transceiver_resp
> 2015-03-27 11:56:54 [5] [6] DEBUG:   command_id: 2147483657 =
> 0x8009
> 2015-03-27 11:56:54 [5] [6] DEBUG:   command_status: 0 = 0x
> 2015-03-27 11:56:54 [5] [6] DEBUG:   sequence_number: 1 = 0x0001
> 2015-03-27 11:56:54 [5] [6] DEBUG:   system_id: "BULKTRANS"
> 2015-03-27 11:56:54 [5] [6] DEBUG: SMPP PDU dump ends.
> 2015-03-27 11:56:54 [5] [6] DEBUG: SMPP[smsc1]: throughput
> (0.00,10000000.00)
> 2015-03-27 12:02:00 [5] [6] DEBUG: SMPP[smsc1]: throughput
> (0.00,1000.00)
> 2015-03-27 12:02:00 [5] [6] ERROR: SMPP[smsc1]: I/O error or other
> error. Re-connecting.
> 2015-03-27 12:02:00 [5] [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 = "100"
> 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 = "

I/O error or other error. Re-connecting

2015-03-26 Thread Ammar Ali
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 [5] [6] DEBUG: Connecting to <***.***.***.>
2015-03-27 11:56:53 [5] [6] DEBUG: SMPP[smsc1]: Sending PDU:
2015-03-27 11:56:53 [5] [6] DEBUG: SMPP PDU 0x7fa1ea10 dump:
2015-03-27 11:56:53 [5] [6] DEBUG:   type_name: bind_transceiver
2015-03-27 11:56:53 [5] [6] DEBUG:   command_id: 9 = 0x0009
2015-03-27 11:56:53 [5] [6] DEBUG:   command_status: 0 = 0x
2015-03-27 11:56:53 [5] [6] DEBUG:   sequence_number: 1 = 0x0001
2015-03-27 11:56:53 [5] [6] DEBUG:   system_id: "***"
2015-03-27 11:56:53 [5] [6] DEBUG:   password: "***"
2015-03-27 11:56:53 [5] [6] DEBUG:   system_type: "VMA"
2015-03-27 11:56:53 [5] [6] DEBUG:   interface_version: 52 = 0x0034
2015-03-27 11:56:53 [5] [6] DEBUG:   addr_ton: 0 = 0x
2015-03-27 11:56:53 [5] [6] DEBUG:   addr_npi: 0 = 0x
2015-03-27 11:56:53 [5] [6] DEBUG:   address_range: "^$"
2015-03-27 11:56:53 [5] [6] DEBUG: SMPP PDU dump ends.
2015-03-27 11:56:54 [5] [6] DEBUG: SMPP[smsc1]: Got PDU:
2015-03-27 11:56:54 [5] [6] DEBUG: SMPP PDU 0x7fa1ea10 dump:
2015-03-27 11:56:54 [5] [6] DEBUG:   type_name: bind_transceiver_resp
2015-03-27 11:56:54 [5] [6] DEBUG:   command_id: 2147483657 = 0x8009
2015-03-27 11:56:54 [5] [6] DEBUG:   command_status: 0 = 0x
2015-03-27 11:56:54 [5] [6] DEBUG:   sequence_number: 1 = 0x0001
2015-03-27 11:56:54 [5] [6] DEBUG:   system_id: "BULKTRANS"
2015-03-27 11:56:54 [5] [6] DEBUG: SMPP PDU dump ends.
2015-03-27 11:56:54 [5] [6] DEBUG: SMPP[smsc1]: throughput
(0.00,1000.00)
2015-03-27 12:02:00 [5] [6] DEBUG: SMPP[smsc1]: throughput
(0.00,10000000.00)
2015-03-27 12:02:00 [5] [6] ERROR: SMPP[smsc1]: I/O error or other
error. Re-connecting.
2015-03-27 12:02:00 [5] [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 = "100"
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 = "20"
reconnect-delay = "0"
transceiver-mode = "true"
interface-version = "34"
connection-timeout = "0"
throughput = "1000.00"
max-pending-submits="10"
#reroute="true"
#reroute-smsc-id="smsc1"

Re: I/O Error or other error.

2011-07-12 Thread Nikos Balkanas

This is a network problem, not kannel's. Try to telnet from your shell:

telnet  

You may need to talk to your SMSc. When you get it working, it will work 
with kannel, too.


BR,
Nikos
- Original Message - 
From: Karan Zaveri

To: users@kannel.org
Sent: Tuesday, July 12, 2011 8:58 AM
Subject: I/O Error or other error.


Hello,

When trying to connect with SMSC i am getting the following error.

2011-07-07 03:49:34 [22587] [8] ERROR: SMPP[smscMTn]: I/O error or other 
error. Re-connecting.
2011-07-07 03:49:34 [22587] [8] ERROR: SMPP[smscMTn]: Couldn't connect to 
SMS center (retrying in 10 seconds).


Has anyone faced this problem before? This does not seem to be an error 
generated because of incorrect login credentials but something else, not 
sure what is really causing this as the error is very unclear.


Karan 





Re: I/O Error or other error.

2011-07-11 Thread ha...@aeon.pk
Your system is not connected to SMSC. Either some VPN issue or something
similar. In short, far-end to which you are connecting is not SMSC.

On Tue, Jul 12, 2011 at 10:58 AM, Karan Zaveri wrote:

> Hello,
>
> When trying to connect with SMSC i am getting the following error.
>
> 2011-07-07 03:49:34 [22587] [8] ERROR: SMPP[smscMTn]: I/O error or other
> error. Re-connecting.
> 2011-07-07 03:49:34 [22587] [8] ERROR: SMPP[smscMTn]: Couldn't connect to
> SMS center (retrying in 10 seconds).
>
> Has anyone faced this problem before? This does not seem to be an error
> generated because of incorrect login credentials but something else, not
> sure what is really causing this as the error is very unclear.
>
> Karan
>
>


I/O Error or other error.

2011-07-11 Thread Karan Zaveri
Hello,

When trying to connect with SMSC i am getting the following error.

2011-07-07 03:49:34 [22587] [8] ERROR: SMPP[smscMTn]: I/O error or other
error. Re-connecting.
2011-07-07 03:49:34 [22587] [8] ERROR: SMPP[smscMTn]: Couldn't connect to
SMS center (retrying in 10 seconds).

Has anyone faced this problem before? This does not seem to be an error
generated because of incorrect login credentials but something else, not
sure what is really causing this as the error is very unclear.

Karan


Re: I/O error or other error. Re-connecting.

2011-05-20 Thread Nikos Balkanas

Hi,

Your problem is pretty clear from your logs. Kannel cannot connect to your 
smsc. Either you have the wrong settings, or you have a network problem. You 
should try connecting to it from the shell. It seems that your transmit port 
is wrong.


Meanwhile, it seems that your receive port is connected, and therefore you 
can receive stuff from the smsc. Eventually, once your receive connection is 
establisehed, kannel will stop trying to reconnect the transmit end (this is 
a known kannel bug). You should really try using transceiver mode if you 
can.


BR,
Nikos
- Original Message - 
From: Lee Vidor

To: users@kannel.org
Sent: Friday, May 20, 2011 11:23 AM
Subject: I/O error or other error. Re-connecting.


Hi group,


Strange on really. The following is my current setup (from status page)


Kannel bearerbox version `svn-r4901'. Build `Apr 18 2011 02:30:03', compiler 
`4.1.2 20080704 (Red Hat 4.1.2-48)'. System Linux, release 
2.6.18-194.32.1.el5, version #1 SMP Wed Jan 5 17:52:25 EST 2011, machine 
x86_64. Hostname 28793_1_570919, IP 127.0.1.1. Libxml version 2.6.26. Using 
OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008. Using native malloc.





About every hour I get the following message in my kannel log file:


2011-05-20 08:02:28 [4308] [6] ERROR: SMPP[ABCDE]: I/O error or other error. 
Re-connecting.
2011-05-20 08:02:28 [4308] [6] ERROR: SMPP[ABCDE]: Couldn't connect to SMS 
center (retrying in 10 seconds).
2011-05-20 08:02:28 [4308] [7] ERROR: SMPP[ABCDE]: I/O error or other error. 
Re-connecting.
2011-05-20 08:02:28 [4308] [7] ERROR: SMPP[ABCDE]: Couldn't connect to SMS 
center (retrying in 10 seconds).

2011-05-20 08:02:38 [4308] [6] DEBUG: Connecting to <123.123.123.123>
2011-05-20 08:02:38 [4308] [7] DEBUG: Connecting to <123.123.123.123>


Then after this i can no longer submit_sm but can receive deliver_sm for 
older messages fine.



When I then attempt to submit_sm I get the following:


2011-05-20 07:59:54 [553] [9] DEBUG: boxc_receiver: sms received
2011-05-20 07:59:54 [553] [9] DEBUG: send_msg: sending msg to boxc: 
2011-05-20 07:59:54 [553] [8] DEBUG: clear_old_concat_parts called
2011-05-20 07:59:54 [553] [8] DEBUG: sms_router: handling message (0x9016470 
vs 0x9016470)

2011-05-20 07:59:54 [553] [8] DEBUG: Routing failed, re-queued.
2011-05-20 07:59:54 [553] [8] DEBUG: sms_router: handling message (0x9016470 
vs 0x9016470)

2011-05-20 07:59:54 [553] [8] DEBUG: Routing failed, re-queued.
2011-05-20 07:59:54 [553] [8] DEBUG: sms_router: time to sleep 30.00 secs.
2011-05-20 07:59:54 [553] [8] DEBUG: sms_router: gwlist_len = 1
2011-05-20 07:59:54 [553] [8] DEBUG: sms_router: handling message (0x9016470 
vs 0x9016470)

2011-05-20 07:59:54 [553] [8] DEBUG: Routing failed, re-queued.
2011-05-20 07:59:54 [553] [8] DEBUG: sms_router: handling message (0x9016470 
vs 0x9016470)

2011-05-20 07:59:54 [553] [8] DEBUG: Routing failed, re-queued.
2011-05-20 07:59:54 [553] [8] DEBUG: sms_router: time to sleep 30.00 secs.
2011-05-20 07:59:58 [553] [6] DEBUG: SMPP[ABCDE]: Sending enquire link:




If I then restart, all is okay.




Current config:


group = core
dlr-storage = pgsql
admin-port = 13000
admin-password = password
status-password = password
admin-allow-ip = ''
smsbox-port = 13001
log-level = 0
log-file = "/tmp/kannelclient.log"
box-allow-ip = "127.0.0.1"


group = pgsql-connection
id = mydlr
host = localhost
username = postgres
password = password
database = dlr
max-connections =20


group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc


group = smsbox
smsbox-id = BOX1
bearerbox-host = 127.0.0.1
sendsms-port = 13013
log-file = "tmp/smsbox.log"
log-level = 0
access-log = "/tmp/access.log"


group = sendsms-user
username = user
password = password


group = smsc
smsc = smpp
smsc-id = ABCDE
host = 123.123.123.123
port = 7774
receive-port = 7775
smsc-username = username
smsc-password = password
address-range = ""
system-type= ""
enquire-link-interval = 30
dest-addr-npi = 1
dest-addr-ton = 1




group = smsbox-route
smsc-id = ABCDE
smsbox-id = BOX1






Has anyone seen this issue before ?


Regards,


Lee 





I/O error or other error. Re-connecting.

2011-05-20 Thread Lee Vidor
Hi group,

Strange on really. The following is my current setup (from status page)

Kannel bearerbox version `svn-r4901'. Build `Apr 18 2011 02:30:03', compiler 
`4.1.2 20080704 (Red Hat 4.1.2-48)'. System Linux, release 2.6.18-194.32.1.el5, 
version #1 SMP Wed Jan 5 17:52:25 EST 2011, machine x86_64. Hostname 
28793_1_570919, IP 127.0.1.1. Libxml version 2.6.26. Using OpenSSL 
0.9.8e-fips-rhel5 01 Jul 2008. Using native malloc.


About every hour I get the following message in my kannel log file:

2011-05-20 08:02:28 [4308] [6] ERROR: SMPP[ABCDE]: I/O error or other error. 
Re-connecting.
2011-05-20 08:02:28 [4308] [6] ERROR: SMPP[ABCDE]: Couldn't connect to SMS 
center (retrying in 10 seconds).
2011-05-20 08:02:28 [4308] [7] ERROR: SMPP[ABCDE]: I/O error or other error. 
Re-connecting.
2011-05-20 08:02:28 [4308] [7] ERROR: SMPP[ABCDE]: Couldn't connect to SMS 
center (retrying in 10 seconds).
2011-05-20 08:02:38 [4308] [6] DEBUG: Connecting to <123.123.123.123>
2011-05-20 08:02:38 [4308] [7] DEBUG: Connecting to <123.123.123.123>

Then after this i can no longer submit_sm but can receive deliver_sm for older 
messages fine.

When I then attempt to submit_sm I get the following:

2011-05-20 07:59:54 [553] [9] DEBUG: boxc_receiver: sms received
2011-05-20 07:59:54 [553] [9] DEBUG: send_msg: sending msg to boxc: 
2011-05-20 07:59:54 [553] [8] DEBUG: clear_old_concat_parts called
2011-05-20 07:59:54 [553] [8] DEBUG: sms_router: handling message (0x9016470 vs 
0x9016470)
2011-05-20 07:59:54 [553] [8] DEBUG: Routing failed, re-queued.
2011-05-20 07:59:54 [553] [8] DEBUG: sms_router: handling message (0x9016470 vs 
0x9016470)
2011-05-20 07:59:54 [553] [8] DEBUG: Routing failed, re-queued.
2011-05-20 07:59:54 [553] [8] DEBUG: sms_router: time to sleep 30.00 secs.
2011-05-20 07:59:54 [553] [8] DEBUG: sms_router: gwlist_len = 1
2011-05-20 07:59:54 [553] [8] DEBUG: sms_router: handling message (0x9016470 vs 
0x9016470)
2011-05-20 07:59:54 [553] [8] DEBUG: Routing failed, re-queued.
2011-05-20 07:59:54 [553] [8] DEBUG: sms_router: handling message (0x9016470 vs 
0x9016470)
2011-05-20 07:59:54 [553] [8] DEBUG: Routing failed, re-queued.
2011-05-20 07:59:54 [553] [8] DEBUG: sms_router: time to sleep 30.00 secs.
2011-05-20 07:59:58 [553] [6] DEBUG: SMPP[ABCDE]: Sending enquire link:


If I then restart, all is okay. 


Current config:

group = core
dlr-storage = pgsql
admin-port = 13000
admin-password = password
status-password = password
admin-allow-ip = ''
smsbox-port = 13001
log-level = 0
log-file = "/tmp/kannelclient.log"
box-allow-ip = "127.0.0.1"

group = pgsql-connection
id = mydlr
host = localhost
username = postgres
password = password
database = dlr
max-connections =20

group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc

group = smsbox
smsbox-id = BOX1
bearerbox-host = 127.0.0.1
sendsms-port = 13013
log-file = "tmp/smsbox.log"
log-level = 0
access-log = "/tmp/access.log"

group = sendsms-user
username = user
password = password

group = smsc
smsc = smpp
smsc-id = ABCDE
host = 123.123.123.123
port = 7774
receive-port = 7775
smsc-username = username
smsc-password = password
address-range = ""
system-type= ""
enquire-link-interval = 30
dest-addr-npi = 1
dest-addr-ton = 1


group = smsbox-route
smsc-id = ABCDE
smsbox-id = BOX1



Has anyone seen this issue before ?

Regards,

Lee

 



I/O error or other error. Re-connecting

2008-12-02 Thread hafez ahmad
Hi list,

I have 2 connection one RX and the other TX, the both connections are
connected fine, I can receive the SMS using the RX, but when I use the TX
connection to send SMS it is changed to reconnecting and I get the following
error in my logs:

 2008-12-02 14:21:07 [10148] [7] DEBUG: SMPP[MYTXCONNECTION]: Manually
forced dest addr ton = 1, dest add npi = 1
2008-12-02 14:21:07 [10148] [7] DEBUG: SMPP[MYTXCONNECTION]: Sending PDU:
2008-12-02 14:21:07 [10148] [7] DEBUG: SMPP PDU 0x81b5430 dump:
2008-12-02 14:21:07 [10148] [7] DEBUG:   type_name: submit_sm
2008-12-02 14:21:07 [10148] [7] DEBUG:   command_id: 4 = 0x0004
2008-12-02 14:21:07 [10148] [7] DEBUG:   command_status: 0 = 0x
2008-12-02 14:21:07 [10148] [7] DEBUG:   sequence_number: 5 = 0x0005
2008-12-02 14:21:07 [10148] [7] DEBUG:   service_type: "200"
2008-12-02 14:21:07 [10148] [7] DEBUG:   source_addr_ton: 1 = 0x0001
2008-12-02 14:21:07 [10148] [7] DEBUG:   source_addr_npi: 1 = 0x0001
2008-12-02 14:21:07 [10148] [7] DEBUG:   source_addr: "6119"
2008-12-02 14:21:07 [10148] [7] DEBUG:   dest_addr_ton: 1 = 0x0001
2008-12-02 14:21:07 [10148] [7] DEBUG:   dest_addr_npi: 1 = 0x0001
2008-12-02 14:21:07 [10148] [7] DEBUG:   destination_addr: ""
2008-12-02 14:21:07 [10148] [7] DEBUG:   esm_class: 3 = 0x0003
2008-12-02 14:21:07 [10148] [7] DEBUG:   protocol_id: 0 = 0x
2008-12-02 14:21:07 [10148] [7] DEBUG:   priority_flag: 0 = 0x
2008-12-02 14:21:07 [10148] [7] DEBUG:   schedule_delivery_time: NULL
2008-12-02 14:21:07 [10148] [7] DEBUG:   validity_period: NULL
2008-12-02 14:21:07 [10148] [7] DEBUG:   registered_delivery: 1 = 0x0001
2008-12-02 14:21:07 [10148] [7] DEBUG:   replace_if_present_flag: 0 =
0x
2008-12-02 14:21:07 [10148] [7] DEBUG:   data_coding: 8 = 0x0008
2008-12-02 14:21:07 [10148] [7] DEBUG:   sm_default_msg_id: 0 = 0x
2008-12-02 14:21:07 [10148] [7] DEBUG:   sm_length: 14 = 0x000e
2008-12-02 14:21:07 [10148] [7] DEBUG:   short_message:
2008-12-02 14:21:07 [10148] [7] DEBUG:Octet string at 0x81b5538:
2008-12-02 14:21:07 [10148] [7] DEBUG:  len:  14
2008-12-02 14:21:07 [10148] [7] DEBUG:  size: 15
2008-12-02 14:21:07 [10148] [7] DEBUG:  immutable: 0
2008-12-02 14:21:07 [10148] [7] DEBUG:  data: 00 74 00 65 00 73 00 74 00
33 00 35 00 30 .t.e.s.t.3.5.0
2008-12-02 14:21:07 [10148] [7] DEBUG:Octet string dump ends.
2008-12-02 14:21:07 [10148] [7] DEBUG: SMPP PDU dump ends.
2008-12-02 14:21:21 [10148] [7] DEBUG: SMPP[MYTXCONNECTION]: Sending enquire
link:
2008-12-02 14:21:21 [10148] [7] DEBUG: SMPP PDU 0x81b5430 dump:
2008-12-02 14:21:21 [10148] [7] DEBUG:   type_name: enquire_link
2008-12-02 14:21:21 [10148] [7] DEBUG:   command_id: 21 = 0x0015
2008-12-02 14:21:21 [10148] [7] DEBUG:   command_status: 0 = 0x
2008-12-02 14:21:21 [10148] [7] DEBUG:   sequence_number: 6 = 0x0006
2008-12-02 14:21:21 [10148] [7] DEBUG: SMPP PDU dump ends.
2008-12-02 14:21:21 [10148] [6] DEBUG: SMPP[MYRXCONNECTION]: Sending enquire
link:
2008-12-02 14:21:21 [10148] [6] DEBUG: SMPP PDU 0x81b5430 dump:
2008-12-02 14:21:21 [10148] [6] DEBUG:   type_name: enquire_link
2008-12-02 14:21:21 [10148] [6] DEBUG:   command_id: 21 = 0x0015
2008-12-02 14:21:21 [10148] [6] DEBUG:   command_status: 0 = 0x
2008-12-02 14:21:21 [10148] [6] DEBUG:   sequence_number: 5 = 0x0005
2008-12-02 14:21:21 [10148] [6] DEBUG: SMPP PDU dump ends.
2008-12-02 14:21:22 [10148] [6] DEBUG: SMPP[MYRXCONNECTION]: Got PDU:
2008-12-02 14:21:22 [10148] [6] DEBUG: SMPP PDU 0x81b5430 dump:
2008-12-02 14:21:22 [10148] [6] DEBUG:   type_name: enquire_link_resp
2008-12-02 14:21:22 [10148] [6] DEBUG:   command_id: 2147483669 = 0x8015
2008-12-02 14:21:22 [10148] [6] DEBUG:   command_status: 0 = 0x
2008-12-02 14:21:22 [10148] [6] DEBUG:   sequence_number: 5 = 0x0005
2008-12-02 14:21:22 [10148] [6] DEBUG: SMPP PDU dump ends.
2008-12-02 14:21:26 [10148] [7] ERROR: SMPP[MYTXCONNECTION]: I/O error or
other error. Re-connecting.
2008-12-02 14:21:26 [10148] [7] ERROR: SMPP[MYTXCONNECTION]: Couldn't
connect to SMS center (retrying in 10 seconds).

*and the following is my SMSC *

group = smsc
smsc = smpp
smsc-id = MYRXCONNECTION
host = xx.xxx.xxx.xxx
port = 0
receive-port = 6566
smsc-username = "USERNAME"
smsc-password = PASSWORD
system-type = "smpp"
dlr-group-id =  MYDLRGROUP
allowed-smsc-id = MYRXCONNECTION;MYDLRGROUP
interface-version = 34
reconnect-delay = 10
source-addr-ton = 1
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
bind-addr-ton = 1
bind-addr-npi = 1
msg-id-type = 0x00
log-file = /var/log/kannel/error/1.log
log-level = 0


group = smsc
smsc = smpp
smsc-id = MYTXCONNECTION
host = xx.xxx.xxx.xxx
port = 6566
receive-port = 0
smsc-username = "USERNAME"
smsc-password = PASSWORD
system-type = "smpp"
dlr-group-id =  MYDLRGROUP
allowed-smsc-id = MYTXCONNECTION;MYDLRG

[Strange log behavior] I/O error or other error. Couldn't connect to SMS center

2005-06-07 Thread aleksandar ivanovski

Hi list,

I am one step before get it running full as it should.
I worked out the dlr and everithing is perfect.
It is just that from time to time the log reports the following lines:

2005-06-06 11:11:44 [17397] [7] ERROR: SMPP[ENC]: I/O error or other 
error. Re-connecting.
2005-06-06 11:11:44 [17397] [7] ERROR: SMPP[ENC]: Couldn't connect to 
SMS center (retrying in 10 seconds).
2005-06-06 11:24:44 [17403] [3] INFO: smsbox: Got HTTP request 
 from <10.1.10.116>

2005-06-06 11:24:44 [17403] [3] INFO: sendsms used by 
2005-06-06 11:24:44 [17403] [3] INFO: sendsms sender: 
(10.1.10.116) to:<38970327924> msg:
2005-06-06 11:24:44 [17403] [3] INFO: smsbox: Got HTTP request 
 from <10.1.10.116>
2005-06-06 11:24:56 [17397] [7] ERROR: SMPP[ENC]: SMSC returned error 
code 0x00ff (Unknown Error) in response to submit_sm.
2005-06-06 11:24:56 [17404] [4] INFO: Starting delivery report  
from 
2005-06-06 11:24:59 [17397] [7] WARNING: DLR[internal]: DLR for 
DST not found.
2005-06-06 11:24:59 [17397] [7] ERROR: SMPP[ENC]: got DLR but could not 
find message or was not interestedin it ts<485140191> dst, 
type<1>


BUT, the messages are going in and out without any problem and without 
restart it is just that I cannot buiild decent delivery report :-(


If someone has any idea pls drop few lines here

thank you

Aleksandar