The bearerbox access log file show something like this when the allowed-sms-id line is removed

2005-08-09 16:08:32 Sent SMS [SMSC:88888] [SVC:tester] [ACT:] [BINF:] [from:88888] [to:2511363752] [flags:-1:0:-1:-1:-1] [msg:67:// SCKL15811581990202 0820C31121420427421021427421021427421021426C00] [udh:0:]

But when using the allowed-sms-id the bearerbox logs show this:
2005-08-09 15:58:29 [4453] [16] WARNING: Message rejected by bearerbox, no router! 2005-08-09 15:58:29 [4453] [16] WARNING: Cannot find SMSCConn for message to <2628999474>, rejected. 2005-08-09 15:58:29 [4453] [16] WARNING: Message rejected by bearerbox, no router! 2005-08-09 15:58:35 [4453] [16] WARNING: Cannot find SMSCConn for message to <2331210512>, rejected. 2005-08-09 15:58:35 [4453] [16] WARNING: Message rejected by bearerbox, no router! 2005-08-09 15:58:35 [4453] [16] WARNING: Cannot find SMSCConn for message to <2323009873>, rejected.


Could it be that kannel don't support numeric smsc-id ?

On Aug 9, 2005, at 2:17 PM, Rodrigo Cremaschi wrote:

Hi Nicolas,

    Insert allowed-smsc-id=88888 or 41414 or 21212. That should solve
your routing problems. Check the userguide for details and see below:

On 8/9/05, Nicolas de Bari Embriz Garcia Rojas <[EMAIL PROTECTED]> wrote:

Hi, this is my conf, hope you can help me with this issue.

regards.

------------------------

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
status-password = foo
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
log-file = "/var/log/kannel/bearebox/kannel.log"
log-level = 1
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
access-log = "/var/log/kannel/bearebox/access.log"
store-file = "/var/log/kannel/kannel.store"

group = smsc
smsc = smpp
smsc-id = 88888

allowed-smsc-id=88888

host = 200.34.53.4
our-host = 148.243.246.30
port = 8808
receive-port = 8808
smsc-username = xxxxxx
smsc-password = xxxxxx
system-type = NULL
address-range = ""
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 2
dest-addr-npi = 1
throughput = 3
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
status-password = foo
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
log-file = "/var/log/kannel/bearebox/kannel.log"
log-level = 1
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
access-log = "/var/log/kannel/bearebox/access.log"
store-file = "/var/log/kannel/kannel.store"

group = smsc
smsc = smpp
smsc-id = 41414

allowed-smsc-id=41414

host = 200.34.53.4
our-host = 148.243.246.30
port = 8808
receive-port = 8808
smsc-username = xxxxxx
smsc-password = xxxxxx
system-type = NULL
address-range = ""
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 2
dest-addr-npi = 1
throughput = 3

group = smsc
smsc = smpp
smsc-id = 21212

allowed-smsc-id=21212

host = 200.34.53.4
our-host = 148.243.246.30
port = 8808
receive-port = 8808
smsc-username = xxxxxx
smsc-password = xxxxxx
system-type = NULL
address-range = ""
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 2
dest-addr-npi = 1
throughput = 3

# SMSBOX SETUP


# SMSBOX SETUP

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
sendsms-chars = "0123456789 +-"
log-file = "/var/log/kannel/smsbox/smsbox.log"
log-level = 1
access-log = "/var/log/kannel/smsbox/access.log"

# SEND-SMS USERS

group = sendsms-user
username = tester
password = foobar
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1"
max-messages = 3
concatenation = true

# SERVICES
group = sms-service
keyword = default
get-url = http://127.0.0.1/dispatcher.php?from=%p&to=%P&body=%a
catch-all = true
max-messages= 0


---------------


On Aug 9, 2005, at 8:05 AM, Rodrigo Cremaschi wrote:


Hi Nicolas,
Are you replying to the messages using your own application? May we
see your configuration file?

    Using allowed-smsc-id is enough to let Kannel know how to route
outgoing (MT) messages.

Rodrigo.

On 8/8/05, Nicolas de Bari Embriz Garcia Rojas <[EMAIL PROTECTED]>
wrote:


Hi all, I have  configured kannel with various 'smsc' groups, each
group has is own sms-id, sms-username and sms-password, etc all the
messages arrive correctly to each group,  I have only one 'group =
sendsms-user', and when I send a SMS that comes in for example to
sms-
id = 3333 kannel sends out  the SSM using a random  sms-id=3333
connection.

I would like to know how con configure correctly kannel so when it
receives an SMS coming from an specific sms gorup (sms-id, the SMS
goes out by that SMS connection (sms-id) not with another one.


if message comes from 3333, send out the message using sms-id 3333
not sms-id XXXX where XXXX are all  the other smsc groups

Any idea on how to do this?

Regards.
















Reply via email to