Kannel fixes.
This commit is contained in:
parent
adf5e97c28
commit
2be0854283
2 changed files with 7 additions and 7 deletions
|
@ -31,9 +31,4 @@ class kannel (
|
|||
notify => Service['kannel'],
|
||||
}
|
||||
|
||||
service { 'kannel':
|
||||
ensure => running,
|
||||
enable => true,
|
||||
require => Package['kannel'],
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,6 +10,7 @@ smsbox-port = 14001
|
|||
#box-allow-ip = "127.0.0.1"
|
||||
#sms-resend-retry = 2
|
||||
|
||||
|
||||
# SMSC SMPP
|
||||
group = smsc
|
||||
smsc = smpp
|
||||
|
@ -20,18 +21,20 @@ port = 2775
|
|||
interface-version=34
|
||||
alt-charset = ISO-8859-1
|
||||
enquire-link-interval = 10
|
||||
connection-timeout = 10
|
||||
reconnect-delay = 10
|
||||
connect-allow-ip = 127.0.0.1
|
||||
transceiver-mode = true
|
||||
smsc-username = OSMPP
|
||||
smsc-password = <%= @smsc_password %>
|
||||
system-type = kannel
|
||||
connection-timeout = 10
|
||||
reconnect-delay = 10
|
||||
|
||||
|
||||
group = smsbox-route
|
||||
smsbox-id = mysm
|
||||
smsc-id = KSMPP
|
||||
|
||||
|
||||
# receive SMS
|
||||
group = sms-service
|
||||
#keyword =
|
||||
|
@ -40,6 +43,7 @@ catch-all = yes
|
|||
max-messages = 0
|
||||
post-url = "http://localhost:8085/sms?source=%p&destination=%P&charset=%C&coding=%c&text=%a"
|
||||
|
||||
|
||||
# send to web cgi
|
||||
group = sendsms-user
|
||||
default-smsc = KSMPP
|
||||
|
@ -48,6 +52,7 @@ password = <%= @kannel_sendsms_password %>
|
|||
concatenation = true
|
||||
max-messages = 3
|
||||
|
||||
|
||||
# SMSBOX SETUP
|
||||
group = smsbox
|
||||
#smsbox-port = 14001
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue