reducing logging verbosity to syslog

2016-06-02 Thread Stuart Kendrick
I would like to reduce logging verbosity.  When I run Kannel with console 
logging:
/usr/sbin/bearerbox -v 1 /etc/kannel/kannel.conf
I get the logging level I want.

But when I instruct kannel.conf to use syslog:
syslog-level = info
indeed, bearerbox and smsbox log to syslog ... but the verbosity level seems 
unaffected by what I type as the syslog severity level, i.e. 'emergency' to 
'info' to 'debug' all give me the same 'debug' level of messages.

I thought perhaps that setting 'log-level = 1' in kannel.conf would change 
this, but apparently not.

Kannel-1.4.4

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"



removing an SMS message from the send queue

2016-06-02 Thread Stuart Kendrick
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


Re: unsubscribe

2016-06-02 Thread Deins

hahahah Bobby!!
You will NEVER unsubscribe it

On 06/02/2016 12:31 AM, Bobby Richardson wrote:


unsubscribe