Kannel statistics

2017-11-28 Thread Eugeniy Khvastunov
Hello, All!

I ask for advice/recommendations in the question of counting SMS traffic.
I have a connected bearerbox to several smpp upstreams, opensmppbox is
connected to bearerbox, and several smpp clients are connected to
opensmppbox.
How can I count the number of sms sent by the opensmppbox clients?

And one more question: how to limit the use of alphamens for clients?

-- 
wbr. Eugeniy Khvastunov,
   System administrator.
   [FMGH-UANIC]
 http://blog.unlimite.net


http sendsms + smsc

2017-01-19 Thread Eugeniy Khvastunov
Hello!
I am setup Kannel/1.4.4 under freebsd and trying to select SMSC by smsc
variable for cgi-bin sendsms, but kannel randomly select SMSC.
In my config I have two SMSC.
Plese help, what I miss?

Some conf:

group = smsc
smsc = smpp
smsc-id = SMSC1
system-type = ""
host = 1.1.1.1
port = 29900
source-addr-autodetect = yes
transceiver-mode = true
#receive-port = 29900
interface-version = 34
smsc-username = yyy
smsc-password = yyy
enquire-link-interval = 270
source-addr-ton = 1
source-addr-npi = 1
dest-addr-ton = 0
dest-addr-npi = 1
msg-id-type = 0x03
log-file = "/var/log/kannel/yyy.log"
log-level = 0

group = smsc
smsc = smpp
smsc-id = SMSC2
system-type = ""
host = 2.2.2.2
port = 20510
source-addr-autodetect = yes
transceiver-mode = true
#receive-port = 29900
interface-version = 34
smsc-username = xxx
smsc-password = xxx
enquire-link-interval = 60
source-addr-ton = 5
source-addr-npi = 0
dest-addr-ton = 1
dest-addr-npi = 1
msg-id-type = 0x03
log-file = "/var/log/kannel/xxx.log"
log-level = 0


-- 
wbr. Eugeniy Khvastunov,
   System administrator.
   [FMGH-UANIC]
 http://blog.unlimite.net