When I send an invalid mobile number to smsbox, it logs the following error
message:
2016-06-02T06:00:54.361419-07:00 guru smsbox[5157]: 2016-06-02 06:00:54 [5157]
[5] INFO: Starting to service <11121611611 Error Invalid Number. Please re-send
using a valid 10 digit mobile number or valid short code. No service specified>
from <+1121611611> to <1234>
And smsbox then repeats this message, apparently forever (well, at least ~10
minutes).
Question #1: I resolved this by stopping & restarting both bearerbox & smsbox.
Is there a less dramatic way to fix the issue?
Question #2: How do instruct smsbox to give up on an undeliverable message? I
thought that "sms-resend-retry = 5" would accomplish this, but apparently not.
Question #3: How would I delete this message from the queue? I tried the
following, but I received the message "Denied"
lynx -dump http://localhost:13000/remove-message?id=11121611611=x
kannel v1.4.4
CentOS 7
Multitech modem
cat /etc/kannel/kannel.conf
# Core config
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = secret
status-password = not-so-secret
syslog-level = info
smsbox-max-pending = 5
sms-resend-freq = 60
sms-resend-retry = 5
log-level = 1
include = /etc/kannel/modems.conf
# SMSC GSM
group = smsc
smsc = at
modemtype = auto
device = /dev/modem
validityperiod = 24
max-error-count = 5
# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = xxxyyy
log-level = 1
# SEND-SMS USERS
group = sendsms-user
username = foo
password = bar
# SMS SERVICE Default
# there should be default always
group = sms-service
keyword = default
text = "No service specified"
--sk