Question about routing

Oscar Medina Duarte <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hello !

I'm not getting what I want I don't know what is missing, I have 5 smsc
connections, configured that bound correctly, and only one smsbox that
gets all the messages, and that is working fine. The problem is that
outbound messages are not sent, with the message :

...
2004-08-26 13:11:59 [9373] [2] DEBUG: HTTP: Creating HTTPClient for `<an
IP>'.
2004-08-26 13:11:59 [9373] [3] DEBUG: HTTP: Resetting HTTPClient for
`<an IP>'.
2004-08-26 13:12:44 [9373] [4] WARNING: smsbox_list empty!
2004-08-26 13:12:44 [9373] [4] WARNING: smsbox_list empty!
2004-08-26 13:12:50 [9373] [3] DEBUG: HTTP: Resetting HTTPClient for
`<an IP>'.
2004-08-26 13:13:38 [9373] [12] DEBUG: boxc_receiver: sms received
2004-08-26 13:13:38 [9373] [12] WARNING: Cannot find SMSCConn for
message to <a telephone>, rejected.
2004-08-26 13:13:38 [9373] [12] WARNING: Message rejected by bearerbox,
no router!
2004-08-26 13:13:38 [9373] [12] DEBUG: send_msg: sending msg to boxc:
<smsbox_01>
2004-08-26 13:13:44 [9373] [4] WARNING: smsbox_list empty!
2004-08-26 13:13:44 [9373] [4] WARNING: smsbox_list empty!
...

at the bearerbox, as you can see, I'm using sendsms to out bind
messages, but that is not working.

NOTE: The data included within "<" and ">" is data that depending on its
context may be an IP, password, phone number, etc...

Thanks !!

== Oscar
bearerbox.conf.to_list (text/plain, 2.7 KB)
######################################
###    bearerbox.conf  ###############
###  Author: Oscar Medina ############
######################################


###########################
########    Core     ######
###########################

group = core
admin-port = <some_data>
admin-password = <some_data>
status-password = <some_data>
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1;<some_IP>"
smsbox-port = <some_port>
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1;<some_IP>"
log-level = 0
log-file = "logs/bearerbox.log"
access-log = "logs/bearerbox.access"



########################################
#####       SMSC's     #################
########################################


############################
## SMSC:     test         ##
## Number:   <some_data>  ##
## smscID:   <some_data>  ##
############################

group = smsc
smsc = smpp
smsc-id = <smsc_1>
denied-smsc-id = "<smsc_2>;<smsc_3>;<smsc_4>;<smsc_5>"
allowed-smsc-id = <smsc_1>
preferred-smsc-id = <smsc_1>
host = <some_IP>
#host = localhost
port = <some_port>
transceiver-mode = true
smsc-username = <some_data>
smsc-password = <some_data>
system-type = VMA
interface-version = 0x34
enquire-link-interval = 60
max-pending-submits = 10
reconnect-delay = 30
source-addr-ton = 0
source-addr-npi = 1
source-addr-autodetect = true
dest-addr-ton = 2
dest-addr-npi = 1
log-level = 0
log-file = "logs/smsc_TelcelTest.log"

... plus other 4 smsc's with the same kind of config,
    from with the corresponding smscID... 


######################################
###    smsbox.conf    ################
###  Author: Oscar Medina ############
######################################


###############################
####   smsbox   ###############
###############################

group = smsbox
smsbox-id = smsbox_01
bearerbox-host = localhost
sendsms-port = <some_port>
global-sender = <some_number>
reply-couldnotfetch = "Message 1"
reply-couldnotrepresent = "Message 2"
reply-requestfailed = "Message 3"
reply-emptymessage = "Message 4"
log-level = 0
log-file = "logs/smsbox.log"
access-log = "logs/smsbox.access"


#######################
###   Users   #########
#######################

group = sendsms-user
username = <some_user>
password = <some_passwd>


###############################
####     sms services  ########
###############################

##############
## Default  ##
##############

group = sms-service
keyword = default
post-url = "http://<some_server>:8080/<some_script>/?from=%p&to=%P&a=%a&gw=%i&id=%I"
send-sender = true
max-messages = 0

###############################
#####    smsbox routing #######
###############################

group = smsbox-route
smsbox-id = "smsbox_01"
shortcuts = "<Some_number1>;<Some_number2>;<Some_number3>;<Some_number4>;<Some_number5>"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.