Alvaro,

He doesn't use ssl in his connection, and sends a clear bind_transmitter PDU. His provider, who expects an encrypted package doesn't recognize it and drops his connection. It is Kiran's fault.

BR,
Nikos
----- Original Message ----- From: "Alvaro Cornejo" <[email protected]>
To: "Nikos Balkanas" <[email protected]>
Cc: "Kiran Reddy" <[email protected]>; <[email protected]>
Sent: Wednesday, May 12, 2010 9:37 PM
Subject: Re: System error 104: Connection reset by peer


Hi

You should talk to your provider. They are dropping the connection,
not kannel. They should know why are they dropping it.


|-----------------------------------------------------------------------------------------------------------------|
Envνe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perϊ, Mιxico y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
             Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com



2010/5/12 Nikos Balkanas <[email protected]>:
Hi,

I hope this is the last time. Read about use-ssl in group smsc in User's
Guide.

Nikos

----- Original Message -----
From: Kiran Reddy
To: [email protected]
Sent: Wednesday, May 12, 2010 6:37 PM
Subject: System error 104: Connection reset by peer
Hi All,

I am getting below error while connecting to SMSC. Please find below error
log and configuration.

please help me. Thanks in advance


Configuration

group = core
admin-port = 13000
admin-password = hard2guess
smsbox-port = 13001
log-file = "/var/log/kannel/bearerbox.log"
log-level = 0
admin-port-ssl = true
smsbox-port-ssl = true
ssl-server-cert-file = /etc/kannel/public.pem
ssl-server-key-file = /etc/kannel/private.pem

group = smsc
smsc = smpp
smsc-id = xxxxx
host = xx.xx.xx.xx
port = xxxx
source-addr-autodetect = yes
#tranceiver-mode = 1
dest-addr-ton = 1
source-addr-ton= 5
smsc-username = xxxxx
smsc-password = xxxxx1
system-type = "NULL"
#address-range = ""
#alt-charset = 1
#enquire-link-interval = 300
keepalive = 2
log-file = "/var/log/kannel/xxxxx.log"
log-level = 0
#receive-port = 0

group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = "59898"
log-file = /var/log/kannel/smsbox.log
log-level = 0
mo-recode = true
bearerbox-port-ssl = true
sendsms-port-ssl =true


group = sendsms-user
username = kannel
password = hard2guess
concatenation = true
max-messages = 3

Erro log
2010-05-12 21:00:42 [6711] [6] DEBUG: SMPP[xxxxx]: Sending PDU:
2010-05-12 21:00:42 [6711] [6] DEBUG: SMPP PDU 0x1822020 dump:
2010-05-12 21:00:42 [6711] [6] DEBUG: type_name: bind_transmitter
2010-05-12 21:00:42 [6711] [6] DEBUG: command_id: 2 = 0x00000002
2010-05-12 21:00:42 [6711] [6] DEBUG: command_status: 0 = 0x00000000
2010-05-12 21:00:42 [6711] [6] DEBUG: sequence_number: 36 = 0x00000024
2010-05-12 21:00:42 [6711] [6] DEBUG: system_id: "xxxxx"
2010-05-12 21:00:42 [6711] [6] DEBUG: password: "xxxxx1"
2010-05-12 21:00:42 [6711] [6] DEBUG: system_type: "NULL"
2010-05-12 21:00:42 [6711] [6] DEBUG: interface_version: 52 = 0x00000034
2010-05-12 21:00:42 [6711] [6] DEBUG: addr_ton: 0 = 0x00000000
2010-05-12 21:00:42 [6711] [6] DEBUG: addr_npi: 0 = 0x00000000
2010-05-12 21:00:42 [6711] [6] DEBUG: address_range: NULL
2010-05-12 21:00:42 [6711] [6] DEBUG: SMPP PDU dump ends.
2010-05-12 21:00:42 [6711] [6] ERROR: Error reading from fd 29:
2010-05-12 21:00:42 [6711] [6] ERROR: System error 104: Connection reset by
peer
2010-05-12 21:00:42 [6711] [6] ERROR: SMPP[xxxxx]: Couldn't connect to SMS
center (retrying in 10 seconds).



Regards,
------------
Kiran Reddy



Reply via email to