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'],
|
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"
|
#box-allow-ip = "127.0.0.1"
|
||||||
#sms-resend-retry = 2
|
#sms-resend-retry = 2
|
||||||
|
|
||||||
|
|
||||||
# SMSC SMPP
|
# SMSC SMPP
|
||||||
group = smsc
|
group = smsc
|
||||||
smsc = smpp
|
smsc = smpp
|
||||||
|
@ -20,18 +21,20 @@ port = 2775
|
||||||
interface-version=34
|
interface-version=34
|
||||||
alt-charset = ISO-8859-1
|
alt-charset = ISO-8859-1
|
||||||
enquire-link-interval = 10
|
enquire-link-interval = 10
|
||||||
connection-timeout = 10
|
|
||||||
reconnect-delay = 10
|
|
||||||
connect-allow-ip = 127.0.0.1
|
connect-allow-ip = 127.0.0.1
|
||||||
transceiver-mode = true
|
transceiver-mode = true
|
||||||
smsc-username = OSMPP
|
smsc-username = OSMPP
|
||||||
smsc-password = <%= @smsc_password %>
|
smsc-password = <%= @smsc_password %>
|
||||||
system-type = kannel
|
system-type = kannel
|
||||||
|
connection-timeout = 10
|
||||||
|
reconnect-delay = 10
|
||||||
|
|
||||||
|
|
||||||
group = smsbox-route
|
group = smsbox-route
|
||||||
smsbox-id = mysm
|
smsbox-id = mysm
|
||||||
smsc-id = KSMPP
|
smsc-id = KSMPP
|
||||||
|
|
||||||
|
|
||||||
# receive SMS
|
# receive SMS
|
||||||
group = sms-service
|
group = sms-service
|
||||||
#keyword =
|
#keyword =
|
||||||
|
@ -40,6 +43,7 @@ catch-all = yes
|
||||||
max-messages = 0
|
max-messages = 0
|
||||||
post-url = "http://localhost:8085/sms?source=%p&destination=%P&charset=%C&coding=%c&text=%a"
|
post-url = "http://localhost:8085/sms?source=%p&destination=%P&charset=%C&coding=%c&text=%a"
|
||||||
|
|
||||||
|
|
||||||
# send to web cgi
|
# send to web cgi
|
||||||
group = sendsms-user
|
group = sendsms-user
|
||||||
default-smsc = KSMPP
|
default-smsc = KSMPP
|
||||||
|
@ -48,6 +52,7 @@ password = <%= @kannel_sendsms_password %>
|
||||||
concatenation = true
|
concatenation = true
|
||||||
max-messages = 3
|
max-messages = 3
|
||||||
|
|
||||||
|
|
||||||
# SMSBOX SETUP
|
# SMSBOX SETUP
|
||||||
group = smsbox
|
group = smsbox
|
||||||
#smsbox-port = 14001
|
#smsbox-port = 14001
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue