Hello, @anton, How are you?
Thanks for develop a useful application for SMS playSMS. I am facing a problem with connecting my GSM device with Kannel getaway for playSMS. I bought a device from Ejointech device and now. In my device, I have created an SMPP account and now I am not able to connect my device SMPP with Kannel. Can you please help me to fix this? My device has no firewall.
I am getting this error log in Kannel log:
2021-04-27 09:41:08 [974] [8] DEBUG: Thread 8 (gw/smsc/smsc_smpp.c:io_thread) maps to pid 974.
2021-04-27 09:41:08 [974] [8] DEBUG: Connecting to <x.x.x.x>
2021-04-27 09:41:09 [974] [5] INFO: Client connected from <127.0.0.1>
2021-04-27 09:41:09 [974] [5] DEBUG: Started thread 10 (gw/bb_boxc.c:function)
2021-04-27 09:41:09 [974] [10] DEBUG: Thread 10 (gw/bb_boxc.c:function) maps to pid 974.
2021-04-27 09:41:09 [974] [10] DEBUG: Started thread 11 (gw/bb_boxc.c:boxc_sender)
2021-04-27 09:41:09 [974] [10] DEBUG: boxc_receiver: got boxc_id <smsbox1> from <127.0.0.1>
2021-04-27 09:41:09 [974] [11] DEBUG: Thread 11 (gw/bb_boxc.c:boxc_sender) maps to pid 974.
2021-04-27 09:43:17 [974] [8] ERROR: connect to <x.x.x.x> failed
2021-04-27 09:43:17 [974] [8] ERROR: System error 110: Connection timed out
2021-04-27 09:43:17 [974] [8] ERROR: error connecting to server `x.x.x.x' at port `2775'
2021-04-27 09:43:17 [974] [8] ERROR: SMPP[smpp3]: Couldn't connect to server.
2021-04-27 09:43:17 [974] [8] ERROR: SMPP[smpp3]: Couldn't connect to SMS center (retrying in 10 seconds).
2021-04-27 09:43:27 [974] [8] DEBUG: Connecting to <x.x.x.x>
Thanks, @anton for the fast reply. I was asked Ejointech they say we have no firewall on the device. I am trying to connect it but no luck. Okay, I will ask further if I can fix the connection error.
Thanks again
root@finaldev:~# telnet my_Device_IP 1221
Trying my_Device_IP...
Connected to my_Device_IP.
Escape character is '^]'.
^C^CConnection closed by foreign host.
HI, @anton, I have fixed the connection problem. I have added SMPP to Kannel and Kannel added to playSMS. Can I know how to send an SMS to my phone number? I try to send an SMS but not able to receive it.
Regards