accessing the sendsms function returns "failed: Connection refused."
a telnet to the smsbox port has a similar response, which means no service is accessible on that port
allowing the port on the firewall still returns the same status
tail on the bearer box log shows:
INFO: ----------------------------------------
INFO: Kannel bearerbox II version 1.4.4 starting
INFO: MAIN: Start-up done, entering mainloop
INFO: AT2[xxxxxxxxxxx]: Logging in
INFO: AT2[xxxxxxxxxxx]: init device
INFO: AT2[xxxxxxxxxxx]: speed set to 115200
INFO: AT2[xxxxxxxxxxx]: Phase 2+ is supported
INFO: AT2[xxxxxxxxxxx]: AT SMSC successfully opened.
compared to a working installation, it's missing a "INFO: Client connected from <127 .0.0.1="">" message. hmmm... something is not running. looks like the smsbox is not starting by default.
modify /etc/defaults/kannel to enable smsbox
#START_WAPBOX=1
START_SMSBOX=1
restarting the service now shows:
INFO: ----------------------------------------
INFO: Kannel bearerbox II version 1.4.4 starting
INFO: MAIN: Start-up done, entering mainloop
INFO: AT2[xxxxxxxxxxx]: Logging in
INFO: AT2[xxxxxxxxxxx]: init device
INFO: AT2[xxxxxxxxxxx]: speed set to 115200
INFO: AT2[xxxxxxxxxxx]: Phase 2+ is supported
INFO: AT2[xxxxxxxxxxx]: AT SMSC successfully opened.
INFO: Client connected from <127 .0.0.1="">
a telnet test to the smsbox port connects!
sendsms works!</127></127>
Subscribe to:
Post Comments (Atom)
SSH : No matching host key type found. Their offer: ssh-rsa,ssh-dss
Got this while connecting to my mikrotik router via ssh Unable to negotiate with <ip address> port <ssh port>: no matching hos...
-
got: Warning: dl() [function.dl]: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_mapscript...
-
*thanks to eaperezh of zimbra forums for this fix ( src: http://www.zimbra.com/forums/administrators/44241-solved-solved-zimbra-6-0-1-stop-w...
-
getting NOQUEUE: reject: RCPT from unknown[x.x.x.x]: 554 5.7.1 : Relay access denied ? in your zimbra admin go to: server > mta >...
Good job noting this! Tried searching the net for an hour for the same issue. Kudos to you!
ReplyDelete"Sendsms failed: Connection webspacekit refused" on Ubuntu 18 with Kannel usually indicates that Kannel isn't running, or there's a firewall or port misconfiguration.
ReplyDeleteThis is such an inspiring read! Your insights really resonate and make me think differently. Thank you for sharing!
ReplyDelete