I could be something relating to the system-type, you have to ask or find
out with your provider what info you have to put there

Regard


On Fri, Feb 17, 2017 at 5:59 AM Rajesh Sharma <bron...@rajesharma.com>
wrote:

> Hi all,
>
> I installed kannel from the latest stable source. But for some reasons it
> is not being able to connect to the SMSC.
>
> I confirmed using telnet , that the connection to the host in given port
> is working fine.
>
> Here is the log:
>
>
> 2017-02-17 16:28:20 [11509] [6] ERROR: Error reading from fd 25:
> 2017-02-17 16:28:20 [11509] [6] ERROR: System error 104: Connection reset
> by peer
> 2017-02-17 16:28:20 [11509] [6] ERROR: SMPP[ntc]: Couldn't connect to SMS
> center (retrying in 10 seconds).
> 2017-02-17 16:28:51 [11509] [6] ERROR: Error reading from fd 25:
> 2017-02-17 16:28:51 [11509] [6] ERROR: System error 104: Connection reset
> by peer
> 2017-02-17 16:28:51 [11509] [6] ERROR: SMPP[ntc]: Couldn't connect to SMS
> center (retrying in 10 seconds).
> 2017-02-17 16:29:22 [11509] [6] ERROR: Error reading from fd 25:
> 2017-02-17 16:29:22 [11509] [6] ERROR: System error 104: Connection reset
> by peer
> 2017-02-17 16:29:22 [11509] [6] ERROR: SMPP[ntc]: Couldn't connect to SMS
> center (retrying in 10 seconds).
> 2017-02-17 16:30:04 [11509] [6] ERROR: Error reading from fd 25:
> 2017-02-17 16:30:04 [11509] [6] ERROR: System error 104: Connection reset
> by peer
> 2017-02-17 16:30:04 [11509] [6] ERROR: SMPP[ntc]: Couldn't connect to SMS
> center (retrying in 10 seconds).
> 2017-02-17 16:30:35 [11509] [6] ERROR: Error reading from fd 25:
> 2017-02-17 16:30:35 [11509] [6] ERROR: System error 104: Connection reset
> by peer
> 2017-02-17 16:30:35 [11509] [6] ERROR: SMPP[ntc]: Couldn't connect to SMS
> center (retrying in 10 seconds).
> 2017-02-17 16:31:06 [11509] [6] ERROR: Error reading from fd 25:
> 2017-02-17 16:31:06 [11509] [6] ERROR: System error 104: Connection reset
> by peer
> 2017-02-17 16:31:06 [11509] [6] ERROR: SMPP[ntc]: Couldn't connect to SMS
> center (retrying in 10 seconds).
>
>
> Here is my kannel confing
>
> # Default kannel configuration file
> group = core
> admin-port = 13000
> admin-password = changemenow
> status-password = changemetoo
> admin-deny-ip = "*.*.*.*"
> admin-allow-ip = "127.0.0.1"
> smsbox-port = 13001
> #wapbox-port = 13002
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1"
> wdp-interface-name = "*"
> log-file = "/var/log/kannel/bearerbox.log"
> log-level = 1
> dlr-storage = mysql
>
> # mysql for DLR
> group = mysql-connection
> id = vas_dlr
> host = localhost
> username = kannel
> password = gKu3tfxE7Eu2FYxR
> database = kannel_dlr_db
> max-connections = 2
>
> group = dlr-db
> id = vas_dlr
> 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
>
> # SMSC SMPP CLIENT information from you host, could be XichloMobile.com
> group = smsc
> smsc = smpp
> smsc-id = ntc
> allowed-smsc-id = ntc
> port = 5016
> host = 192.168.1.224
> transceiver-mode = 0
> system-type =
> smsc-username = foo
> smsc-password = bar
> source-addr-ton = 0
> source-addr-npi = 0
> dest-addr-ton = 0
> dest-addr-npi = 0
> keepalive = 600
>
> # SMSBOX SETUP
> #
> # Smsbox(es) do higher-level SMS handling after they have been received
> from
> # SMS centers by bearerbox, or before they are given to bearerbox for
> delivery
> group = smsbox
> bearerbox-host = 127.0.0.1
> sendsms-port = 13004
> global-sender =
> log-file = "/var/log/kannel/smsbox.log"
> log-level = 1
> smsbox-id = smsbox
>
>
> # required for DLR routing
> group = smsbox-route
> smsbox-id = smsbox
> smsc-id = "ntc"
>
> # SEND-SMS USERS
> #
> # These users are used when Kannel smsbox sendsms interface is used to
> # send PUSH sms messages, i.e. calling URL like
> #
> http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar.
> ..
> group = sendsms-user
> username = user
> password = foobar
> concatenation = true
> max-messages = 10000
>
>
> Telnet to the host on port 5016 is working fine
>
> --
> * Regards,*
> *Rajesh Sharma*
>
> About.me <http://about.me/broncha>
> Twitter <http://twitter.com/broncha>
> LinkedIn <http://np.linkedin.com/in/rajesharma>
> cell : +977-9801079789
>

Reply via email to