Try the option allowed-prefix in group = sms-service.
See the user manual.

 

== Rene

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Vida Luz Arista
Sent: Monday, 08 August, 2011 18:38
To: users@kannel.org
Subject: Fwd: how to work witn shortcode

 

Hello everyone

Currently I have a SMS with Kannel gateway, is connected to a phone, I have
a short assigned two numbers, depending on the message that comes is
reallizara response, everything works fine, but the problem is that the next
mensae short number one and always responds short of the numbers and I guess
it's because global-sender is one of the numbers asginado short.

as I can make dynamic response and that sent in short number depdnidencia of
shipping, I send the configuration of Kannel.

Would appreciate your suggestions


## The core Group
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
log-file = "/var/log/kannel/bearerbox.log"
log-level = 0
access-log = "/var/log/kannel/access.log"
#log-file = "/tmp/kannel.log"
log-level = 1
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"

## Setting SMPP
group = smsc
smsc = smpp
host = x.x.x.x
port = 5022
smsc-id = "xxxxx"
#allowed-smsc-id = xxxxx"
##system-type = "transceiver"
system-type = ""
smsc-username = "xxxxx"
smsc-password = "yyyyy"
connect-allow-ip = 127.0.0.1
#transceiver-mode = true
interface-version = 34
source-addr-ton = 4
source-addr-npi = 9
dest-addr-ton = 1
dest-addr-npi = 1
bind-addr-ton = 1
bind-addr-npi = 1
address-range = ""
enquire-link-interval = 30
max-pending-submits = 5
reconnect-delay = 30

##The smsbox Group
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = 1107
log-file = "/var/log/kannel/smsbox.log"
log-level = 1


##The Sendsms Group
group = sendsms-user
username = kanneluser
password = foo
concatenation= true
max-messages = 10
get-url = "http://10.0.0.17:8005/SMS/Receiver.aspx?username=movcreapp
<http://10.0.0.17:8005/SMS/Receiver.aspx?username=movcreapp&password=XXXX&or
igin=%25p&sender=%25P&message=%25a>
&password=XXXX&origin=%p&sender=%P&message=%a"

 

Reply via email to